THE PARTICLE COMPUTER DOCU
                    (program particle +serial connector)                   

 

The most important thing for the start is: never try to connect a particle and a spart to the serial board at the same time. Always use one or the other alone! The serial speed is limited to 115200, as the software implementation on the particles canít go faster and normal PCs donít either. The driver file needed for the serial board is sercon182.h/c.

Example program for the particle is echo.c. It echos the characters received on serial line on 19200 baud back.

For the sensor board, the example program is serlight.c. It sends the sensor value of the ambient light sensor out on the serial line on 115200 baud.