mirror of
https://github.com/RobTillaart/Arduino.git
synced 2024-10-03 18:09:02 -04:00
0.2.5 PrintString
This commit is contained in:
parent
a72eae80f2
commit
8b7f30980a
2
libraries/PrintString/.github/FUNDING.yml
vendored
2
libraries/PrintString/.github/FUNDING.yml
vendored
@ -1,4 +1,4 @@
|
|||||||
# These are supported funding model platforms
|
# These are supported funding model platforms
|
||||||
|
|
||||||
github: RobTillaart
|
github: RobTillaart
|
||||||
|
custom: "https://www.paypal.me/robtillaart"
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
|
|
||||||
name: Arduino-lint
|
name: Arduino-lint
|
||||||
|
|
||||||
on: [push, pull_request]
|
on: [push, pull_request]
|
||||||
jobs:
|
jobs:
|
||||||
lint:
|
lint:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
timeout-minutes: 5
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- uses: arduino/arduino-lint-action@v1
|
- uses: arduino/arduino-lint-action@v1
|
||||||
with:
|
with:
|
||||||
library-manager: update
|
library-manager: update
|
||||||
compliance: strict
|
compliance: strict
|
@ -1,4 +1,3 @@
|
|||||||
---
|
|
||||||
name: Arduino CI
|
name: Arduino CI
|
||||||
|
|
||||||
on: [push, pull_request]
|
on: [push, pull_request]
|
||||||
@ -6,12 +5,14 @@ on: [push, pull_request]
|
|||||||
jobs:
|
jobs:
|
||||||
runTest:
|
runTest:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
timeout-minutes: 20
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- uses: ruby/setup-ruby@v1
|
- uses: ruby/setup-ruby@v1
|
||||||
with:
|
with:
|
||||||
ruby-version: 2.6
|
ruby-version: 2.6
|
||||||
- run: |
|
- run: |
|
||||||
|
sudo sysctl vm.mmap_rnd_bits=28
|
||||||
gem install arduino_ci
|
gem install arduino_ci
|
||||||
arduino_ci.rb
|
arduino_ci.rb
|
||||||
|
@ -9,10 +9,10 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
timeout-minutes: 5
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: json-syntax-check
|
- name: json-syntax-check
|
||||||
uses: limitusus/json-syntax-check@v1
|
uses: limitusus/json-syntax-check@v2
|
||||||
with:
|
with:
|
||||||
pattern: "\\.json$"
|
pattern: "\\.json$"
|
||||||
|
|
@ -6,10 +6,13 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
|||||||
and this project adheres to [Semantic Versioning](http://semver.org/).
|
and this project adheres to [Semantic Versioning](http://semver.org/).
|
||||||
|
|
||||||
|
|
||||||
|
## [0.2.5] - 2024-04-11
|
||||||
|
- update GitHub actions
|
||||||
|
- minor edits
|
||||||
|
|
||||||
## [0.2.4] - 2023-11-15
|
## [0.2.4] - 2023-11-15
|
||||||
- update readme.md
|
- update readme.md
|
||||||
|
|
||||||
|
|
||||||
## [0.2.3] - 2022-11-22
|
## [0.2.3] - 2022-11-22
|
||||||
- add changelog.md
|
- add changelog.md
|
||||||
- add RP2040 to build-CI
|
- add RP2040 to build-CI
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
MIT License
|
MIT License
|
||||||
|
|
||||||
Copyright (c) 2017-2023 Rob Tillaart
|
Copyright (c) 2017-2024 Rob Tillaart
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
//
|
//
|
||||||
// FILE: PrintString.h
|
// FILE: PrintString.h
|
||||||
// AUTHOR: Rob Tillaart
|
// AUTHOR: Rob Tillaart
|
||||||
// VERSION: 0.2.4
|
// VERSION: 0.2.5
|
||||||
// PURPOSE: Class that captures prints into a String
|
// PURPOSE: Class that captures prints into a String
|
||||||
// DATE: 2017-12-09
|
// DATE: 2017-12-09
|
||||||
// URL: https://github.com/RobTillaart/PrintString
|
// URL: https://github.com/RobTillaart/PrintString
|
||||||
@ -12,7 +12,7 @@
|
|||||||
#include "Print.h"
|
#include "Print.h"
|
||||||
|
|
||||||
|
|
||||||
#define PRINTSTRING_VERSION (F("0.2.4"))
|
#define PRINTSTRING_VERSION (F("0.2.5"))
|
||||||
|
|
||||||
|
|
||||||
class PrintString: public Print
|
class PrintString: public Print
|
||||||
|
@ -28,9 +28,9 @@ This String can be requested to process later.
|
|||||||
|
|
||||||
#### Related
|
#### Related
|
||||||
|
|
||||||
- https://github.com/RobTillaart/PrintCharArray (captures data in a char buffer)
|
- https://github.com/RobTillaart/PrintCharArray captures data in a char array buffer.
|
||||||
- https://github.com/RobTillaart/PrintSize (counts length of a number of print commands)
|
- https://github.com/RobTillaart/PrintSize counts length of a number of print commands.
|
||||||
- https://github.com/RobTillaart/PrintString (captures data in a String)
|
- https://github.com/RobTillaart/PrintString captures data in a String.
|
||||||
|
|
||||||
|
|
||||||
## Interface
|
## Interface
|
||||||
@ -60,6 +60,7 @@ See examples.
|
|||||||
|
|
||||||
#### Should
|
#### Should
|
||||||
|
|
||||||
|
- keep in sync with PrintCharArray class
|
||||||
- testing
|
- testing
|
||||||
- examples
|
- examples
|
||||||
- add new ones
|
- add new ones
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
|
|
||||||
#include "PrintString.h"
|
#include "PrintString.h"
|
||||||
#include "XMLWriter.h" // https://github.com/RobTillaart/XMLWriter
|
#include "XMLWriter.h" // https://github.com/RobTillaart/XMLWriter
|
||||||
|
|
||||||
PrintString ps;
|
PrintString ps;
|
||||||
XMLWriter XML(&ps);
|
XMLWriter XML(&ps);
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/RobTillaart/PrintString.git"
|
"url": "https://github.com/RobTillaart/PrintString.git"
|
||||||
},
|
},
|
||||||
"version": "0.2.4",
|
"version": "0.2.5",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"frameworks": "*",
|
"frameworks": "*",
|
||||||
"platforms": "*",
|
"platforms": "*",
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
name=PrintString
|
name=PrintString
|
||||||
version=0.2.4
|
version=0.2.5
|
||||||
author=Rob Tillaart <rob.tillaart@gmail.com>
|
author=Rob Tillaart <rob.tillaart@gmail.com>
|
||||||
maintainer=Rob Tillaart <rob.tillaart@gmail.com>
|
maintainer=Rob Tillaart <rob.tillaart@gmail.com>
|
||||||
sentence=Library to capture prints into a String.
|
sentence=Library to capture prints into a String.
|
||||||
|
Loading…
Reference in New Issue
Block a user