in case you dont know - if you place the www folder containing your php / html files in the same directory as your sketch, the IDE will upload them to the correct place on the SD card
Yes, Jesse. I'm happy to to help.Can you be more specific?
Prepare your SD card with an empty folder in the SD root named "arduino" and a subfolder of that named "www". This will ensure that the Yún will create a link to the SD to the "/mnt/sd" path.
The first instruction is:- but having just re-formatted the micro SD I didn't realise that these folders had already been created.
Eventually, I was surprised to learn that the Arduino IDE manages the reproduction of key folders from pc to Yun. At the moment I can't find the source of this information.
In this sketch folder is a basic webpage and a copy of zepto.js, a minimized version of jQuery. When you upload your sketch, these files will be placed in the /arduino/www/TemperatureWebPanel folder on your SD card.
Thank you ShapeShifter, perhaps with your useful additions this will be enough information for Jesse
I have a noob question, what part of the code or file sets the url to be labeled "TemperatureWebPanel/"??How can i change it if i want it to called "Temp1" for example? I dont see any part of the code that would define that
That doesn't really mean anything. The arduino folder (with the www folder) needs to be at the root level of the SD card, not at the system root level.You can create the folder in the SD card root when it is mounted on another computer. Or if the SD card is mounted on the Yun, and you SSH to it, you need to create the folders:/mnt/sda1/arduino/mnt/sda1/arduino/www
is wrong!one only needs create arduino folder and inside it the www and it works; I have no idea why some people confuse others!!!
you need not create: mnt/sda1/arduino/mnt/sda1/arduino/www is wrong!one only needs create arduino folder and inside it the www and it works; I have no idea why some people confuse others!!!
ln -s /mnt/sda1/arduino/www /www/sd