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

Commit 76fcb99

Browse files
committed
Removed 'EnableInterrupt' 3rd-party library from example as it's badly written.
1 parent 57ff698 commit 76fcb99

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+1
-7007
lines changed

examples/3rd-party-library/3rd_party.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
#include <Arduino.h>
22
#include "NeoPixelTest.hpp"
33
#include "GFXTest.h"
4-
#include "InterruptTest.hpp"
54

65
void setup()
76
{
87
testNeoPixel();
98
testGFX();
10-
testEnableInterrupt();
119
}
1210

1311
void loop()

examples/3rd-party-library/CMakeLists.txt

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ get_board_id(board_id nano atmega328)
55

66
# First, declare and create our executable - It'll use 4 sources
77
add_arduino_executable(3rd_Party_Arduino_Library ${board_id} 3rd_party.cpp
8-
NeoPixelTest.cpp GFXTest.cpp InterruptTest.cpp)
8+
NeoPixelTest.cpp GFXTest.cpp)
99
target_include_directories(3rd_Party_Arduino_Library PRIVATE include)
1010

1111
# Add the "NeoPixel" library manually using the library addition API
@@ -20,10 +20,6 @@ find_arduino_library(Adafruit_GFX Adafruit-GFX-Library ${board_id} 3RD_PARTY)
2020
# as only root dir and 'src' sub-dir are added by default
2121
target_source_directories(Adafruit_GFX DIRS libraries/Adafruit-GFX-Library/Fonts)
2222

23-
# Find the "EnableInterrupt" a header-only library
24-
find_arduino_library(EnableInterrupt EnableInterrupt ${board_id} 3RD_PARTY HEADER_ONLY)
25-
2623
# Link all libraries to our previously created target
2724
link_arduino_library(3rd_Party_Arduino_Library Adafruit_NeoPixel ${board_id})
2825
link_arduino_library(3rd_Party_Arduino_Library Adafruit_GFX ${board_id})
29-
link_arduino_library(3rd_Party_Arduino_Library EnableInterrupt ${board_id} HEADER_ONLY)

examples/3rd-party-library/InterruptTest.cpp

Lines changed: 0 additions & 11 deletions
This file was deleted.

examples/3rd-party-library/include/InterruptTest.hpp

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)