Execute function in sensor
-
Hello,
I have a sensor with a number of predefined functions. Now I want to be able to execute the functions by sending a command to the sensor. Is this possible?
For instance I have the following functions:
void colorWipe1(uint16_t c, uint8_t wait) { do something } void colorWipe2(uint16_t c, uint8_t wait) { do something }When I send a command to the sensor I want it to run the function I have addressed in my command.
What sensor type should I use and how do I execute the correct incoming command?Thanks!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login