Pic measures two pots and outputs value at 1200 baud formatted as javaScript functions.

The PIC outputs the data wrapped in JavaScript function calls, and a web page includes the data and processes it, or Cut and Paste the data into a text box for the browser to process using JavaScript.

This page outlines measuring two pots and outputting the measured results to the serial port at 1200 baud. The unit is powered by the serial port.

Using a Terminal program at 1200 baud, capture the output of the rpot002.asm into a textfile called capture.js. Edit this to remove the first and last line which may be corrupted.

how to do it!