I have written a lot of different codes that can do a lot of different things. All code is held on GitHub for easy of collaboration and management. Click on the “simple base code” file to see the code that you will copy and paste into the particle IDE (build.particle.io) The code is heavily commented to help new user try and make sense of what all the code does.