Skip to content

Commit bd19150

Browse files
committed
Housekeeping for ATtinies and ESP32
1 parent 95a29e4 commit bd19150

File tree

36 files changed

+244
-208
lines changed

36 files changed

+244
-208
lines changed

.github/workflows/LibraryBuild.yml

Lines changed: 49 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,13 @@ jobs:
6060
- arduino:mbed:nano33ble
6161
- arduino:mbed_rp2040:pico
6262
- rp2040:rp2040:arduino_nano_connect
63-
# - ATTinyCore:avr:attinyx5micr:LTO=enable,sketchclock=16pll
64-
# - ATTinyCore:avr:attinyx7micr:LTO=enable,sketchclock=16external,pinmapping=new,millis=enabled
65-
# - ATTinyCore:avr:attinyx8micr:LTO=enable,sketchclock=16external,pinmapping=mhtiny,millis=enabled # ATtiny88 China clone board @16 MHz
63+
- ATTinyCore:avr:attinyx5micr:LTO=enable,sketchclock=16pll
64+
- ATTinyCore:avr:attinyx7micr:LTO=enable,sketchclock=16external,pinmapping=new,millis=enabled
65+
- ATTinyCore:avr:attinyx8micr:LTO=enable,sketchclock=16external,pinmapping=mhtiny,millis=enabled # ATtiny88 China clone board @16 MHz
6666
- MegaCore:avr:128:bootloader=no_bootloader,eeprom=keep,BOD=2v7,LTO=Os_flto,clock=8MHz_internal # ATmega128
6767
- SparkFun:avr:promicro
68-
# - megaTinyCore:megaavr:atxy4:chip=1604,clock=16internal # https://github.com/SpenceKonde/megaTinyCore/issues/935
69-
# - megaTinyCore:megaavr:atxy7:chip=3217,clock=16internal # https://github.com/SpenceKonde/megaTinyCore/issues/935
68+
- megaTinyCore:megaavr:atxy4:chip=1604,clock=16internal
69+
- megaTinyCore:megaavr:atxy7:chip=3217,clock=16internal
7070
- esp8266:esp8266:d1_mini:eesz=4M3M,xtal=80
7171
- esp32:esp32:featheresp32:FlashFreq=80
7272
- esp32:esp32:esp32c3
@@ -176,45 +176,43 @@ jobs:
176176
#
177177
# megaTinyCore
178178
#
179-
# https://github.com/SpenceKonde/megaTinyCore/issues/935
180-
# - arduino-boards-fqbn: megaTinyCore:megaavr:atxy4:chip=1604,clock=16internal
181-
# arduino-platform: megaTinyCore:megaavr
182-
# platform-url: http://drazzy.com/package_drazzy.com_index.json
183-
# sketches-exclude: AllProtocolsOnLCD
184-
# build-properties: # the flags were put in compiler.cpp.extra_flags
185-
# IRremoteExtensionTest: -DRAW_BUFFER_LENGTH=360
186-
187-
# https://github.com/SpenceKonde/megaTinyCore/issues/935
188-
# - arduino-boards-fqbn: megaTinyCore:megaavr:atxy7:chip=3217,clock=16internal
189-
# arduino-platform: megaTinyCore:megaavr
190-
# platform-url: http://drazzy.com/package_drazzy.com_index.json
191-
# sketches-exclude: AllProtocolsOnLCD
192-
# build-properties: # the flags were put in compiler.cpp.extra_flags
193-
# IRremoteExtensionTest: -DRAW_BUFFER_LENGTH=360
179+
- arduino-boards-fqbn: megaTinyCore:megaavr:atxy4:chip=1604,clock=16internal
180+
arduino-platform: megaTinyCore:megaavr
181+
platform-url: http://drazzy.com/package_drazzy.com_index.json
182+
sketches-exclude: AllProtocolsOnLCD,UnitTest # UnitTest region `text' overflowed by 997 bytes
183+
build-properties: # the flags were put in compiler.cpp.extra_flags
184+
IRremoteExtensionTest: -DRAW_BUFFER_LENGTH=360
185+
186+
- arduino-boards-fqbn: megaTinyCore:megaavr:atxy7:chip=3217,clock=16internal
187+
arduino-platform: megaTinyCore:megaavr
188+
platform-url: http://drazzy.com/package_drazzy.com_index.json
189+
sketches-exclude: AllProtocolsOnLCD
190+
build-properties: # the flags were put in compiler.cpp.extra_flags
191+
IRremoteExtensionTest: -DRAW_BUFFER_LENGTH=360
194192

