ADS1115 wórking in prototype mode

This commit is contained in:
Hakan Bastedt
2025-02-13 20:13:38 +01:00
parent e7872db6aa
commit d115eca125
3 changed files with 7 additions and 3 deletions

View File

@@ -12,6 +12,7 @@
"Z:/src/MyOwnEtherCATDevice/Cards/EaserCAT-7000-DIO+THCAD+I2C/Firmware/src", "Z:/src/MyOwnEtherCATDevice/Cards/EaserCAT-7000-DIO+THCAD+I2C/Firmware/src",
"Z:/src/MyOwnEtherCATDevice/Cards/EaserCAT-7000-DIO+THCAD+I2C/Firmware/lib/soes-esi", "Z:/src/MyOwnEtherCATDevice/Cards/EaserCAT-7000-DIO+THCAD+I2C/Firmware/lib/soes-esi",
"Z:/src/MyOwnEtherCATDevice/Cards/EaserCAT-7000-DIO+THCAD+I2C/Firmware/lib/soes", "Z:/src/MyOwnEtherCATDevice/Cards/EaserCAT-7000-DIO+THCAD+I2C/Firmware/lib/soes",
"Z:/src/MyOwnEtherCATDevice/Cards/EaserCAT-7000-DIO+THCAD+I2C/Firmware/.pio/libdeps/genericSTM32F407VGT6/MCP3X21",
"Z:/src/MyOwnEtherCATDevice/Cards/EaserCAT-7000-DIO+THCAD+I2C/Firmware/.pio/libdeps/genericSTM32F407VGT6/ADS1X15", "Z:/src/MyOwnEtherCATDevice/Cards/EaserCAT-7000-DIO+THCAD+I2C/Firmware/.pio/libdeps/genericSTM32F407VGT6/ADS1X15",
"C:/Users/Hakan/.platformio/packages/framework-arduinoststm32/libraries/Wire/src", "C:/Users/Hakan/.platformio/packages/framework-arduinoststm32/libraries/Wire/src",
"C:/Users/Hakan/.platformio/packages/framework-arduinoststm32/libraries/SPI/src", "C:/Users/Hakan/.platformio/packages/framework-arduinoststm32/libraries/SPI/src",
@@ -59,6 +60,7 @@
"Z:/src/MyOwnEtherCATDevice/Cards/EaserCAT-7000-DIO+THCAD+I2C/Firmware/src", "Z:/src/MyOwnEtherCATDevice/Cards/EaserCAT-7000-DIO+THCAD+I2C/Firmware/src",
"Z:/src/MyOwnEtherCATDevice/Cards/EaserCAT-7000-DIO+THCAD+I2C/Firmware/lib/soes-esi", "Z:/src/MyOwnEtherCATDevice/Cards/EaserCAT-7000-DIO+THCAD+I2C/Firmware/lib/soes-esi",
"Z:/src/MyOwnEtherCATDevice/Cards/EaserCAT-7000-DIO+THCAD+I2C/Firmware/lib/soes", "Z:/src/MyOwnEtherCATDevice/Cards/EaserCAT-7000-DIO+THCAD+I2C/Firmware/lib/soes",
"Z:/src/MyOwnEtherCATDevice/Cards/EaserCAT-7000-DIO+THCAD+I2C/Firmware/.pio/libdeps/genericSTM32F407VGT6/MCP3X21",
"Z:/src/MyOwnEtherCATDevice/Cards/EaserCAT-7000-DIO+THCAD+I2C/Firmware/.pio/libdeps/genericSTM32F407VGT6/ADS1X15", "Z:/src/MyOwnEtherCATDevice/Cards/EaserCAT-7000-DIO+THCAD+I2C/Firmware/.pio/libdeps/genericSTM32F407VGT6/ADS1X15",
"C:/Users/Hakan/.platformio/packages/framework-arduinoststm32/libraries/Wire/src", "C:/Users/Hakan/.platformio/packages/framework-arduinoststm32/libraries/Wire/src",
"C:/Users/Hakan/.platformio/packages/framework-arduinoststm32/libraries/SPI/src", "C:/Users/Hakan/.platformio/packages/framework-arduinoststm32/libraries/SPI/src",
@@ -101,10 +103,10 @@
] ]
}, },
"defines": [ "defines": [
"PLATFORMIO=60116", "PLATFORMIO=60117",
"STM32F407xx", "STM32F407xx",
"STM32F4", "STM32F4",
"ECAT", "NOECAT",
"STM32F4xx", "STM32F4xx",
"ARDUINO=10808", "ARDUINO=10808",
"ARDUINO_ARCH_STM32", "ARDUINO_ARCH_STM32",

View File

@@ -18,7 +18,8 @@ debug_build_flags = -O0 -g -ggdb
monitor_port = COM15 monitor_port = COM15
monitor_filters = send_on_enter, time, colorize, log2file monitor_filters = send_on_enter, time, colorize, log2file
monitor_speed = 115200 monitor_speed = 115200
build_flags = -Wl,--no-warn-rwx-segment -DECAT build_flags = -Wl,--no-warn-rwx-segment -DNOECAT
lib_deps = lib_deps =
SPI SPI
robtillaart/ADS1X15@^0.5.1 robtillaart/ADS1X15@^0.5.1
pilotak/MCP3X21@^1.0.1

View File

@@ -204,3 +204,4 @@ uint16_t dc_checker(void)
ESCvar.dcsync = 1; ESCvar.dcsync = 1;
return 0; return 0;
} }