| http://www.w3.org/ns/prov#value | - Actually this reminds me that you need to compare the buttons to LOW and not HIGH to check whether they are pressed or not, since by default they will be HIGH. Here the modified software:Code: [Select]int redLed = 11;int greenLed = 10;int blueLed = 9;int btn1 = 12;int btn2 = 8;boolean rnd = true;boolean turnOn = true;long randNumb;long randTime;void setup(){ pinMode(redLed, OUTPUT); pinMode(greenL
|