![]() ![]() In fact, I also tried the example as it is. It should blink the light and print the message on the serial monitor. I have tried to implement a tweaked version of the basic example ( SoftwareSerial example) from the Software Serial library. Still, the same project built with the Arduino IDE seems to work I’ll investigate some more and report back. 1 I am using an Arduino Uno board with IDE 1.6.7. Thanks for the responses - I did doubt that it was a software issue, so it’s good to hear that you have working implementations. In general, have others seen issues in using PlatformIO with the Arduino standard libraries? Potentially related - other “standard” Arduino functions also seem to have issues when used from PlatformIO - notably, the Serial library is also non-functional on my end, but again works fine when built from the Arduino IDE. I’m not sure that this is PlatformIO’s fault, so I’d like to hear if anyone can reproduce the issue can you use the Wire libraries (from Arduino 1.6.7, the latest) with PlatformIO successfully on an 8-bit AVR (ATmega328P or equivalent)? ![]() However, the exact same code built with the Arduino IDE works just fine. I would just use the avr-libc IO routines, but want to leverage Jeff Rowberg’s I2CDev libraries which require use of the Arduino Wire API.Įssentially, whenever I build a project using Wire with PlatformIO, the Wire libraries fail to function as expected - after some debug, I’ve found the PlatformIO-built version to hang consistently on the endTransmission() function. I’m experiencing a hard-to-trace issue with the Arduino Wire library (essentially, the I2C support functions) on the ATmega328P. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |