The cool thing about this library and example code is that it runs on all sorts of Arduino compatibles without using ARM-specific Timer Interrupt setup code. So it runs on the Intel-based Arduino 101 “out of the box” as it were.
The library can be used either with or without Interrupts. The library example PulseLooper in github works on Arduino 101 and Arduino Uno, without using interrupts; the example PulseInterrupter uses ARM-specific interrupts and so runs only on ARM-based Arduinos such as the Uno.
In my last post about the Lunar Clock I described the opto-interrupter that will detect the slot in the lunar images disk. At that time I wasn’t sure how to mount the opto-interrupter to the strip that holds the stepper motor that turns the lunar images disk.
Recently I bought an angle bracket to mount the opto-interrupter. Although it’s the smallest bracket I could find, it’s still pretty big, with holes that are far too large for my use.
So I used a hacksaw to cut one side of the angle bracket down to a size I could use.
Next I drilled new, smaller mounting holes the size of the short bolts I have used in the clock.
I then bolted the opto-interrupter to the bar of wood that holds the stepper motor.
Now it’s time to design the artwork that will be on the front of the clock.
Et proiectus est talpa – "and the mole was cast out"