pyr0ball / pyr0piezo

An AVR/ARM based piezoelectric sensor for use in ultra-precise applications
https://docs.pyroballpcbs.com/
Other
71 stars 23 forks source link

PP_VERSION not defined #73

Closed stmcculloch closed 4 years ago

stmcculloch commented 4 years ago

Firmware only compiles in the arduino IDE when I add:

#define PP_VERSION 230`

at the top of "Pyr0_Piezo_Sensor_v2.x.x.cpp" and "pP_i2C.cpp"

pyr0ball commented 4 years ago

This tends to happen when compiling using Arduino IDE or other methods than PlatformIO, or if the user doesn't have python installed and available via the system PATH

There should be an #ifndef field to handle this cleanly

pyr0ball commented 4 years ago

Fixed in 4c7ab3e