195193
#
196194
# ATTinyCore
197195
#
198-
# - arduino-boards-fqbn: ATTinyCore:avr:attinyx5micr:LTO=enable,sketchclock=16pll
199-
# platform-url: http://drazzy.com/package_drazzy.com_index.json
200-
# required-libraries: ATtinySerialOut
201-
# sketch-names: TinyReceiver.ino,IRremoteInfo.ino,SimpleReceiver.ino,ReceiveDemo.ino,ControlRelay.ino,SimpleSender.ino,SendDemo.ino,SendRawDemo.ino,SendAndReceive.ino
202-
# build-properties: # the flags were put in compiler.cpp.extra_flags
203-
# SimpleSender: -DSEND_PWM_BY_TIMER
204-
205-
# - arduino-boards-fqbn: ATTinyCore:avr:attinyx7micr:LTO=enable,sketchclock=16external,pinmapping=new,millis=enabled
206-
# platform-url: http://drazzy.com/package_drazzy.com_index.json
207-
# required-libraries: ATtinySerialOut
208-
# sketch-names: TinyReceiver.ino,IRremoteInfo.ino,SimpleReceiver.ino,ReceiveDemo.ino,ControlRelay.ino,SimpleSender.ino,SendDemo.ino,SendRawDemo.ino,SendAndReceive.ino
209-
# build-properties: # the flags were put in compiler.cpp.extra_flags
210-
# SimpleSender: -DSEND_PWM_BY_TIMER
211-
212-
# - arduino-boards-fqbn: ATTinyCore:avr:attinyx8micr:LTO=enable,sketchclock=16external,pinmapping=mhtiny,millis=enabled # ATtiny88 China clone board @16 MHz
213-
# platform-url: http://drazzy.com/package_drazzy.com_index.json
214-
# required-libraries: ATtinySerialOut
215-
# sketch-names: TinyReceiver.ino,IRremoteInfo.ino,SimpleReceiver.ino,ReceiveDemo.ino,ControlRelay.ino,SimpleSender.ino,SendDemo.ino,SendRawDemo.ino,SendAndReceive.ino
216-
# build-properties: # the flags were put in compiler.cpp.extra_flags
217-
# SimpleSender: -DSEND_PWM_BY_TIMER
196+
- arduino-boards-fqbn: ATTinyCore:avr:attinyx5micr:LTO=enable,sketchclock=16pll
197+
platform-url: http://drazzy.com/package_drazzy.com_index.json
198+
required-libraries: ATtinySerialOut
199+
sketch-names: TinyReceiver.ino,IRremoteInfo.ino,SimpleReceiver.ino,ReceiveDemo.ino,ControlRelay.ino,SimpleSender.ino,SendDemo.ino,SendRawDemo.ino,SendAndReceive.ino,SimpleReceiverForHashCodes.ino
200+
build-properties: # the flags were put in compiler.cpp.extra_flags
201+
SimpleSender: -DSEND_PWM_BY_TIMER
202+
203+
- arduino-boards-fqbn: ATTinyCore:avr:attinyx7micr:LTO=enable,sketchclock=16external,pinmapping=new,millis=enabled
204+
platform-url: http://drazzy.com/package_drazzy.com_index.json
205+
required-libraries: ATtinySerialOut
206+
sketch-names: TinyReceiver.ino,IRremoteInfo.ino,SimpleReceiver.ino,ReceiveDemo.ino,ControlRelay.ino,SimpleSender.ino,SendDemo.ino,SendRawDemo.ino,SendAndReceive.ino,SimpleReceiverForHashCodes.ino
207+
build-properties: # the flags were put in compiler.cpp.extra_flags
208+
SimpleSender: -DSEND_PWM_BY_TIMER
209+
210+
- arduino-boards-fqbn: ATTinyCore:avr:attinyx8micr:LTO=enable,sketchclock=16external,pinmapping=mhtiny,millis=enabled # ATtiny88 China clone board @16 MHz
211+
platform-url: http://drazzy.com/package_drazzy.com_index.json
212+
required-libraries: ATtinySerialOut
213+
sketch-names: TinyReceiver.ino,IRremoteInfo.ino,SimpleReceiver.ino,ReceiveDemo.ino,ControlRelay.ino,SimpleSender.ino,SendDemo.ino,SendRawDemo.ino,SendAndReceive.ino,SimpleReceiverForHashCodes.ino
214+
build-properties: # the flags were put in compiler.cpp.extra_flags
215+
SimpleSender: -DSEND_PWM_BY_TIMER
218216

