New January 12, 2001 - Tutorials are moving |
All the tutorials are
now at http://www.systronix.com/tutor/top.htm (These old pages will be left for a while until all the new tutorials are complete) |
This program was contributed by Payman Habibelahi. It flashes TINI's LED D1, the CPU LED on P3.5. This is also the internal 1-wire signal and the 16X IrDA clock, so some values of flash timing will probably conflict with other uses of P3.5. For now, here is the java source. Sometime soon I may get around to creating a step by step tutorial around this. Follow the steps in the first java program tutorial, and call your class "flash", then copy this source code into the template JBuilder creates for you, deleting any of the code it gave you. Since the class is called "flash", the file you save must be called "flash.java". Enjoy! |
|
|