June 2004

Lantronix Device Connection with serial feedback

This program waits for the Lantronix device to give an acknowledgment of a net connection before it starts to send data. The Lantronix Device has to have its connect mode set to verbose, so that it will send ASCII N when not connected, ASCII D when disconnecting, and ASCII C when a connection is made.

Technorati Tags: ,


Continue Reading »

Lantronix
PicBasic Pro

Permalink

Analog Smoothing Algorithm

Here’s another simple algorithm for smothing analog values. This one was posted by Brian Taylor on the PicBasic list.

Adjust alpha for more or less smoothing. A large alpha takes much longer to reach final value. 1 = no smoothing. 4 or 5 would typically give good results, but your mileage may vary.

Continue Reading »

PicBasic Pro
Arduino/Wiring

Permalink