I was wondering if there is an API call to access the GPIO and toggle an IO line at the other end of the link?
Simon
I was wondering if there is an API call to access the GPIO and toggle an IO line at the other end of the link?
Simon
hey @speacock thanks for posting, and welcome to the community, glad to have you here!
Every Notecard comes equipped with an attention pin (ATTN) that can be connected to a GPIO on a host MCU and configured with a request to the card.attn API to fire when certain conditions are met (like an inbound Note or a timeout). Your host can then configure an interrupt (or poll) to take action when the ATTN pin fires.
See here and here for more information in our docs.
Hope that helps, and please let me know if I haven’t answered your question!