5 # To run Particle, we need to install Particle CLI
7 # https://docs.particle.io/guide/getting-started/connect/photon/#install-the-particle-cli
9 sudo chmod 666 /dev/ttyACM0
10 particle serial monitor
13 #g++ -c LifxLightBulb.cpp -o ./LifxLightBulb.o -Wall -O3 -g -I. -Wno-unused-variable -std=c++11 -pthread -pg
14 g++ ./LifxLightBulb.cpp ./socket/Socket.cpp -o ./LifxLightBulb.o -Wall -Wno-unused-variable --std=c++11 -pthread -pg -I. -I./socket
18 particle compile raspberry-pi
21 particle flash Pi-1 raspberry-pi*.bin
32 uncrustify -c C.cfg --no-backup *.cpp
33 uncrustify -c C.cfg --no-backup *.h