Code to capture serial string as variable


#1

I’m having a bit of trouble capturing an sms message from my dashboard and setting it as a variable. I can see data come through a serial monitor. I can program the board to do what i want locally, I just want to get a string from sms and save it in a variable in my script to trigger pin output. can someone help me with this?


#2

This might help: Howto send data to dash pro?

We also have some code in github that uses a similar approach: https://github.com/hologram-io/hologram-dash-arduino-examples/blob/master/rgbleds/rgbleds.ino