Now that the beta firmware issues are starting to settle down and I can upload sketches to the board I am beginning to attempt making something useful. One of the thoughts I had about using these Oaks was as a wireless way to control an air-flow damper for the eventual hope of being able to close off the AC/heat registers in various rooms of my house when no one is in them, giving more heat to the rooms that actually have people in them.
My first attempt was just to try the standard servo way. I #included <Servo.h> but when I compiled I got several warnings and errors that the standard Servo library might not be compatible with this board/architecture. The output also mentioned that the "/Users/trent/Arduino15/packages/digistump/hardware/oak/0.9.2/libraries/Servo" library was one of the available choices but it was NOT used. Seeing this I attempted to #include "/Users/trent/Arduino15/packages/digistump/hardware/oak/0.9.2/libraries/Servo/src/Servo.h" which seemed to compile fine. In order to use the correct Servo.cpp I tried to just included the .cpp file at the top of my test.ino file. That resulted in a lot of undefined references and conflicts.
I then tried bit-banging my own signal via digital output 5, using micros() as a timing mechanism for the duty cycle. This ultimately ended up bricking my Oak and I had to do a serial restore to get it back and responding to uploads. Sooooo...
My question is, how do I make use of the Oak-specific Servo library? This is on Mac OS X in case that matters. Any help would be greatly appreciated.