DEV Community

Discussion on: Welcome to the Virtual Raspberry Pi 4 running on AWS Graviton processors

Collapse
 
pat_bar profile image
Patrick Bartsch

Is there any way to access virtual GPIOs? How are they presented back to you? How can you simulate I/O on those?

Collapse
 
jasonrandrews profile image
Jason Andrews

Hello Patrick,
Yes, you can simulate the GPIO using custom vMMIO. You register a memory range in the hardware address map and when software running on the Pi accesses this range your code outside of the virtual Pi will be called. There is a simple example you can review at: intercom.help/arm-avh/en/articles/...