as yet i haven't got the arduino its on order. however i have been looking at videos and books.
it seams to me that a lot of the code for setting up the various boards is done globally ie
does it have to be done this way or is it sloppy practiceCode:int sensor_pin = 8 void setup() { //stuff here } void loop() { //more code here }
coop