login

online now

We have 159 guests and no members online

search

 


configuration

next

configuration

communication pins

The serial interface pins between the GinSing board and the Arduino are configurable to allow for better compatibility with other shields. Configuration is accomplished in both hardware and software.

By default, the GinSing hardware is assumed to be set up such that pins 2,3, and 4 are used for communication. If you have a need to change these settings, you can move the jumpers as indicated above to alternate pins, altogether or individually.

By default, the GinSing software is assumed to be set up such that pins 2,3, and 4 are used for communication. When the GinSing software is initialized, you specify the pins that correspond to each of the hardware pins. This is the sample code that initializes GinSing and determines what pins will be used:

#define rcvPin  4       // this is the pin used for receiving    ( can be either 4 or 12 )
#define sndPin  3       // this is the pin used for transmitting ( can be either 3 or 11 )
#define ovfPin  2       // this is the pin used for overflow control ( can be either 2 or 10 )
GS.begin ( rcvPin , sndPin , ovfPin );

At this point you are ready to mount the hardware onto your Arduino board. Seat the board carefully atop the Arduino to ensure that no pins are bent during insertion. Once the board is seated, you may install the GinSing software and begin programming.


go to software installation