GY-63_MS5611/libraries/ParallelPrinter/examples/Serial2ParallelPrinter/Serial2ParallelPrinter.ino

34 lines
427 B
Arduino
Raw Normal View History

2021-01-29 06:31:58 -05:00
//
// FILE: Serial2ParPrinter.ino
// AUTHOR: Rob Tillaart
// PURPOSE: demo
// DATE: 2020-05-26
2021-12-23 04:08:01 -05:00
2021-01-29 06:31:58 -05:00
#include "ParallelPrinter.h"
// uses defaults
// uint8_t p[] = {3, 4, 5, 6, 7, 8, 9, 10};
// ParPrinter(13, 2, 12, p );
ParallelPrinter PP;
2021-11-11 07:38:49 -05:00
2021-01-29 06:31:58 -05:00
void setup()
{
Serial.begin(115200);
Serial.println(__FILE__);
PP.begin();
}
2021-11-11 07:38:49 -05:00
2021-01-29 06:31:58 -05:00
void loop()
{
if (Serial.available()) PP.write(Serial.read());
}
// -- END OF FILE --
2021-12-23 04:08:01 -05:00