Change a bit in RAM tnx david
can anyone tell me why doesnt this work?
C Code
#define SRAM_DATA 0x0280 //supposed to contain SRAM address
void main(void)
{
SRAM_DATA |= 0x01; //set bit 0 to 1...
Friday, 8 May 2009 - 10:44
Change a bit in RAM
lds r16, SRAMADDR ; read the SRAM byte
sbr r16, 0x01 ; modify example 1: set bit 0
cbr r16, 0x02 ; modify example 2: clear bit 1
ldi r17, 0x04 ; modify...
Friday, 8 May 2009 - 10:17
[Solved] Help on Pushbutton State Machines on a While Loop @Cliff:
- im sorry i meant the OUT_NO_DATA(); function [inside the while loop] does not display
- ive already edited my post
@Peter:
- the get_key_short() function seems to be...
i see.. thank you all.. :)
tnx david can anyone tell me why doesnt this work? C Code #define SRAM_DATA 0x0280 //supposed to contain SRAM address void main(void) { SRAM_DATA |= 0x01; //set bit 0 to 1...
lds r16, SRAMADDR ; read the SRAM byte sbr r16, 0x01 ; modify example 1: set bit 0 cbr r16, 0x02 ; modify example 2: clear bit 1 ldi r17, 0x04 ; modify...
@Cliff: - im sorry i meant the OUT_NO_DATA(); function [inside the while loop] does not display - ive already edited my post @Peter: - the get_key_short() function seems to be...
Is agreeing with the positive comments on this thread -Jd from the land of the Pacman
very useful
tnx..