void setup() {
// put your setup code here, to run once:
Serial1.begin(115200);
Serial1.println("Hello, Raspberry Pi Pico!");
}
void loop() {
byte b = 0xf8;
for (int i = 7; i >= 0; i-- )
{
Serial1.print((b >> i) & 0x01);//shift and select first bit
}
Serial1.println();
// put your main code here, to run repeatedly:
delay(10); // this speeds up the simulation
}