]> oss.titaniummirror.com Git - rgblamp.git/commit
Alter PWM in small increments
authorR. Steve McKown <rsmckown@gmail.com>
Wed, 30 Nov 2011 23:49:33 +0000 (16:49 -0700)
committerR. Steve McKown <rsmckown@gmail.com>
Wed, 30 Nov 2011 23:51:30 +0000 (16:51 -0700)
commit40d9cdd17ca886222d3a5df6ed1a2f8958f92f6c
treedb309bf79a83bde92511e8e1c076bae3609b898f
parent22ef3537176d9839409dd5cdf06fc6a03cee3b0b
Alter PWM in small increments

* Use unsigned char, as unsigned short is a 16-bit value
* Increment and decrement PWM value by 1 instead of 16
* Alternate fixed LED state based on increasing/decreasing PWM duty
* Ignore /funclist file
.gitignore
funclist [deleted file]
main.c