Hi,
I am new at Arduino stuff and i have huge problem at getting values from my Yun. In my project i have a counter that's in loop function and just counts to 1000 ( it will be relapsed with sensor). Every time i wont to access to a value over jQuery and Ajax, it returns
"NetworkError: 500 OK - http://192.168.1.20/arduino/hbz1"
I have tried with jsonp it dosent return anything. It dosent return any value even if i just try to access it from web browser.
I just get the blank page. The error message i get from Firebug. Even if i put just url in browser, the message is the same. Also Serial.println dosent print any messages to my Serial monitor! When i hard code output in sketch then i get what i coded, any other way, even with variables i get nothing and that error in Firebug
Are you sure the URI passed into the 32u4 sketch is terminated with a CR? if it isn't then your sketch returns nothing back to the server. It would explain the Error 500.
If it doubt strip your sketch back to something basic and add logic. Can see where it breaks more easily then.