Ok, I have been researching this for a few days now.
I am trying to learn how to send a numerical value to an arduino and have it select the function that I assign that code.
I am trying to start small and work my way to a final project involving multiple arduinos.
In the short term I would like to from the serial monitor send a code say 5/1 to tell my arduino to set pin 5 HIGH
eventually I would like to have multiple arduinos in a mesh network using nrf24l01+ modules to be able to accomplish this through a 3 step value.
1/5/1 to tell the arduino assigned as (1) to set pin 5 to HIGH or 2/7/0 Arduino (2) to set pin 7 to LOW
Right now I am am simply trying to use the serial monitor to communicate with one arduino.
I feel this is a good first step to trying to tackle this project as I feel this can very quickly become a very complicated undertaking.
I am not great with code and after not doing anything for almost a year due to family and relocation issues I am very frustrated.
Anyone that might be able to help point me toward a tutorial that might be able to help me with the basics would be greatly appreciated.
If you are interested the eventual goal of this is home automation and other smart home functions.
This is a project that I have been thinking about and buying hardware for over the past 2 years and would like to get started on.
I did run across this post:
but I am having no luck getting the code to process correctly.
Is there another method or better tutorial out there?