ParticleAnalyzer is not necessary but highly recommended to keep track of the Particle network traffic.

Ready ;-)

Usage

The best way to get started is to have a look at this small example ParticleBasic program. The Syntax is very similar to VisualBasic. The compiler understands
For and While loops and If Then Else statements. Comments start with a single quote ‘ and end at the next line break.

Compilation: The syntax is “pbcompiler.bat filename.bas”. After a successful run a file named “filename.bin” is created. If you don’t use the script you can invoke the compiler with the command “java -jar pbcompiler.jar filename.bas”.

Upload: The syntax is “send filename.bin particleId”. Filename.bin is the file created by the ParticleBasic compiler, particleId identifies the Particle you want to program, an example Id looks like 10.0.1.0.129.13.170.14. If you don’t know the ID of the Particle you can use the ParticleAnalyzer to search for Particles. If you don’t use the given script you can start the upload utility with the ommand “java -jar send.jar filename.bin particleId”. After a successful upload the VM should load the received code into its memory and execute it. As the byte code is stored in the flash memory it is preserved during reboots of the Particle Computer.