Got Bluetooth support figured out. It took a few days, but my code I think works correctly with the MPGuinoBlue app now.
I noticed a few things - first, on the displays, your code pauses once every 3.5 seconds. I assume this is to allow the hardware to be able to accept incoming commands from the smartphone?
Second, I noticed that whenever "RESET TRIP" or "REFILL TANK" are selected, but then cancelled out of, the displays pause. It appears to be because the app does not send a "resume display" command.
Third, I noticed that on the "resume display" command, a 0 value also gets transmitted from the app to the MPGuino Colour Touch, in the same fashion that the app transmits the changed parameters.
|