[Fw] Add sdcard driver.

This commit is contained in:
稚晖 2021-01-17 21:47:08 +08:00
parent e9f1fd4aec
commit 829c5ecd0a
3 changed files with 19 additions and 4 deletions

View File

@ -9,9 +9,6 @@ IMU mpu;
Pixel rgb;
Ambient ambLight;
void setup()
{
Serial.begin(115200);

View File

@ -5,6 +5,8 @@ VisualStudioVersion = 16.0.30225.117
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "HoloCubic_fw", "HoloCubic_fw.vcxproj", "{25A27E44-D676-445B-87FB-AD9830B60FEA}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SD_Test", "S:\DataCenter\WorkSpace\Arduino\My Examples\SD_Test\SD_Test.vcxproj", "{C5F80730-F44F-4478-BDAE-6634EFC2CA88}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x86 = Debug|x86
@ -15,6 +17,10 @@ Global
{25A27E44-D676-445B-87FB-AD9830B60FEA}.Debug|x86.Build.0 = Debug|Win32
{25A27E44-D676-445B-87FB-AD9830B60FEA}.Release|x86.ActiveCfg = Release|Win32
{25A27E44-D676-445B-87FB-AD9830B60FEA}.Release|x86.Build.0 = Release|Win32
{C5F80730-F44F-4478-BDAE-6634EFC2CA88}.Debug|x86.ActiveCfg = Debug|Win32
{C5F80730-F44F-4478-BDAE-6634EFC2CA88}.Debug|x86.Build.0 = Debug|Win32
{C5F80730-F44F-4478-BDAE-6634EFC2CA88}.Release|x86.ActiveCfg = Release|Win32
{C5F80730-F44F-4478-BDAE-6634EFC2CA88}.Release|x86.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE

View File

@ -1,2 +1,14 @@
# HoloCubic
透明小电视
D:\Green\Arduino\arduino-1.8.7\portable\packages\esp32\hardware\esp32\1.0.4\libraries\SPI\src\SPI.cpp
if(sck == -1 && miso == -1 && mosi == -1 && ss == -1) {
_sck = (_spi_num == VSPI) ? SCK : 14;
_miso = (_spi_num == VSPI) ? MISO : 12;
_mosi = (_spi_num == VSPI) ? MOSI : 13;
_ss = (_spi_num == VSPI) ? SS : 15;
MISO改成26