BucknellSustainability / Flower

Show case of sustainability efforts at Bucknell
MIT License
3 stars 2 forks source link

Send code to arduino #370

Closed Phlosioneer closed 6 years ago

Phlosioneer commented 6 years ago

Code from the pi to the arduino is working I also added typechecking everywhere to catch bugs faster.

I scrapped my old threading model for downloading files, and went with a simpler one where only one file can be downloaded at a time.

Currently, the file that is sent to the arduino is hardcoded. The pi can look at the codeupload table, figure out if a connected arduino needs code uploaded, etc. However, I'm having a lot of trouble getting python to download webpages, which is how it will download the hex file for the arduino.