219217
#
220218
# MegaCore
@@ -237,19 +235,19 @@ jobs:
237235

238236
- arduino-boards-fqbn: esp32:esp32:featheresp32:FlashFreq=80
239237
platform-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
240-
arduino-platform: esp32:[email protected] # latest 2.x version as of 5/2024
238+
# arduino-platform: esp32:[email protected] # latest 2.x version as of 5/2024
241239
sketches-exclude: TinyReceiver # undefined reference to `TwoWire::onReceive(void (*)(int))'
242240
build-properties: # the flags were put in compiler.cpp.extra_flags. SEND_PWM_BY_TIMER is always enabled!
243-
IRremoteExtensionTest: -Wno-error=maybe-uninitialized
244-
All: -DRAW_BUFFER_LENGTH=750 -Wno-error=maybe-uninitialized # https://github.com/espressif/arduino-esp32/issues/7024
241+
IRremoteExtensionTest: -MMD -c # see https://github.com/espressif/arduino-esp32/issues/8815
242+
All: -DRAW_BUFFER_LENGTH=750 -MMD -c
245243

246244
- arduino-boards-fqbn: esp32:esp32:esp32c3
247245
platform-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
248-
arduino-platform: esp32:[email protected] # latest 2.x version as of 5/2024
246+
# arduino-platform: esp32:[email protected] # latest 2.x version as of 5/2024
249247
sketches-exclude: TinyReceiver # undefined reference to `TwoWire::onReceive(void (*)(int))'
250248
build-properties: # the flags were put in compiler.cpp.extra_flags. SEND_PWM_BY_TIMER is always enabled!
251-
IRremoteExtensionTest: -Wno-error=maybe-uninitialized
252-
All: -DRAW_BUFFER_LENGTH=750 -Wno-error=maybe-uninitialized # https://github.com/espressif/arduino-esp32/issues/7024
249+
IRremoteExtensionTest: -MMD -c # see https://github.com/espressif/arduino-esp32/issues/8815
250+
All: -DRAW_BUFFER_LENGTH=750 -MMD -c
253251

254252
#
255253
# STM
@@ -303,10 +301,12 @@ jobs:
303301
uses: ArminJo/arduino-test-compile@master
304302
with:
305303
arduino-board-fqbn: ${{ matrix.arduino-boards-fqbn }}
306-
arduino-platform: ${{ matrix.arduino-platform }}
304+
arduino-platform: ${{ matrix.arduino-platform }} # for MegaCore
307305
platform-url: ${{ matrix.platform-url }}
308306
required-libraries: ${{ matrix.required-libraries }}
309-
sketch-names: ${{ matrix.sketch-names }}
307+
sketch-names: ${{ matrix.sketch-names }} # Comma separated list of sketch names (without path, but with extension) or patterns to use in build
310308
sketches-exclude: ${{ matrix.sketches-exclude }}
311309
build-properties: ${{ toJson(matrix.build-properties) }}
312-
cli-version: 0.33.0 # to avoid errors for ATTinyCore
310+
# cli-version: 0.33.0 # to avoid errors for ATTinyCore
311+
# debug-install: true
312+
# debug-compile: true

