Forum >Xboard V2 Pre-Installed Code
ArduinoGeneral

Xboard V2 Pre-Installed Code

userHead dpancoe 2015-05-26 21:06:30 1977 Views3 Replies
I just received my Xboard V2 boards and the first one came up working right away. I saw the board's IP address via the serial port, then entered that into my browser to find the board reporting changing values of the analog readings as a simple html page.

Since I have nothing connected to the analog pins, I'm guessing that the analog readings are random values generated by the code. Or, since there is nothing connected to the analog pins, perhaps the analog values are just random noise values being read.

In order to understand exactly what is going on, though, could someone post the exact source code of the program that comes pre-installed on the Xboard V2 from the factory? It doesn't appear to be the sample code that is provided on the product's wiki page.

Thanks,
Don
2015-05-28 20:21:57 Hi

let it go if it had worked. :D

And if you need digital value, just try to read the value( digitalRead(12) ; for example ) and send it to the IoT like analog valur.
userHeadPic Leff
2015-05-27 06:05:54 Thanks for the reply.

The factory-installed code running on my board doesn't at all work like the sample code from the wiki page for the X-Board V2 (SKU:DFR0162), but it appears to be quite similar to the sample code posted for the X-Board Relay(SKU:DFR0222). Mine isn't reporting the digital pin values, however, just the analog pins.

Don
userHeadPic dpancoe
2015-05-27 02:33:50 Hi

I donnot have that, but I guess it should be the wiki sketch.

Maybe the random analog value is the analog pin float value but not the random number~ I guess.
userHeadPic Leff