diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json new file mode 100644 index 0000000..983d25e --- /dev/null +++ b/.vscode/c_cpp_properties.json @@ -0,0 +1,16 @@ +{ + "configurations": [ + { + "name": "Linux", + "includePath": [ + "${workspaceFolder}/**" + ], + "defines": [], + "compilerPath": "/usr/bin/gcc", + "cStandard": "gnu17", + "cppStandard": "c++17", + "intelliSenseMode": "linux-gcc-x64" + } + ], + "version": 4 +} \ No newline at end of file diff --git a/ESP32/boot.py b/ESP32/boot.py index b60f973..fec8f3f 100644 --- a/ESP32/boot.py +++ b/ESP32/boot.py @@ -6,4 +6,4 @@ import gc gc.collect() #import connectwifi -#import webserver +#import webserver \ No newline at end of file diff --git a/ESP32/main.py b/ESP32/main.py index d58bd47..10624ed 100644 --- a/ESP32/main.py +++ b/ESP32/main.py @@ -36,7 +36,7 @@ def main() -> None: if can.reset() != ERROR.ERROR_OK: print("Can not reset for MCP2515") return - if can.setBitrate(CAN_SPEED.CAN_250KBPS, CAN_CLOCK.MCP_8MHZ) != ERROR.ERROR_OK: + if can.setBitrate(CAN_SPEED.CAN_5KBPS, CAN_CLOCK.MCP_16MHZ) != ERROR.ERROR_OK: print("Can not set bitrate for MCP2515") return if can.setNormalMode() != ERROR.ERROR_OK: diff --git a/Images/SPI_ESP8266_ESP32_600x600.webp b/Images/SPI_ESP8266_ESP32_600x600.webp new file mode 100644 index 0000000..582d578 Binary files /dev/null and b/Images/SPI_ESP8266_ESP32_600x600.webp differ