Wednesday, August 10, 2011

Task 6 - Key-Press program: other serial monitor output

/*
 * Project:    keyPressBrayOutput_621task06
 * Author:     Jane-Maree Howard
 * Date:       Wednesday 21/09/2011
 * Platform:   Arduino 22
 * Purpose:    To input a key-press from computer & output it to a Bray++ serial monitor
 * Operation:  Description:
 *             Declare: iKeyPress (int)
 *             Setup(): Bray++ serial monitor (BSM);  headings
 *             Arduino Library: LIB04_KeypressInput()            
 *             Loop(): reads input; prints character & ASCII codes                                             
 */


The program is exactly the same as in 621task06, except that the Bray++ Terminal monitor is used instead.

The COM port is selected on the PC running the Arduino to be the same as that selected on the opened Bray Terminal.

The line
   Serial.begin(9600); 
                                       is still needed to allow the connection to be made but the Arduino Serial Monitor is NOT opened.


 This is the Bray Terminal monitor.
Unfortunately, it presented me with only 2 COM ports, COM1 & COM3 - neither would work on the Arduino, which would upload only on COM4.

So this'll have to wait until i get home (where i hope i can make it work).

1 comment: