Skip to content
This repository was archived by the owner on Jan 29, 2023. It is now read-only.

Commit af53e3e

Browse files
authored
v1.4.1
### Releases v1.4.1 1. Add support to **Generic or Sparkfun AVR ATmega_32U4** such as **AVR_MAKEYMAKEY, AVR_PROMICRO, etc.** 2. Add support to **Generic or Sparkfun AVR ATmega_328(P)** such as **ARDUINO_REDBOT, ARDUINO_AVR_DIGITAL_SANDBOX, etc.** 3. Add support to **Generic or Sparkfun AVR ATmega128RFA1** such as **ATMEGA128RFA1_DEV_BOARD, etc.**
1 parent 8f1c335 commit af53e3e

34 files changed

+218
-78
lines changed

README.md

Lines changed: 39 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@
1313
* [Why do we need this TimerInterrupt library](#why-do-we-need-this-timerinterrupt-library)
1414
* [Features](#features)
1515
* [Why using ISR-based Hardware Timer Interrupt is better](#why-using-isr-based-hardware-timer-interrupt-is-better)
16-
* [Currently supported Boards](#currently-supported-boards)
1716
* [Important Notes about ISR](#important-notes-about-isr)
17+
* [Currently supported Boards](#currently-supported-boards)
1818
* [Changelog](#changelog)
19+
* [Releases v1.4.1](#releases-v141)
1920
* [Releases v1.4.0](#releases-v140)
2021
* [Releases v1.3.0](#releases-v130)
2122
* [Releases v1.2.0](#releases-v120)
@@ -130,12 +131,21 @@ The catch is your function is now part of an ISR (Interrupt Service Routine), an
130131
- **Arduino ATMega 16U4, 32U4** such as AVR Leonardo, Leonardo ETH, YUN, Esplora, LILYPAD_USB, AVR_ROBOT_CONTROL, AVR_ROBOT_MOTOR, AVR_INDUSTRIAL101, etc.
131132
- **Adafruit ATMega 32U4** such as AVR_FLORA8, AVR_FEATHER32U4, AVR_CIRCUITPLAY, AVR_ITSYBITSY32U4_5V, AVR_ITSYBITSY32U4_3V, AVR_BLUEFRUITMICRO, AVR_ADAFRUIT32U4, etc.
132133
- **Adafruit ATMega 328(P)** such as AVR_METRO, AVR_FEATHER328P, AVR_PROTRINKET5, AVR_PROTRINKET3, AVR_PROTRINKET5FTDI, AVR_PROTRINKET3FTDI, etc.
134+
- **Generic or Sparkfun AVR ATmega_32U4** such as **AVR_MAKEYMAKEY, AVR_PROMICRO, etc.**
135+
- **Generic or Sparkfun AVR ATmega_328(P)** such as **ARDUINO_REDBOT, ARDUINO_AVR_DIGITAL_SANDBOX, etc.**
136+
- **Generic or Sparkfun AVR ATmega128RFA1** such as **ATMEGA128RFA1_DEV_BOARD, etc.**
133137

134138
---
135139
---
136140

137141
## Changelog
138142

143+
### Releases v1.4.1
144+
145+
1. Add support to **Generic or Sparkfun AVR ATmega_32U4** such as **AVR_MAKEYMAKEY, AVR_PROMICRO, etc.**
146+
2. Add support to **Generic or Sparkfun AVR ATmega_328(P)** such as **ARDUINO_REDBOT, ARDUINO_AVR_DIGITAL_SANDBOX, etc.**
147+
3. Add support to **Generic or Sparkfun AVR ATmega128RFA1** such as **ATMEGA128RFA1_DEV_BOARD, etc.**
148+
139149
### Releases v1.4.0
140150

141151
1. Add support to **Adafruit AVR ATMEGA_32U4** such as **AVR_FLORA8, AVR_FEATHER32U4, etc.**
@@ -182,6 +192,7 @@ The catch is your function is now part of an ISR (Interrupt Service Routine), an
182192
1. [`Arduino IDE 1.8.13+` for Arduino](https://www.arduino.cc/en/Main/Software)
183193
2. [`Arduino AVR core 1.8.3+`](https://github.com/arduino/ArduinoCore-avr) for Arduino AVR boards. Use Arduino Board Manager to install. [![Latest release](https://img.shields.io/github/release/arduino/ArduinoCore-avr.svg)](https://github.com/arduino/ArduinoCore-avr/releases/latest/)
184194
3. [`Adafruit AVR core 1.4.13+`](https://github.com/adafruit/Adafruit_Arduino_Boards) for Adafruit AVR boards. Use Arduino Board Manager to install.
195+
4. [`Sparkfun AVR core 1.1.13+`](https://github.com/sparkfun/Arduino_Boards) for Sparkfun AVR boards. Use Arduino Board Manager to install.
185196

186197
---
187198
---
@@ -812,8 +823,8 @@ The following is the sample terminal output when running example [ISR_16_Timers_
812823
While software timer, **programmed for 2s, is activated after more than 10.000s in loop().
813824
814825
```
815-
Starting ISR_16_Timers_Array_Complex on AVR
816-
TimerInterrupt v1.4.0
826+
Starting ISR_16_Timers_Array_Complex on Arduino AVR
827+
TimerInterrupt v1.4.1
817828
CPU Frequency = 16 MHz
818829
Starting ITimer2 OK, millis() = 1
819830
SimpleTimer : 2, ms : 10007, Dms : 10007
@@ -962,8 +973,8 @@ Timer : 15, programmed : 80000, actual : 80010
962973
The following is the sample terminal output when running example [Change_Interval](examples/Change_Interval) on **AVR Mega2560** to demonstrate how to change Timer Interval on-the-fly
963974
964975
```
965-
Starting Change_Interval on AVR
966-
TimerInterrupt v1.4.0
976+
Starting Change_Interval on Arduino AVR
977+
TimerInterrupt v1.4.1
967978
CPU Frequency = 16 MHz
968979
Starting ITimer1 OK, millis() = 1
969980
Starting ITimer2 OK, millis() = 4
@@ -1013,6 +1024,13 @@ Sometimes, the library will only work if you update the board core to the latest
10131024

10141025
## Releases
10151026

1027+
### Releases v1.4.1
1028+
1029+
1. Add support to **Generic or Sparkfun AVR ATmega_32U4** such as **AVR_MAKEYMAKEY, AVR_PROMICRO, etc.**
1030+
2. Add support to **Generic or Sparkfun AVR ATmega_328(P)** such as **ARDUINO_REDBOT, ARDUINO_AVR_DIGITAL_SANDBOX, etc.**
1031+
3. Add support to **Generic or Sparkfun AVR ATmega128RFA1** such as **ATMEGA128RFA1_DEV_BOARD, etc.**
1032+
1033+
10161034
### Releases v1.4.0
10171035

10181036
1. Add support to **Adafruit AVR ATMEGA_32U4** such as **AVR_FLORA8, AVR_FEATHER32U4, etc.**
@@ -1067,6 +1085,9 @@ in loop(), using delay() function as an example. The elapsed time then is very u
10671085
- **Arduino ATMega 16U4, 32U4** such as AVR Leonardo, Leonardo ETH, YUN, Esplora, LILYPAD_USB, AVR_ROBOT_CONTROL, AVR_ROBOT_MOTOR, AVR_INDUSTRIAL101, etc.
10681086
- **Adafruit ATMega 32U4** such as AVR_FLORA8, AVR_FEATHER32U4, AVR_CIRCUITPLAY, AVR_ITSYBITSY32U4_5V, AVR_ITSYBITSY32U4_3V, AVR_BLUEFRUITMICRO, AVR_ADAFRUIT32U4, etc.
10691087
- **Adafruit ATMega 328(P)** such as AVR_METRO, AVR_FEATHER328P, AVR_PROTRINKET5, AVR_PROTRINKET3, AVR_PROTRINKET5FTDI, AVR_PROTRINKET3FTDI, etc.
1088+
- **Generic or Sparkfun AVR ATmega_32U4** such as **AVR_MAKEYMAKEY, AVR_PROMICRO, etc.**
1089+
- **Generic or Sparkfun AVR ATmega_328(P)** such as **ARDUINO_REDBOT, ARDUINO_AVR_DIGITAL_SANDBOX, etc.**
1090+
- **Generic or Sparkfun AVR ATmega128RFA1** such as **ATMEGA128RFA1_DEV_BOARD, etc.**
10701091

10711092
---
10721093
---
@@ -1085,16 +1106,19 @@ Submit issues to: [TimerInterrupt issues](https://github.com/khoih-prog/TimerInt
10851106

10861107
### DONE
10871108

1088-
1. Longer Interval for timers.
1089-
2. Reduce code size if use less timers. Eliminate compiler warnings.
1090-
3. Now supporting complex object pointer-type argument.
1091-
3. 16 hardware-initiated software-enabled timers while using only 1 hardware timer.
1092-
4. Fix some bugs in v1.0.0
1093-
5. Add more examples.
1094-
6. Similar library for ESP32, ESP8266, SAMD21/SAMD51, nRF52, Mbed-OS Nano-33-BLE, STM32
1095-
7. Add support to **Arduino ATMega-16U4, ATMega-32U4**-based boards
1096-
8. Add support to **Adafruit ATMega-32U4**-based boards
1097-
9. Add support to **Adafruit ATMega-328(P)**-based boards
1109+
1. Longer Interval for timers.
1110+
2. Reduce code size if use less timers. Eliminate compiler warnings.
1111+
3. Now supporting complex object pointer-type argument.
1112+
3. 16 hardware-initiated software-enabled timers while using only 1 hardware timer.
1113+
4. Fix some bugs in v1.0.0
1114+
5. Add more examples.
1115+
6. Similar library for ESP32, ESP8266, SAMD21/SAMD51, nRF52, Mbed-OS Nano-33-BLE, STM32
1116+
7. Add support to **Arduino ATMega-16U4, ATMega-32U4**-based boards
1117+
8. Add support to **Adafruit ATMega-32U4**-based boards
1118+
9. Add support to **Adafruit ATMega-328(P)**-based boards
1119+
10. Add support to **Generic or Sparkfun AVR ATmega_32U4** such as **AVR_MAKEYMAKEY, AVR_PROMICRO, etc.**
1120+
11. Add support to **Generic or Sparkfun AVR ATmega_328(P)** such as **ARDUINO_REDBOT, ARDUINO_AVR_DIGITAL_SANDBOX, etc.**
1121+
12. Add support to **Generic or Sparkfun AVR ATmega128RFA1** such as **ATMEGA128RFA1_DEV_BOARD, etc.**
10981122

10991123
---
11001124
---

examples/Argument_Complex/Argument_Complex.ino

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
If your data is multiple variables, such as an array and a count, usually interrupts need to be disabled
2323
or the entire sequence of your code which accesses the data.
2424
25-
Version: 1.4.0
25+
Version: 1.4.1
2626
2727
Version Modified By Date Comments
2828
------- ----------- ---------- -----------
@@ -35,6 +35,7 @@
3535
1.2.0 K.Hoang 07/01/2021 Add better debug feature. Optimize code and examples to reduce RAM usage
3636
1.3.0 K.Hoang 25/02/2021 Add support to AVR ATMEGA_32U4 such as Leonardo, YUN, ESPLORA, etc.
3737
1.4.0 K.Hoang 01/04/2021 Add support to Adafruit 32U4 and 328(P) such as FEATHER32U4, FEATHER328P, etc.
38+
1.4.1 K.Hoang 02/04/2021 Add support to Sparkfun 32U4, 328(P), 128RFA1 such as AVR_PROMICRO, REDBOT, etc.
3839
*****************************************************************************************************************************/
3940

4041
// These define's must be placed at the beginning before #include "TimerInterrupt.h"
@@ -104,7 +105,8 @@ void setup()
104105
Serial.begin(115200);
105106
while (!Serial);
106107

107-
Serial.println(F("\nStarting Argument_Complex on AVR"));
108+
Serial.print(F("\nStarting Argument_Complex on "));
109+
Serial.println(BOARD_TYPE);
108110
Serial.println(TIMER_INTERRUPT_VERSION);
109111
Serial.print(F("CPU Frequency = ")); Serial.print(F_CPU / 1000000); Serial.println(F(" MHz"));
110112

examples/Argument_None/Argument_None.ino

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
If your data is multiple variables, such as an array and a count, usually interrupts need to be disabled
2323
or the entire sequence of your code which accesses the data.
2424
25-
Version: 1.4.0
25+
Version: 1.4.1
2626
2727
Version Modified By Date Comments
2828
------- ----------- ---------- -----------
@@ -35,6 +35,7 @@
3535
1.2.0 K.Hoang 07/01/2021 Add better debug feature. Optimize code and examples to reduce RAM usage
3636
1.3.0 K.Hoang 25/02/2021 Add support to AVR ATMEGA_32U4 such as Leonardo, YUN, ESPLORA, etc.
3737
1.4.0 K.Hoang 01/04/2021 Add support to Adafruit 32U4 and 328(P) such as FEATHER32U4, FEATHER328P, etc.
38+
1.4.1 K.Hoang 02/04/2021 Add support to Sparkfun 32U4, 328(P), 128RFA1 such as AVR_PROMICRO, REDBOT, etc.
3839
*****************************************************************************************************************************/
3940

4041
// These define's must be placed at the beginning before #include "TimerInterrupt.h"
@@ -99,7 +100,8 @@ void setup()
99100
Serial.begin(115200);
100101
while (!Serial);
101102

102-
Serial.println(F("\nStarting Argument_None on AVR"));
103+
Serial.print(F("\nStarting Argument_None on "));
104+
Serial.println(BOARD_TYPE);
103105
Serial.println(TIMER_INTERRUPT_VERSION);
104106
Serial.print(F("CPU Frequency = ")); Serial.print(F_CPU / 1000000); Serial.println(F(" MHz"));
105107

examples/Argument_Simple/Argument_Simple.ino

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
If your data is multiple variables, such as an array and a count, usually interrupts need to be disabled
2323
or the entire sequence of your code which accesses the data.
2424
25-
Version: 1.4.0
25+
Version: 1.4.1
2626
2727
Version Modified By Date Comments
2828
------- ----------- ---------- -----------
@@ -35,6 +35,7 @@
3535
1.2.0 K.Hoang 07/01/2021 Add better debug feature. Optimize code and examples to reduce RAM usage
3636
1.3.0 K.Hoang 25/02/2021 Add support to AVR ATMEGA_32U4 such as Leonardo, YUN, ESPLORA, etc.
3737
1.4.0 K.Hoang 01/04/2021 Add support to Adafruit 32U4 and 328(P) such as FEATHER32U4, FEATHER328P, etc.
38+
1.4.1 K.Hoang 02/04/2021 Add support to Sparkfun 32U4, 328(P), 128RFA1 such as AVR_PROMICRO, REDBOT, etc.
3839
*****************************************************************************************************************************/
3940

4041
// These define's must be placed at the beginning before #include "TimerInterrupt.h"
@@ -107,7 +108,8 @@ void setup()
107108
Serial.begin(115200);
108109
while (!Serial);
109110

110-
Serial.println(F("\nStarting Argument_Simple on AVR"));
111+
Serial.print(F("\nStarting Argument_Simple on "));
112+
Serial.println(BOARD_TYPE);
111113
Serial.println(TIMER_INTERRUPT_VERSION);
112114
Serial.print(F("CPU Frequency = ")); Serial.print(F_CPU / 1000000); Serial.println(F(" MHz"));
113115

examples/Change_Interval/Change_Interval.ino

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
If your data is multiple variables, such as an array and a count, usually interrupts need to be disabled
2323
or the entire sequence of your code which accesses the data.
2424
25-
Version: 1.4.0
25+
Version: 1.4.1
2626
2727
Version Modified By Date Comments
2828
------- ----------- ---------- -----------
@@ -35,6 +35,7 @@
3535
1.2.0 K.Hoang 07/01/2021 Add better debug feature. Optimize code and examples to reduce RAM usage
3636
1.3.0 K.Hoang 25/02/2021 Add support to AVR ATMEGA_32U4 such as Leonardo, YUN, ESPLORA, etc.
3737
1.4.0 K.Hoang 01/04/2021 Add support to Adafruit 32U4 and 328(P) such as FEATHER32U4, FEATHER328P, etc.
38+
1.4.1 K.Hoang 02/04/2021 Add support to Sparkfun 32U4, 328(P), 128RFA1 such as AVR_PROMICRO, REDBOT, etc.
3839
*****************************************************************************************************************************/
3940

4041
/*
@@ -121,7 +122,8 @@ void setup()
121122
Serial.begin(115200);
122123
while (!Serial);
123124

124-
Serial.println(F("\nStarting Change_Interval on AVR"));
125+
Serial.print(F("\nStarting Change_Interval on "));
126+
Serial.println(BOARD_TYPE);
125127
Serial.println(TIMER_INTERRUPT_VERSION);
126128
Serial.print(F("CPU Frequency = ")); Serial.print(F_CPU / 1000000); Serial.println(F(" MHz"));
127129

examples/FakeAnalogWrite/FakeAnalogWrite.ino

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
If your data is multiple variables, such as an array and a count, usually interrupts need to be disabled
2323
or the entire sequence of your code which accesses the data.
2424
25-
Version: 1.4.0
25+
Version: 1.4.1
2626
2727
Version Modified By Date Comments
2828
------- ----------- ---------- -----------
@@ -35,6 +35,7 @@
3535
1.2.0 K.Hoang 07/01/2021 Add better debug feature. Optimize code and examples to reduce RAM usage
3636
1.3.0 K.Hoang 25/02/2021 Add support to AVR ATMEGA_32U4 such as Leonardo, YUN, ESPLORA, etc.
3737
1.4.0 K.Hoang 01/04/2021 Add support to Adafruit 32U4 and 328(P) such as FEATHER32U4, FEATHER328P, etc.
38+
1.4.1 K.Hoang 02/04/2021 Add support to Sparkfun 32U4, 328(P), 128RFA1 such as AVR_PROMICRO, REDBOT, etc.
3839
*****************************************************************************************************************************/
3940
/*
4041
Notes:
@@ -202,7 +203,8 @@ void setup()
202203
Serial.begin(115200);
203204
while (!Serial);
204205

205-
Serial.println(F("\nStarting FakeAnalogWrite on AVR"));
206+
Serial.print(F("\nStarting FakeAnalogWrite on "));
207+
Serial.println(BOARD_TYPE);
206208
Serial.println(TIMER_INTERRUPT_VERSION);
207209
Serial.print(F("CPU Frequency = ")); Serial.print(F_CPU / 1000000); Serial.println(F(" MHz"));
208210

examples/ISR_16_Timers_Array_Complex/ISR_16_Timers_Array_Complex.ino

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
If your data is multiple variables, such as an array and a count, usually interrupts need to be disabled
2323
or the entire sequence of your code which accesses the data.
2424
25-
Version: 1.4.0
25+
Version: 1.4.1
2626
2727
Version Modified By Date Comments
2828
------- ----------- ---------- -----------
@@ -35,6 +35,7 @@
3535
1.2.0 K.Hoang 07/01/2021 Add better debug feature. Optimize code and examples to reduce RAM usage
3636
1.3.0 K.Hoang 25/02/2021 Add support to AVR ATMEGA_32U4 such as Leonardo, YUN, ESPLORA, etc.
3737
1.4.0 K.Hoang 01/04/2021 Add support to Adafruit 32U4 and 328(P) such as FEATHER32U4, FEATHER328P, etc.
38+
1.4.1 K.Hoang 02/04/2021 Add support to Sparkfun 32U4, 328(P), 128RFA1 such as AVR_PROMICRO, REDBOT, etc.
3839
*****************************************************************************************************************************/
3940

4041
// These define's must be placed at the beginning before #include "TimerInterrupt.h"
@@ -306,7 +307,8 @@ void setup()
306307
Serial.begin(115200);
307308
while (!Serial);
308309

309-
Serial.println(F("\nStarting ISR_16_Timers_Array_Complex on AVR"));
310+
Serial.print(F("\nStarting ISR_16_Timers_Array_Complex on "));
311+
Serial.println(BOARD_TYPE);
310312
Serial.println(TIMER_INTERRUPT_VERSION);
311313
Serial.print(F("CPU Frequency = ")); Serial.print(F_CPU / 1000000); Serial.println(F(" MHz"));
312314

examples/ISR_RPM_Measure/ISR_RPM_Measure.ino

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
If your data is multiple variables, such as an array and a count, usually interrupts need to be disabled
2323
or the entire sequence of your code which accesses the data.
2424
25-
Version: 1.4.0
25+
Version: 1.4.1
2626
2727
Version Modified By Date Comments
2828
------- ----------- ---------- -----------
@@ -35,6 +35,7 @@
3535
1.2.0 K.Hoang 07/01/2021 Add better debug feature. Optimize code and examples to reduce RAM usage
3636
1.3.0 K.Hoang 25/02/2021 Add support to AVR ATMEGA_32U4 such as Leonardo, YUN, ESPLORA, etc.
3737
1.4.0 K.Hoang 01/04/2021 Add support to Adafruit 32U4 and 328(P) such as FEATHER32U4, FEATHER328P, etc.
38+
1.4.1 K.Hoang 02/04/2021 Add support to Sparkfun 32U4, 328(P), 128RFA1 such as AVR_PROMICRO, REDBOT, etc.
3839
*****************************************************************************************************************************/
3940
/* RPM Measuring uses high frequency hardware timer 1Hz == 1ms) to measure the time from of one rotation, in ms
4041
then convert to RPM. One rotation is detected by reading the state of a magnetic REED SW or IR LED Sensor
@@ -141,7 +142,8 @@ void setup()
141142
Serial.begin(115200);
142143
while (!Serial);
143144

144-
Serial.println(F("\nStarting ISR_RPM_Measure on AVR"));
145+
Serial.print(F("\nStarting ISR_RPM_Measure on "));
146+
Serial.println(BOARD_TYPE);
145147
Serial.println(TIMER_INTERRUPT_VERSION);
146148
Serial.print(F("CPU Frequency = ")); Serial.print(F_CPU / 1000000); Serial.println(F(" MHz"));
147149

examples/ISR_Switch/ISR_Switch.ino

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
If your data is multiple variables, such as an array and a count, usually interrupts need to be disabled
2323
or the entire sequence of your code which accesses the data.
2424
25-
Version: 1.4.0
25+
Version: 1.4.1
2626
2727
Version Modified By Date Comments
2828
------- ----------- ---------- -----------
@@ -35,6 +35,7 @@
3535
1.2.0 K.Hoang 07/01/2021 Add better debug feature. Optimize code and examples to reduce RAM usage
3636
1.3.0 K.Hoang 25/02/2021 Add support to AVR ATMEGA_32U4 such as Leonardo, YUN, ESPLORA, etc.
3737
1.4.0 K.Hoang 01/04/2021 Add support to Adafruit 32U4 and 328(P) such as FEATHER32U4, FEATHER328P, etc.
38+
1.4.1 K.Hoang 02/04/2021 Add support to Sparkfun 32U4, 328(P), 128RFA1 such as AVR_PROMICRO, REDBOT, etc.
3839
*****************************************************************************************************************************/
3940
/****************************************************************************************************************************
4041
ISR_Switch demontrates the use of ISR to avoid being blocked by other CPU-monopolizing task
@@ -258,7 +259,8 @@ void setup()
258259
Serial.begin(115200);
259260
while (!Serial);
260261

261-
Serial.println(F("\nStarting ISR_Switch on AVR"));
262+
Serial.print(F("\nStarting ISR_Switch on "));
263+
Serial.println(BOARD_TYPE);
262264
Serial.println(TIMER_INTERRUPT_VERSION);
263265
Serial.print(F("CPU Frequency = ")); Serial.print(F_CPU / 1000000); Serial.println(F(" MHz"));
264266

examples/ISR_Timer_Complex/ISR_Timer_Complex.ino

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
If your data is multiple variables, such as an array and a count, usually interrupts need to be disabled
2323
or the entire sequence of your code which accesses the data.
2424
25-
Version: 1.4.0
25+
Version: 1.4.1
2626
2727
Version Modified By Date Comments
2828
------- ----------- ---------- -----------
@@ -35,6 +35,7 @@
3535
1.2.0 K.Hoang 07/01/2021 Add better debug feature. Optimize code and examples to reduce RAM usage
3636
1.3.0 K.Hoang 25/02/2021 Add support to AVR ATMEGA_32U4 such as Leonardo, YUN, ESPLORA, etc.
3737
1.4.0 K.Hoang 01/04/2021 Add support to Adafruit 32U4 and 328(P) such as FEATHER32U4, FEATHER328P, etc.
38+
1.4.1 K.Hoang 02/04/2021 Add support to Sparkfun 32U4, 328(P), 128RFA1 such as AVR_PROMICRO, REDBOT, etc.
3839
*****************************************************************************************************************************/
3940

4041
/****************************************************************************************************************************
@@ -226,7 +227,8 @@ void setup()
226227
Serial.begin(115200);
227228
while (!Serial);
228229

229-
Serial.println(F("\nStarting ISR_Timer_Complex on AVR"));
230+
Serial.print(F("\nStarting ISR_Timer_Complex on "));
231+
Serial.println(BOARD_TYPE);
230232
Serial.println(TIMER_INTERRUPT_VERSION);
231233
Serial.print(F("CPU Frequency = ")); Serial.print(F_CPU / 1000000); Serial.println(F(" MHz"));
232234

0 commit comments

Comments
 (0)