Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void setup()
- {
- Serial.begin(115200);
- }
- void loop()
- {
- unsigned char ch = 0xFF & 0x80;
- int i;
- for (i = 0; i <= 8; i++, ch = ch >> 1)
- {
- // printf("i=%d:valor:%d\n", i, ch);
- Serial.print("i :");
- Serial.print(i);
- Serial.print(" ch :");
- Serial.println(ch);
- }
- Serial.println( );
- delay(300);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement