While the processing code is common, the pins used are device specific #include // Arduino SendOnlySoftwareSerial class Modifies the example Blink code to illustrate serial output PART 1: Serial output setup and example output: Send text to the serial output window for display Initialize/start SoftwareSerial communication at 9600 baud Program only supports tiny84/85 so stop compile if not one of theseĬreate a Serial class instance to be used for serial output This section assigns device specific I/O pins Gain access to the Serial class functionality The following table explains the additional serial support statements: Statement The serial output example program (listed below) is based on the Arduino Blink example program with additions for serial output support.
0 Comments
Leave a Reply. |