Just wanted to see if I'm reading the schematic (pdf) right, are these pins open for possible use for hacks?
PC3-PC7, PA7, PD4, PB4
I assume so since they have solder spots on the board too. Hoping to try experimenting with adding a WWVB receiver I ripped out of another old clock I had.
Love the clock
Comments
http://aviationweather.gov/adds/tafs/?station_ids=kslc&std_trans=standard&submit_taf=Get+TAFs and scroll that terse data such as:
KSLC 062337Z 0700/0806 34010KT P6SM FEW100 SCT150
FM070400 15006KT P6SM SKC
FM071900 34009KT P6SM FEW100
The second one is D1, on OC2A. There's normally no LED here, so if you want to add a signal to drive a big LED, this is a good place to do it. Or, put it at location D2, so you can use the nightlight code directly.
OCR2A = Brightness;
toa5nightLight
and pin 20 is still the only one with nightlight-related activity.TCCR2A = (_BV(WGM20) | _BV(COM2B1))
and addedTCCR2B = (_BV(WGM20) | _BV(COM2B1))
, although I don't fully understand what that does. Still nothing on pin 21.The definitions and functions of TCCR2A and TCCR2B are given in the ATmega644's datasheet.
The default code to configure those two registers is as folows:
// so overflow happens at 16 MHz/2*256 = 31.250 kHz