The Arduino IDE doesn’t do much with serial data returned from the board, other than display it on the serial console. Python provides a platform independent way to listen to your Arduino and draw graphs of analog data, or whatever you want. The code below provides a stripchart display based on the assumption that lines of
millis(), A0, A1, A2, A3, A4, A5
format are coming back from the Arduino on the serial port. It’s hardcoded with port and speed, but easy to edit. I think the indents are OK, but this blog platform strips out the tabs on pasting…
Each Friday is PiDay here at Adafruit! Be sure to check out our posts, tutorials and new Raspberry Pi related products. Adafruit has the largest and best selection of Raspberry Pi accessories and all the code & tutorials to get you up and running in no time!
Join us every Wednesday night at 8pm ET for Ask an Engineer!
Maker Business — How Authority and Decision-Making Differ Across Cultures
Wearables — Brightness know-how
Electronics — Tactile Confusion?
Biohacking — Eight Health Leaders Explain How The Medical Industry Could Be Changed
No comments yet.
Sorry, the comment form is closed at this time.