Hello everyone,
my name is Martin and I am currently working on an Arduino Yun project. First I want to start with the basics of my project, get the fundation set up and after that make it more specific.
The first thing I want to have setup is the ability to send my Yun information via WLAN through the "Console." commands to change variables.
I already used some example codes and modified them but i was not getting the exact results i wanted to have.
How I want it to work:
I want to send Data to change the variables via an android app on my phone ( for testing now of course i will just use the Console option in the Arduino IDE). To be exact i want to be able to change two different variables so i need something to filter the Data stream. I looked for several tutorial but none of wich I found were really specific on how it is done/works.
As far as I understood i need some sort of character or sign that the Arduino Board has to look for that tells the board "after this you will get the exact number that should be put into the variable .... "
I added my example code that shows how far I've gotten... wich is basicly nothing...
I hope you guys can help me directly or show me a page with a very detailed tutorial about how all the Console commands work. As far as i know the Commands are basically the same as in the Serial connections, but I still don't fully understand the examples I found here on the offcial arduino page.
Thanks alot in advance
void loop() {
if (Console.available() > 0) {
streamdata = Console.read();
if (Console.read == 'T') {
temperature == XXXX;