mirror of
https://github.com/RobTillaart/Arduino.git
synced 2024-09-19 16:46:11 -04:00
0.2.6 ParallelPrinter
This commit is contained in:
parent
7329b65072
commit
0793832e5a
@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
||||
and this project adheres to [Semantic Versioning](http://semver.org/).
|
||||
|
||||
|
||||
## [0.2.6] - 2023-11-14
|
||||
- update readme.md
|
||||
|
||||
|
||||
## [0.2.5] - 2022-11-19
|
||||
- add RP2040 in build-CI
|
||||
- add changelog.md
|
||||
|
@ -1,7 +1,7 @@
|
||||
//
|
||||
// FILE: ParallelPrinter.cpp
|
||||
// AUTHOR: Rob Tillaart
|
||||
// VERSION: 0.2.5
|
||||
// VERSION: 0.2.6
|
||||
// PURPOSE: parallel printer class that implements the Print interface
|
||||
// DATE: 2013-09-30
|
||||
// URL: https://github.com/RobTillaart/ParallelPrinter
|
||||
@ -160,5 +160,5 @@ void ParallelPrinter::sendByte(uint8_t c)
|
||||
}
|
||||
|
||||
|
||||
// -- END OF FILE --
|
||||
// -- END OF FILE --
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
//
|
||||
// FILE: ParallelPrinter.h
|
||||
// AUTHOR: Rob Tillaart
|
||||
// VERSION: 0.2.5
|
||||
// VERSION: 0.2.6
|
||||
// PURPOSE: parallel printer class that implements the Print interface
|
||||
// DATE: 2013-09-30
|
||||
// URL: https://github.com/RobTillaart/ParallelPrinter
|
||||
@ -11,7 +11,7 @@
|
||||
#include "Arduino.h"
|
||||
|
||||
|
||||
#define PARALLELPRINTER_VERSION (F("0.2.5"))
|
||||
#define PARALLELPRINTER_VERSION (F("0.2.6"))
|
||||
|
||||
#define FORMFEED 12
|
||||
#define LINEFEED 10
|
||||
|
@ -2,8 +2,11 @@
|
||||
[![Arduino CI](https://github.com/RobTillaart/ParallelPrinter/workflows/Arduino%20CI/badge.svg)](https://github.com/marketplace/actions/arduino_ci)
|
||||
[![Arduino-lint](https://github.com/RobTillaart/ParallelPrinter/actions/workflows/arduino-lint.yml/badge.svg)](https://github.com/RobTillaart/ParallelPrinter/actions/workflows/arduino-lint.yml)
|
||||
[![JSON check](https://github.com/RobTillaart/ParallelPrinter/actions/workflows/jsoncheck.yml/badge.svg)](https://github.com/RobTillaart/ParallelPrinter/actions/workflows/jsoncheck.yml)
|
||||
[![GitHub issues](https://img.shields.io/github/issues/RobTillaart/ParallelPrinter.svg)](https://github.com/RobTillaart/ParallelPrinter/issues)
|
||||
|
||||
[![License: MIT](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/RobTillaart/ParallelPrinter/blob/master/LICENSE)
|
||||
[![GitHub release](https://img.shields.io/github/release/RobTillaart/ParallelPrinter.svg?maxAge=3600)](https://github.com/RobTillaart/ParallelPrinter/releases)
|
||||
[![PlatformIO Registry](https://badges.registry.platformio.org/packages/robtillaart/library/ParallelPrinter.svg)](https://registry.platformio.org/libraries/robtillaart/ParallelPrinter)
|
||||
|
||||
|
||||
# ParallelPrinter
|
||||
@ -30,6 +33,10 @@ Have fun!
|
||||
|
||||
## Interface
|
||||
|
||||
```cpp
|
||||
#include "ParallelPrinter.h"
|
||||
```
|
||||
|
||||
### Constructor
|
||||
|
||||
- **ParallelPrinter()** uses default pins (13, 2, 12, \[3,4,5,6,7,8,9,10\])
|
||||
@ -89,23 +96,34 @@ See examples.
|
||||
|
||||
## Future
|
||||
|
||||
#### must
|
||||
#### Must
|
||||
|
||||
- update documentation
|
||||
|
||||
#### should
|
||||
#### Should
|
||||
|
||||
- extend unit tests?
|
||||
- test more.
|
||||
- extend simulator sketch.
|
||||
- Make a front end of a parallel printer,
|
||||
- Accepts the clocked bytes and print them e.g. over serial.
|
||||
|
||||
#### could
|
||||
#### Could
|
||||
|
||||
- derive e.g. an HP or an EPSON printer from this class.
|
||||
- special modes e.g. bold italic underline.
|
||||
- **write(uint8_t \* buf, uint8_t length)** should be added
|
||||
- might not really add to performance..
|
||||
- fix blocking TODO in sendByte
|
||||
|
||||
#### wont
|
||||
#### Wont
|
||||
|
||||
|
||||
## Support
|
||||
|
||||
If you appreciate my libraries, you can support the development and maintenance.
|
||||
Improve the quality of the libraries by providing issues and Pull Requests, or
|
||||
donate through PayPal or GitHub sponsors.
|
||||
|
||||
Thank you,
|
||||
|
||||
|
@ -15,9 +15,9 @@
|
||||
"type": "git",
|
||||
"url": "https://github.com/RobTillaart/ParallelPrinter.git"
|
||||
},
|
||||
"version": "0.2.5",
|
||||
"version": "0.2.6",
|
||||
"license": "MIT",
|
||||
"frameworks": "arduino",
|
||||
"frameworks": "*",
|
||||
"platforms": "*",
|
||||
"headers": "ParallelPrinter.h"
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
name=ParallelPrinter
|
||||
version=0.2.5
|
||||
version=0.2.6
|
||||
author=Rob Tillaart <rob.tillaart@gmail.com>
|
||||
maintainer=Rob Tillaart <rob.tillaart@gmail.com>
|
||||
sentence=Experimental (not complete) library to connect a parallel printer to Arduino.
|
||||
|
Loading…
Reference in New Issue
Block a user