]> oss.titaniummirror.com Git - rgblamp.git/commit
Add debug pin
authorR. Steve McKown <rsmckown@gmail.com>
Tue, 6 Dec 2011 18:38:34 +0000 (11:38 -0700)
committerR. Steve McKown <rsmckown@gmail.com>
Tue, 6 Dec 2011 18:38:34 +0000 (11:38 -0700)
commitad6305c1dcd38ee6e1365481ee8920b3d2e07dfc
tree71715cf11e1c3016a749803d29e5b58210108779
parentba136d2375a013b5472208dc4f4617f6c656e8f8
Add debug pin

* Debug on pin 1 of DIP18 package, RA2.
* Set pin high when processing in the loop.  Low during wait or sleep.

At 4 MHz, we see that processing within the loop is at most 12 ms, and
we have a loop period constraint of 32 ms.  We could run at 2 MHz too...
main.c