-
16f688 <-> Max232
I am new to this so excuse my ignorance.
I have a board set up that reads inputs on 8 pins on a 16F688 Microchip. I also have a RS232 board that use a MAX232 chip. When I see an input go high, I need to send a message out to a computer serial port. Ie: "Input #1 ON". I will also get back a duplicate message form the computer.
I am connecting the TX/RX from the 16F688 to the RX/TX on the MAX232
What do have to setup in my program(I am using MicroCode Studio) to make this work? How do I send to the Serial port?
How do I receive from the Serial port?
Sincerely,
Bob Hiller
Lifts for the Disabled LLC
-
have a look for HSERIN/HSEROUT.
First, try a HSEROUT loop and look if your computer receive your data properly. You can use MicroCode Studio Serial Communication (F4).