This is the firmware running on the photon to control the Magic Smoke board and light up the sky.
This is how you build and flash the magicsmoke application:
- First, make sure the server IP and wifi credentials are correct in the source. (user/applications/magicsmoke/application.cpp).
- Change the firmwareVersion string in the code if necessary.
- Also, make sure you have an external antenna connected when running this app, or change the setting, because we don't want to blow up the wifi chip.
- Connect the photon via USB, put it in dfu mode (hold setup, hit reset, continue holding setup until yellow blinkies)
cd main
make PLATFORM=photon APP=magicsmoke program-dfu
- After flashing, the photon will reset and be running the magic smoke application :D