Skip to content

Commit d5920df

Browse files
committed
Documentation
1 parent 1f9b61e commit d5920df

File tree

5 files changed

+20
-12
lines changed

5 files changed

+20
-12
lines changed

.github/workflows/LibraryBuild.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,15 @@ jobs:
3333
- ATTinyCore:avr:attinyx5:chip=85,clock=1internal
3434

3535
# Specify parameters for each board.
36-
# Parameters can be: examples-exclude and examples-build-properties
36+
# With examples-exclude you may exclude specific examples for a board. Use a comma separated list.
3737
#############################################################################################################
3838
include:
3939
- arduino-boards-fqbn: arduino:avr:uno
40-
examples-exclude: 50Hz # Space separated list of (unique substrings of) example names to exclude in build
40+
examples-exclude: 50Hz # Comma separated list of (unique substrings of) example names to exclude in build
4141

4242
- arduino-boards-fqbn: ATTinyCore:avr:attinyx5:chip=85,clock=1internal
4343
platform-url: http://drazzy.com/package_drazzy.com_index.json
44-
examples-exclude: TraceTest # Space separated list of (unique substrings of) example names to exclude in build
44+
examples-exclude: TraceTest # Comma separated list of (unique substrings of) example names to exclude in build
4545

4646
# Do not cancel all jobs / architectures if one job fails
4747
fail-fast: false

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@
77

88
### ADCUtils.cpp
99
- Fast and flexible ADC conversions.
10+
1011
### HCSR04
1112
- Blocking and **non-blocking** reading of HCSR04 US Sensors with timeouts and exact conversions.
12-
- Supports also **1 Pin mode** available with the HY-SRF05 or Parallax PING modules.
13+
- Supports also **1 Pin mode** available with the HY-SRF05 or Parallax PING modules.
14+
1315
#### You can modify the HCSR04 modules to 1 Pin mode by:
1416
1 Old module with 3 16 pin chips: Connect Trigger and Echo direct or use a resistor < 4.7 kOhm.
1517
If you remove both 10 kOhm pullup resistor you can use a connecting resistor < 47 kOhm, but I suggest to use 10 kOhm which is more reliable.
@@ -19,15 +21,20 @@ If you remove both 10 kOhm pullup resistor you can use a connecting resistor < 4
1921

2022
### BlinkLed.cpp
2123
- Class for blinking one ore more LED's in different fashions.
24+
2225
### ShowInfo
2326
- Serial.print display of timer and other peripheral and system registers (to be extended :-)).
27+
2428
### AVRUtils.cpp
2529
- Sleep and sleep with watchdog functions.
2630
- Available Ram, Heap / Stack memory display.
31+
2732
### MillisUtils.cpp
2833
- Tweaking `millis()` after long running tasks in `noIterrupt()` context like NeoPixel output, ADC buffer reading etc.
34+
2935
### DebugLevel.h
3036
- Propagating debug levels for development. Supports level `TRACE, DEBUG, INFO, WARN and ERROR`. **Explains semantics of these levels**.
37+
3138
### ATtinyUtils.cpp
3239
- `changeDigisparkClock()` to use Digispark boards with standard ATtiny code like ATTinyCore by [Spence Konde](https://github.com/SpenceKonde/ATTinyCore).
3340
It changes Digispark Bootloader clock settings to get the right CPU frequency and resets Digispark OCCAL tweak.
@@ -57,6 +64,7 @@ To access the Arduino library files from a sketch, you have to first use *Sketch
5764
Then navigate to the parallel `libraries` folder and select the library you want to access.<br/>
5865
The library files itself are located in the `src` sub-directory.<br/>
5966
If you did not yet store the example as your own sketch, then with *Ctrl+K* you are instantly in the right library folder.
67+
6068
## Consider to use [Sloeber](http://eclipse.baeyens.it/stable.php?OS=Windows) as IDE
6169
If you are using Sloeber as your IDE, you can easily define global symbols at *Properties/Arduino/CompileOptions*.<br/>
6270
![Sloeber settings](https://github.com/ArminJo/ServoEasing/blob/master/pictures/SloeberDefineSymbols.png)

examples/50Hz/ATtinySerialOut.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* Using the Serial.print commands needs 4 bytes extra for each call.
1313
*
1414
*
15-
* Copyright (C) 2015-2019 Armin Joachimsmeyer
15+
* Copyright (C) 2015-2020 Armin Joachimsmeyer
1616
1717
*
1818
* This file is part of TinySerialOut https://github.com/ArminJo/ATtinySerialOut.

examples/50Hz/ATtinySerialOut.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* ATtinySerialOut.h
33
*
4-
* Copyright (C) 2015-2019 Armin Joachimsmeyer
4+
* Copyright (C) 2015-2020 Armin Joachimsmeyer
55
66
*
77
* This file is part of TinySerialOut https://github.com/ArminJo/ATtinySerialOut.

src/ATtinyUtils.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@
2424
//
2525
// ATMEL ATTINY85
2626
//
27-
// +-\/-+
28-
// PCINT5/!RESET/ADC0/dW (5) PB5 1| |8 Vcc
29-
// PCINT3/XTAL1/CLKI/!OC1B/ADC3 (3) PB3 2| |7 PB2 (2) SCK/USCK/SCL/ADC1/T0/INT0/PCINT2
30-
// PCINT4/XTAL2/CLKO/OC1B/ADC2 (4) PB4 3| |6 PB1 (1) MISO/DO/AIN1/OC0B/OC1A/PCINT1 / TX Debug output
31-
// GND 4| |5 PB0 (0) MOSI/DI/SDA/AIN0/OC0A/!OC1A/AREF/PCINT0
32-
// +----+
27+
// +-\/-+
28+
// PCINT5/!RESET/ADC0/dW (5) PB5 1| |8 VCC
29+
// USB+ PCINT3/XTAL1/CLKI/!OC1B/ADC3 (3) PB3 2| |7 PB2 (2) SCK/USCK/SCL/ADC1/T0/INT0/PCINT2 / TX Debug output
30+
// USB- PCINT4/XTAL2/CLKO/ OC1B/ADC2 (4) PB4 3| |6 PB1 (1) MISO/DO/AIN1/OC0B/ OC1A/PCINT1 - (Digispark) LED
31+
// GND 4| |5 PB0 (0) MOSI/DI/AIN0/OC0A/!OC1A/SDA/AREF/PCINT0
32+
// +----+
3333

3434
// ATMEL ATTINY167
3535
// Pin numbers are for Digispark core

0 commit comments

Comments
 (0)