Binary sketch size: 19578 bytes (of a 32256 byte maximum)
(Working sketch BEFORE I add SD.h and (un-rem out the code that stops it from uploading, due to memory constraints)
My idea (place all the html, help commands etc onto the SD card, to “free up memory”) but lol, the catch is, when i do
add SD.h my sketch size jumps from 19k to 30k (of 32k? in theory it should work, but no…) so i removed the code and put
it back to how it was (which works fine).
Bugger, is all i have to say without the SD lib, what the attached code does is a few things, it has a bluetooth module (myserial)
it also has ethernet support (to control from the webpage), it also connects to my machine to control it bt > arduino > ethernet > pc …
Any hacks, all i need to do is read the data and write data, i’m not interested in any kind of file server, just to log/read. any thoughts
or suggestions? cheers.
files on sd card (that are accessible)
test.html //was going to serve a webpage as a test
void DumpFileToBT(char fn)
void DumpFileToEth(char fn, EthernetClient Serverclient)
void WriteToFile(char fn, char what)
WebServer.ino (12.1 KB)