README.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ Available as [Arduino library "IRremote"](https://www.arduinolibraries.info/libr
4141
* [Staying on 2.x](https://github.com/Arduino-IRremote/Arduino-IRremote?tab=readme-ov-file#staying-on-2x)
4242
- [Why *.hpp instead of *.cpp](https://github.com/Arduino-IRremote/Arduino-IRremote?tab=readme-ov-file#why-hpp-instead-of-cpp)
4343
- [Using the new *.hpp files](https://github.com/Arduino-IRremote/Arduino-IRremote?tab=readme-ov-file#using-the-new-hpp-files)
44+
- [Tutorials](https://github.com/Arduino-IRremote/Arduino-IRremote?tab=readme-ov-file#3tutorials)
4445
- [3 ways to specify an IR code](https://github.com/Arduino-IRremote/Arduino-IRremote?tab=readme-ov-file#3-ways-to-specify-an-ir-code)
4546
- [IRReceiver pinouts](https://github.com/Arduino-IRremote/Arduino-IRremote?tab=readme-ov-file#irreceiver-pinouts)
4647
- [Receiving IR codes](https://github.com/Arduino-IRremote/Arduino-IRremote?tab=readme-ov-file#receiving-ir-codes)
@@ -49,7 +50,7 @@ Available as [Arduino library "IRremote"](https://www.arduinolibraries.info/libr
4950
* [RAM usage of different protocolsl](https://github.com/Arduino-IRremote/Arduino-IRremote?tab=readme-ov-file#ram-usage-of-different-protocols)
5051
* [Handling unknown Protocols](https://github.com/Arduino-IRremote/Arduino-IRremote?tab=readme-ov-file#handling-unknown-protocols)
5152
* [Disclaimer](https://github.com/Arduino-IRremote/Arduino-IRremote?tab=readme-ov-file#disclaimer)
52-
* [Other libraries](https://github.com/Arduino-IRremote/Arduino-IRremote?tab=readme-ov-file#other-libraries)
53+
* [Other libraries, which may cover these protocols](https://github.com/Arduino-IRremote/Arduino-IRremote?tab=readme-ov-file#other-libraries-which-may-cover-these-protocols)
5354
* [Protocol=PULSE_DISTANCE](https://github.com/Arduino-IRremote/Arduino-IRremote?tab=readme-ov-file#protocolpulse_distance)
5455
* [Protocol=UNKNOWN](https://github.com/Arduino-IRremote/Arduino-IRremote?tab=readme-ov-file#protocolunknown)
5556
* [How to deal with protocols not supported by IRremote](https://github.com/Arduino-IRremote/Arduino-IRremote?tab=readme-ov-file#how-to-deal-with-protocols-not-supported-by-irremote)
@@ -64,7 +65,7 @@ Available as [Arduino library "IRremote"](https://www.arduinolibraries.info/libr
6465
* [Receiving sets overflow flag](https://github.com/Arduino-IRremote/Arduino-IRremote?tab=readme-ov-file#receiving-sets-overflow-flag)
6566
* [Problems with Neopixels, FastLed etc.](https://github.com/Arduino-IRremote/Arduino-IRremote?tab=readme-ov-file#problems-with-neopixels-fastled-etc)
6667
* [Does not work/compile with another library](https://github.com/Arduino-IRremote/Arduino-IRremote?tab=readme-ov-file#does-not-workcompile-with-another-library)
67-
* [Multiple IR receiver](https://github.com/Arduino-IRremote/Arduino-IRremote?tab=readme-ov-file#multiple-ir-receiver)
68+
* [Multiple IR receiver and sender instances](https://github.com/Arduino-IRremote/Arduino-IRremote?tab=readme-ov-file#multiple-ir-receiver-and-sender-instances)
6869
* [Increase strength of sent output signal](https://github.com/Arduino-IRremote/Arduino-IRremote?tab=readme-ov-file#increase-strength-of-sent-output-signal)
6970
* [Minimal CPU clock frequency](https://github.com/Arduino-IRremote/Arduino-IRremote?tab=readme-ov-file#minimal-cpu-clock-frequency)
7071
* [Bang & Olufsen protocol](https://github.com/Arduino-IRremote/Arduino-IRremote?tab=readme-ov-file#bang--olufsen-protocol)
@@ -304,6 +305,10 @@ The following macros will definitely be overridden with default values otherwise
304305

305306
<br/>
306307

308+
# Tutorials
309+
- A very elaborated introduction to IR remotes and IRremote library from [DroneBot Workshop ](https://dronebotworkshop.com/ir-remotes/).
310+
311+
307312
# 3 ways to specify an IR code
308313
There are 3 different ways of specifying a particular IR code.
309314

@@ -458,7 +463,7 @@ If the record gap determined by `RECORD_GAP_MICROS` is changed from the default
458463
Use the **ReceiveDemo example** to print out all informations about your IR protocol.<br/>
459464
The **ReceiveDump example** gives you more information but has bad repeat detection due to the time required for printing the information.
460465

461-
### Other libraries
466+
### Other libraries, which may cover these protocols
462467
#### IRMP
463468
If your protocol seems not to be supported by this library, you may try the [IRMP library](https://github.com/IRMP-org/IRMP), which especially supports manchester protocols much better.
464469

@@ -668,7 +673,7 @@ There are some other solutions to this on more powerful processors,
668673
**Another library is only working/compiling** if you deactivate the line `IrReceiver.begin(IR_RECEIVE_PIN, ENABLE_LED_FEEDBACK);`.<br/>
669674
This is often due to **timer resource conflicts** with the other library. Please see [below](https://github.com/Arduino-IRremote/Arduino-IRremote?tab=readme-ov-file#timer-and-pin-usage).
670675

671-
## Multiple IR receiver and sender
676+
## Multiple IR receiver and sender instances
672677
**This library supports only one IR receiver and one IR sender object (IRrecv and IRsend) per CPU.**<br/>
673678
However since sending is a serial task, you can use `setSendPin()` to switch the pin to send, thus emulating multiple sender.<br/>
674679
The receiver uses a special **timer** triggered function, which reads the digital IR signal value from one pin every 50 &micro;s.<br/>

changelog.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@
22
The latest version may not be released!
33
See also the commit log at github: https://github.com/Arduino-IRremote/Arduino-IRremote/commits/master
44

5+
# 4.4.2
6+
57
# 4.4.1
6-
- Support for ESP 3.0 by akellai.
8+
- Support for ESP core 3.x by akellai.
79
- restartTimer() now uses variable sMicrosAtLastStopTimer to keep track of uncounted ticks between stopTimer() and restartTimer().
810
- Removed functions addTicksToInternalTickCounter() and addMicrosToInternalTickCounter(), which were added in 4.1.0.
911
- Version 2.2.0 of TinyIR with new TinyReceiverDecode() function to be used as drop in for IrReceiver.decode().

examples/AllProtocolsOnLCD/PinDefinitionsAndMore.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
* ATtiny167 9|PA3 8|PA2 5|PA7 Digispark original core
3636
* ATtiny84 |PB2 |PA4 |PA3 ATTinyCore
3737
* ATtiny88 3|PD3 4|PD4 9|PB1 ATTinyCore
38-
* ATtiny3217 18|PA1 19|PA2 20|PA3 MegaTinyCore
38+
* ATtiny3216 14|PA1 15|PA2 16|PA3 MegaTinyCore
3939
* ATtiny1604 2 3|PA5 %
4040
* ATtiny816 14|PA1 16|PA3 1|PA5 MegaTinyCore
4141
* ATtiny1614 8|PA1 10|PA3 1|PA5 MegaTinyCore
@@ -93,10 +93,10 @@
9393
// Tiny Core Dev board
9494
// https://www.tindie.com/products/xkimi/tiny-core-16-dev-board-attiny1616/ - Out of Stock
9595
// https://www.tindie.com/products/xkimi/tiny-core-32-dev-board-attiny3217/ - Out of Stock
96-
#define IR_RECEIVE_PIN PIN_PA1 // use 18 instead of PIN_PA1 for TinyCore32
97-
#define IR_SEND_PIN PIN_PA2 // 19
98-
#define TONE_PIN PIN_PA3 // 20
99-
#define APPLICATION_PIN PIN_PA0 // 0
96+
#define IR_RECEIVE_PIN PIN_PA1 // 14 use 18 instead of PIN_PA1 for TinyCore32
97+
#define IR_SEND_PIN PIN_PA2 // 15, 19 for TinyCore32
98+
#define TONE_PIN PIN_PA3 // 16, 20 for TinyCore32
99+
#define APPLICATION_PIN PIN_PC3 // 13, PIN_PA0 is RESET
100100
#undef LED_BUILTIN // No LED available on the TinyCore 32 board, take the one on the programming board which is connected to the DAC output
101101
#define LED_BUILTIN PIN_PA6 // use 2 instead of PIN_PA6 for TinyCore32
102102

examples/ControlRelay/PinDefinitionsAndMore.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
* ATtiny167 9|PA3 8|PA2 5|PA7 Digispark original core
3636
* ATtiny84 |PB2 |PA4 |PA3 ATTinyCore
3737
* ATtiny88 3|PD3 4|PD4 9|PB1 ATTinyCore
38-
* ATtiny3217 18|PA1 19|PA2 20|PA3 MegaTinyCore
38+
* ATtiny3216 14|PA1 15|PA2 16|PA3 MegaTinyCore
3939
* ATtiny1604 2 3|PA5 %
4040
* ATtiny816 14|PA1 16|PA3 1|PA5 MegaTinyCore
4141
* ATtiny1614 8|PA1 10|PA3 1|PA5 MegaTinyCore
@@ -93,10 +93,10 @@
9393
// Tiny Core Dev board
9494
// https://www.tindie.com/products/xkimi/tiny-core-16-dev-board-attiny1616/ - Out of Stock
9595
// https://www.tindie.com/products/xkimi/tiny-core-32-dev-board-attiny3217/ - Out of Stock
96-
#define IR_RECEIVE_PIN PIN_PA1 // use 18 instead of PIN_PA1 for TinyCore32
97-
#define IR_SEND_PIN PIN_PA2 // 19
98-
#define TONE_PIN PIN_PA3 // 20
99-
#define APPLICATION_PIN PIN_PA0 // 0
96+
#define IR_RECEIVE_PIN PIN_PA1 // 14 use 18 instead of PIN_PA1 for TinyCore32
97+
#define IR_SEND_PIN PIN_PA2 // 15, 19 for TinyCore32
98+
#define TONE_PIN PIN_PA3 // 16, 20 for TinyCore32
99+
#define APPLICATION_PIN PIN_PC3 // 13, PIN_PA0 is RESET
100100
#undef LED_BUILTIN // No LED available on the TinyCore 32 board, take the one on the programming board which is connected to the DAC output
101101
#define LED_BUILTIN PIN_PA6 // use 2 instead of PIN_PA6 for TinyCore32
102102

examples/IRDispatcherDemo/PinDefinitionsAndMore.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
* ATtiny167 9|PA3 8|PA2 5|PA7 Digispark original core
3636
* ATtiny84 |PB2 |PA4 |PA3 ATTinyCore
3737
* ATtiny88 3|PD3 4|PD4 9|PB1 ATTinyCore
38-
* ATtiny3217 18|PA1 19|PA2 20|PA3 MegaTinyCore
38+
* ATtiny3216 14|PA1 15|PA2 16|PA3 MegaTinyCore
3939
* ATtiny1604 2 3|PA5 %
4040
* ATtiny816 14|PA1 16|PA3 1|PA5 MegaTinyCore
4141
* ATtiny1614 8|PA1 10|PA3 1|PA5 MegaTinyCore
@@ -93,10 +93,10 @@
9393
// Tiny Core Dev board
9494
// https://www.tindie.com/products/xkimi/tiny-core-16-dev-board-attiny1616/ - Out of Stock
9595
// https://www.tindie.com/products/xkimi/tiny-core-32-dev-board-attiny3217/ - Out of Stock
96-
#define IR_RECEIVE_PIN PIN_PA1 // use 18 instead of PIN_PA1 for TinyCore32
97-
#define IR_SEND_PIN PIN_PA2 // 19
98-
#define TONE_PIN PIN_PA3 // 20
99-
#define APPLICATION_PIN PIN_PA0 // 0
96+
#define IR_RECEIVE_PIN PIN_PA1 // 14 use 18 instead of PIN_PA1 for TinyCore32
97+
#define IR_SEND_PIN PIN_PA2 // 15, 19 for TinyCore32
98+
#define TONE_PIN PIN_PA3 // 16, 20 for TinyCore32
99+
#define APPLICATION_PIN PIN_PC3 // 13, PIN_PA0 is RESET
100100
#undef LED_BUILTIN // No LED available on the TinyCore 32 board, take the one on the programming board which is connected to the DAC output
101101
#define LED_BUILTIN PIN_PA6 // use 2 instead of PIN_PA6 for TinyCore32
102102

0 commit comments

Comments
 (0)