garg29
Advanced Member level 1
keil binary
Hello ,
I'm doing programming in C51. i'm trying to issue some binary value to P1 (Port 1) of 89c51. I'm not able to issue a binary value. Hex and decimal i know, but how do i issue a binary value. I've tried P1=0b00001111, P1=00001111Y (as given in help file), but non of them works. Please help me out.
Thanks a lot.
Garg
Hello ,
I'm doing programming in C51. i'm trying to issue some binary value to P1 (Port 1) of 89c51. I'm not able to issue a binary value. Hex and decimal i know, but how do i issue a binary value. I've tried P1=0b00001111, P1=00001111Y (as given in help file), but non of them works. Please help me out.
Thanks a lot.
Garg