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
Alternatively, just hire a consultant: http://www.keil.com/condb/
If it's not a homework assignment, you need to start by doing some basics first so that you do at least had an idea of what to do! Also "the bible" is invaluable. Erik here are the links to "the bible" Chapter 1 http://www.semiconductors.philips.com/acrobat/various/80C51_FAM_ARCH_1.pdf chapter 2 http://www.semiconductors.philips.com/acrobat/various/80C51_FAM_PROG_GUIDE_1.pdf chapter 3 http://www.semiconductors.philips.com/acrobat/various/80C51_FAM_HARDWARE_1.pdf