mirror of
https://github.com/RobTillaart/Arduino.git
synced 2024-10-03 18:09:02 -04:00
0.1.3 DEVFULL
This commit is contained in:
parent
b2b1c86f4b
commit
f977e2c81e
@ -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.1.3] - 2023-10-24
|
||||
- update readme.md
|
||||
|
||||
|
||||
## [0.1.2] - 2022-10-31
|
||||
- add changelog.md
|
||||
- add rp2040 to build-CI
|
||||
|
@ -2,18 +2,16 @@
|
||||
//
|
||||
// FILE: DEVFULL.h
|
||||
// AUTHOR: Rob Tillaart
|
||||
// VERSION: 0.1.2
|
||||
// VERSION: 0.1.3
|
||||
// PURPOSE: Arduino library for a /dev/full stream - useful for testing / debugging.
|
||||
// URL: https://github.com/RobTillaart/DEVFULL
|
||||
//
|
||||
// HISTORY: see changelog.md
|
||||
|
||||
|
||||
#include "Arduino.h"
|
||||
#include "limits.h"
|
||||
|
||||
|
||||
#define DEVFULL_LIB_VERSION (F("0.1.2"))
|
||||
#define DEVFULL_LIB_VERSION (F("0.1.3"))
|
||||
|
||||
|
||||
#ifndef ENOSPC
|
||||
@ -57,5 +55,5 @@ private:
|
||||
};
|
||||
|
||||
|
||||
// -- END OF FILE --
|
||||
// -- END OF FILE --
|
||||
|
||||
|
@ -2,8 +2,11 @@
|
||||
[![Arduino CI](https://github.com/RobTillaart/DEVFULL/workflows/Arduino%20CI/badge.svg)](https://github.com/marketplace/actions/arduino_ci)
|
||||
[![Arduino-lint](https://github.com/RobTillaart/DEVFULL/actions/workflows/arduino-lint.yml/badge.svg)](https://github.com/RobTillaart/DEVFULL/actions/workflows/arduino-lint.yml)
|
||||
[![JSON check](https://github.com/RobTillaart/DEVFULL/actions/workflows/jsoncheck.yml/badge.svg)](https://github.com/RobTillaart/DEVFULL/actions/workflows/jsoncheck.yml)
|
||||
[![GitHub issues](https://img.shields.io/github/issues/RobTillaart/DEVFULL.svg)](https://github.com/RobTillaart/DEVFULL/issues)
|
||||
|
||||
[![License: MIT](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/RobTillaart/DEVFULL/blob/master/LICENSE)
|
||||
[![GitHub release](https://img.shields.io/github/release/RobTillaart/DEVFULL.svg?maxAge=3600)](https://github.com/RobTillaart/DEVFULL/releases)
|
||||
[![PlatformIO Registry](https://badges.registry.platformio.org/packages/robtillaart/library/DEVFULL.svg)](https://registry.platformio.org/libraries/robtillaart/DEVFULL)
|
||||
|
||||
|
||||
# DEVFULL
|
||||
@ -23,8 +26,19 @@ This causes a return value of n x -28 ==> mostly a number in the 65xxx range
|
||||
See - https://en.wikipedia.org/wiki//dev/full
|
||||
|
||||
|
||||
#### Related
|
||||
|
||||
- https://github.com/RobTillaart/DEVFULL
|
||||
- https://github.com/RobTillaart/DEVNULL
|
||||
- https://github.com/RobTillaart/DEVRANDOM
|
||||
|
||||
|
||||
## Interface
|
||||
|
||||
```cpp
|
||||
#include "DEVFULL.h"
|
||||
```
|
||||
|
||||
- **DEVFULL()** constructor, sets the timeout to zero.
|
||||
- **int available()** always return INT_MAX = platform dependant.
|
||||
- **int peek()** always returns 0.
|
||||
@ -52,7 +66,25 @@ See examples.
|
||||
|
||||
## Future
|
||||
|
||||
- improve documentation
|
||||
- improve code
|
||||
- test different platforms.
|
||||
#### Must
|
||||
|
||||
- improve documentation
|
||||
|
||||
#### Should
|
||||
|
||||
- improve code
|
||||
- test different platforms.
|
||||
|
||||
#### Could
|
||||
|
||||
#### 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/DEVFULL.git"
|
||||
},
|
||||
"version": "0.1.2",
|
||||
"version": "0.1.3",
|
||||
"license": "MIT",
|
||||
"frameworks": "arduino",
|
||||
"frameworks": "*",
|
||||
"platforms": "*",
|
||||
"headers": "DEVFULL.h"
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
name=DEVFULL
|
||||
version=0.1.2
|
||||
version=0.1.3
|
||||
author=Rob Tillaart <rob.tillaart@gmail.com>
|
||||
maintainer=Rob Tillaart <rob.tillaart@gmail.com>
|
||||
sentence=Arduino library for a /dev/full stream
|
||||
|
Loading…
Reference in New Issue
Block a user