This must be the stupidest question in the forum.
I can flash a program both OTA and over USB. Here are the commands and responses:
-------------------------------
C:\Dev Projects\Particle> particle flash --serial blinky.ino
! PROTIP: Hold the SETUP button on your device until it blinks blue!
? Press ENTER when your device is blinking BLUE
sending file: blinky.ino
Flash success!
-------------------------------
C:\Dev Projects\Particle> particle flash Sky-Electron-1 "firmware 3sec.bin"
Including:
firmware 3sec.bin
! Flashing firmware Over The Air (OTA) uses cellular data, which may cause you to incur usage charges.
! This flash is estimated to use at least 0.107 MB, but may use more depending on network conditions.
! Please type 0.107 below to confirm you wish to proceed with the OTA flash.
! Any other input will cancel.
? Confirm the amount of data usage in MB: 0.107
attempting to flash firmware to your device Sky-Electron-1
Flash device OK: Update started
-------------------------------
After the flashing nothing happens!!! I assume there must be a way to run the program that I just flashed. Is there a command or procedure to execute the program?
By the way, the led connected to D6 can be switched on and off manually by sending the digitalwrite command. So the hardware is working. For example:
C:\Dev Projects\Particle> particle call Sky-Electron-1 digitalwrite D6,HIGH
1
…\Dev Projects\Particle> particle call Sky-Electron-1 digitalwrite D6,LOW
1
Hope just by learning this one simple trivial step will open the new universe for me.
I could not get this step in any of the reference documents.
Thanks
Sky Basu