Hi Anyone got a sample code for controlling LED's brightness with ADuc812 (and a potentiometer)? LED should blink very rapidly by pulse width modulation. Thanks in advance. Mark
Also, the data sheet for the ADuC812 should tell you how to set up and operate the PWM. You'll need to read up on the AtoD converter as well, in order to "read" the pot. You can find the data sheet at http://www.keil.com/dd/docs/datashts/adi/aduc812_ds.pdf There are some example programs at http://www.keil.com/dd/chip/3007.htm