PDA

View Full Version : DS1620 output to basic or pascal



RickM
02-01-2007, 02:37 AM
Id like to log the output of the temp module to to a file on the hard drive.
I'd like to do this w/ GWbasic, Turbo pascal or FreeBasic.
I'm sure someone has done this, can you point me to an example.
Thanx
Rick

Chris Savage
02-01-2007, 05:03 AM
Rick,

This is actually very easy if you know GWBASIC or any of the listed languages. The BASIC Stamp when programmed has a serial connection to the PC. This programming connection can also be used for communication. The BASIC Stamp can send it’s readings through the serial connection to the PC. The GWBASIC or other application can receive this data serially and write it to a file on the PC. All you need to do is open the COM Port used by the BASIC Stamp from within your language and be sure the communication parameters are the same on both sides. I hope this helps. Take care.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support