void setup(void) {
Serial.begin(DEFAULT_BAUD_RATE);
// Call LCD init early so that others can write to it.
lcdInitialize();
Events.addHandler(clockHandler, 1000);
Events.addHandler(lightHandler, 1000); // Aim for 250 ms
Events.addHandler(rotaryEncoderHandler, 100);
Events.addHandler(serialHandler, 30); // Sufficient for 38,400 baud
Events.addHandler(temperatureHandler, 1000); // Aim for 250 ms
Events.addHandler(touchPanelHandler, 250); // Aim for 50 ms
Events.addHandler(rgbLedFadeHandler, 10); // Can run slower.
// Call LCD last so that it can display variables that just changed.
Events.addHandler(lcdHandler, 1000); // Aim for 100 ms
}
void loop(void) {
Events.loop();
}
So Andy got us working code to test our hardware, but of course it wasn't fully optimized (hell, code never is). So, that gave me a chance to do some arduino programming to see what could be improved. It was a good learning experience.
After a bunch of work, here is what I was able to do:
![]()
pop up menu with selection cursor
![]()
I setup a little office I could work in :)
![]()
Ballarat's birds were loud but pretty :)
![]()
this one was so friendly and definitely wanted to come say hi
![]()
this was a very cool layed back kangaroo, nice claws too ;)
![]()
kangaroo was friends with wombat :)
![]()
those things peck hard when you feed them, they don't know any better :)
![]()
this guy really had balls, even by Australian standards :)
![]()
I hope he gets paid enough for this :)
![]()
Jon Oxner, making sure one of the Pebble V2 was built correctly
![]()
Andy Gelme and I, riding in style, to the hackerfest :)
![]()
I swear, this picture looks just like the same than last years :)
![]()
for old times' sakes I went to catch one of her farm chicken
![]()
main cafetaria is still small, but very nice