From: hackbard Date: Sun, 14 Nov 2004 17:11:08 +0000 (+0000) Subject: full intensity 2/3 *0xff X-Git-Url: https://hackdaworld.org/gitweb/?a=commitdiff_plain;h=82117e08f8d01b81edaa9cfb46c4287ced5ef355;p=my-code%2Fatmel.git full intensity 2/3 *0xff --- diff --git a/beginners/rgb_mali.asm b/beginners/rgb_mali.asm index 3b9815d..3cdbda3 100644 --- a/beginners/rgb_mali.asm +++ b/beginners/rgb_mali.asm @@ -93,7 +93,7 @@ mov zero,tmp mov countrgb,tmp ldi uart_count,0 ldi count,0 -ldi RED,CM1 +ldi RED,CM2 ldi GREEN,0x0 ldi BLUE,0x0 ; led pins are outputs @@ -135,7 +135,7 @@ rjmp MAKE_RGB ; reset rgb ; RESET_RGB: -ldi RED,CM1 +ldi RED,CM2 mov GREEN,zero mov BLUE,zero mov desc,zero @@ -163,11 +163,13 @@ rjmp MAKE_RGB MAKE_RGB: ldi tmp,(1<