G gsatish10 New Member Apr 30, 2013 #1 I am trying to write bit access prg in 8051 MCU IDE I am getting the syntax error with the following options P0.0=0x55; P0^0=0x55; above options I am getting syntax error with ".0" "^" Can you please guys help me out what is option to get the righ toption in MCU 8051 IDE. Thanks to all
I am trying to write bit access prg in 8051 MCU IDE I am getting the syntax error with the following options P0.0=0x55; P0^0=0x55; above options I am getting syntax error with ".0" "^" Can you please guys help me out what is option to get the righ toption in MCU 8051 IDE. Thanks to all
Ian Rogers User Extraordinaire Forum Supporter Most Helpful Member Apr 30, 2013 #2 You can write byte wise Code: P0 = 0x55 Or you can write bitwise Code: P0.0 = 0 P0.0 = 1 But you cant write 0x55 to a single bit...
You can write byte wise Code: P0 = 0x55 Or you can write bitwise Code: P0.0 = 0 P0.0 = 1 But you cant write 0x55 to a single bit...