From 5725d0d1da1f45e076bc2b94c775b89cabcd0edf Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Tue, 6 Dec 2005 08:05:52 +0000 Subject: [PATCH] Prueba simple de sdcc para prender los leds. --- pruebas/sdcc/leds.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 pruebas/sdcc/leds.c diff --git a/pruebas/sdcc/leds.c b/pruebas/sdcc/leds.c new file mode 100644 index 0000000..22aafaa --- /dev/null +++ b/pruebas/sdcc/leds.c @@ -0,0 +1,11 @@ + +xdata unsigned char at 0x0080 leds0; +xdata unsigned char at 0x00c0 leds1; + +void main() +{ + leds0 = ~0xaa; + leds1 = ~0xcc; + while (1); +} + -- 2.43.0