I’ve read through a number of posts here, searched Google and tried to wrap my head around the demo project created by Team Practical Projects for communicating between the Photon and the App creator, but I’m just not finding what I’m looking for.
It seems like a basic thing, but my lack of experience is making it difficult. I’ve exposed two variables to the cloud on my Photon - startLit and endLit. These are just basic integers that refer to LEDs on a strip. I want to create a simple app that first reads the current values on the device, does some math, and sends it back to the Photon based on which buttons are tapped in the app. I just can’t figure out which blocks in the MIT App Inventor actual do those calls.
I realize I could go the long way and build functions onto the Photon and just call those functions for adding/subtracting, but I feel like keeping the on the app is better for memory optimization and scalability.