Can micropython write to GPIO port in parallel as a group ?
Posted: Sat Aug 04, 2018 9:19 pm
Hello,
I had been using class Pin to write to pyboard GPIO but I was wondering if I can write to a GPIO port in parallel so all pins in a port will transition at once. I searched documentation but could not find a reference. Also, is there facility like "bus out" object in mbed that you can use as direct in/out variable ?
Eg: busout data = 0x12, will write 8 bits to bus.
int check = (data == 0x0F) will check lower 4 bit nibble.
Thanks !
I had been using class Pin to write to pyboard GPIO but I was wondering if I can write to a GPIO port in parallel so all pins in a port will transition at once. I searched documentation but could not find a reference. Also, is there facility like "bus out" object in mbed that you can use as direct in/out variable ?
Eg: busout data = 0x12, will write 8 bits to bus.
int check = (data == 0x0F) will check lower 4 bit nibble.
Thanks !