Hello
I try make example like Temperature Panel but it doesn't work
So i decide to make something easy . I start a example from site
http://scuola.arduino.cc/courses/lessons/view/zzdeJ3m
I do (SDCard)H:/arduino/www and there i put this index.html and zepto.min.js , i run a sketch and it doesnt work
I don't know really were i make some mistake .
Can u help me ?
Can you detail exactly what have you done, the steps you took, what you expected and what did not work?
I think it's everything what i did:
- I format a SDCard to FAT32 and create a folder arduino/www/ and ther i put this 2 files.
- I set a WiFi on Yun and i check it. It work cuz WiFiStatus show it.
- Then i put SDCard to the Yun ( when was turn off) and pawer by other suply (no computer)
- Then i upload this sketch to Yon by WiFi
#include <Bridge.h>
#include <YunServer.h>
#include <YunClient.h>
YunServer server;
void setup() {
Bridge.begin();
server.listenOnLocalhost();
server.begin();
}
void loop() {
YunClient client = server.accept();
if (client) {
String command = client.readString();
command.trim();
if (command == "temperature") {
int val = analogRead(A1);
client.print(val);
}
client.stop();
}
delay(50);
}
5.Now is a problem cuz when i try connect to this site(http://arduino.local/sd/mysketch) ( "arduino " - is name of may Yun) i see message that site does not exist
I realy dont know why it doesnt work .
I think you should first try to follow the TemperatureWebPanel example and only then hack it and customize it. Otherwise you have no previous success to base your hack on
Hello, i have the same issue, do you got a solution ? thank you for your response
hi tomtea
you wrote
- I format a SDCard to FAT32 and create a folder arduino/www/ and ther i put this 2 files.
i think you have to create the folder www/mysketch and put them in this
then test again