I just posted Quickstart - Button S7 Module on Codeshare. Feel free to discuss and make suggestions here.
Thanks very much for this, BHB!
Just found a use for my ButtonS7, in a project where I’m controlling a couple of DeskPets (http://www.mydeskpets.com/) mini-bots. They use little IR dongles to control the bots, and I’m using the S7 to generate the IR pulses via SignalGenerator.
Your code sample made it really easy to get up and running with the Button S7 without having to spend a lot of time figuring out how it operates.