From: hackbard Date: Sun, 25 Jan 2004 18:13:23 +0000 (+0000) Subject: added led stuff X-Git-Url: https://hackdaworld.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a417322b847efc55440f932fbcc61382840661f;p=my-code%2Fatmel.git added led stuff --- diff --git a/beginners/season_junior.asm b/beginners/season_junior.asm index 35d51d1..ec5d3c1 100644 --- a/beginners/season_junior.asm +++ b/beginners/season_junior.asm @@ -68,6 +68,12 @@ .equ GODLIKE_F = 4 .equ INCREDIBLE_HACK = (1<<4) ; destroy all your hardware .equ INCREDIBLE_HACK_F = 5 +; leds +.equ LED_CARD = PB0 +.equ LED_CAM = PB1 +.equ LED_FWD_TO_CAM = PB2 +.equ LED_FWD_TO_CARD = PB3 +.equ LED_OVERFLOW = PB4 ; but there is only stupid and cool mode right now %) @@ -149,6 +155,11 @@ sbi UCR,TXEN ; enable pullups on int0, int1, clk, icp io ports ldi tmp,((1<