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

35 lines
462 B
Arduino
Raw Normal View History

2021-01-29 06:31:58 -05:00
//
// FILE: Serial2ParPrinter.ino
// AUTHOR: Rob Tillaart
// VERSION: 0.1.1
// PURPOSE: demo
// DATE: 2020-05-26
// (c) : MIT
//
#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 --