Go Down

Topic: ENC28J60 controlling all outputs and itputs. (Read 740 times) previous topic - next topic


I'm using enc 28j60 ethernet shield with library ethercard. I've got code from https://github.com/lucadentella/enc28j60_tutorial/blob/master/_8_WebLeds/_8_WebLeds.ino. I know how to add more led's but i don't know how to read values from analog itputs. Anyone can help ?


If you look at source code of the webpage in your browser, you see the html code that was transmitted by the Arduino.
You can add other text to that webpage between the <body> and the </body> tags.

Code: [Select]

bfill.emit_p(PSTR("Hello World"));

You have to check the library for the possible options for bfill.emit... functions. Perhaps you have to use bfill.emit_raw with a string. The value of analogRead() can be turned into a string with the "dstrtof()" function.

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131