Projects / meter / Comments

Comments for meter

01 Jul 2006 20:41 LeeMc

For Radio Shack 22-168-A only two lines need editing,
On Ubuntu Linux, only two lines need editing.

For use with the Radio Shack 22-168-A

In meter.c change baud to 1200

- cfsetispeed(&termattr, B600);

- cfsetospeed(&termattr, B600);

+ cfsetispeed(&termattr, B1200);

+ cfsetospeed(&termattr, B1200);

13 Sep 2001 15:52 abythell

micronta 22-168A
this works with the micronta 22-168A if you change
the baud rate to 1200:


--- meter.c Thu Sep 13 15:53:36 2001

+++ meter.c.new Thu Sep 13 15:53:45 2001

@@ -240,8 +240,8 @@

termattr.c_oflag |= 0;

termattr.c_cflag &=
~(CSIZE|PARENB|PARODD|CRTSCTS);

termattr.c_cflag |=
(CS7|CSTOPB|CREAD|HUPCL|CLOCAL);

- cfsetispeed(&termattr, B600);

- cfsetospeed(&termattr, B600);

+ cfsetispeed(&termattr, B1200);

+ cfsetospeed(&termattr, B1200);

termattr.c_cc[VINTR]=0;

termattr.c_cc[VQUIT]=0;

termattr.c_cc[VERASE]=0;

Screenshot

Project Spotlight

ReciJournal

An open, cross-platform journaling program.

Screenshot

Project Spotlight

Veusz

A scientific plotting package.