Skip to content

Commit

Permalink
Merge pull request #5 from /issues/1
Browse files Browse the repository at this point in the history
Closes Issues/1
  • Loading branch information
Erriez authored Apr 25, 2021
2 parents f470cd6 + 37371c1 commit 791ecd5
Show file tree
Hide file tree
Showing 15 changed files with 29 additions and 76 deletions.
18 changes: 10 additions & 8 deletions .auto-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,18 @@ function autobuild()
BOARDS_AVR="--board uno --board micro --board miniatmega328 --board nanoatmega328new --board pro16MHzatmega328 --board pro8MHzatmega328 --board megaatmega2560 --board leonardo"
BOARDS_ARM="--board due"
BOARDS_ESP="--board d1_mini --board nodemcuv2 --board lolin_d32"
BOARDS_SAMD="--board sparkfun_samd21_mini_usb"
BOARDS_STM32="--board blackpill_f103c8"

echo "Building examples..."
platformio ci --lib="." ${BOARDS_AVR} ${BOARDS_ARM} ${BOARDS_ESP} examples/Interrupt/InterruptFullStepBasic/InterruptFullStepBasic.ino
platformio ci --lib="." ${BOARDS_AVR} ${BOARDS_ARM} ${BOARDS_ESP} examples/Interrupt/InterruptFullStepButton/InterruptFullStepButton.ino
platformio ci --lib="." ${BOARDS_AVR} ${BOARDS_ARM} ${BOARDS_ESP} examples/Interrupt/InterruptFullStepCounter/InterruptFullStepCounter.ino

platformio ci --lib="." ${BOARDS_AVR} ${BOARDS_ARM} ${BOARDS_ESP} examples/Polled/PolledFullStepBasic/PolledFullStepBasic.ino
platformio ci --lib="." ${BOARDS_AVR} ${BOARDS_ARM} ${BOARDS_ESP} examples/Polled/PolledFullStepButton/PolledFullStepButton.ino
platformio ci --lib="." ${BOARDS_AVR} ${BOARDS_ARM} ${BOARDS_ESP} examples/Polled/PolledFullStepCounter/PolledFullStepCounter.ino
platformio ci --lib="." ${BOARDS_AVR} ${BOARDS_ARM} ${BOARDS_ESP} examples/Polled/PolledFullStepMultiple/PolledFullStepMultiple.ino
platformio ci --lib="." ${BOARDS_AVR} ${BOARDS_ARM} ${BOARDS_ESP} ${BOARDS_SAMD} ${BOARDS_STM32} examples/Interrupt/InterruptFullStepBasic/InterruptFullStepBasic.ino
platformio ci --lib="." ${BOARDS_AVR} ${BOARDS_ARM} ${BOARDS_ESP} ${BOARDS_SAMD} ${BOARDS_STM32} examples/Interrupt/InterruptFullStepButton/InterruptFullStepButton.ino
platformio ci --lib="." ${BOARDS_AVR} ${BOARDS_ARM} ${BOARDS_ESP} ${BOARDS_SAMD} ${BOARDS_STM32} examples/Interrupt/InterruptFullStepCounter/InterruptFullStepCounter.ino

platformio ci --lib="." ${BOARDS_AVR} ${BOARDS_ARM} ${BOARDS_ESP} ${BOARDS_SAMD} ${BOARDS_STM32} examples/Polled/PolledFullStepBasic/PolledFullStepBasic.ino
platformio ci --lib="." ${BOARDS_AVR} ${BOARDS_ARM} ${BOARDS_ESP} ${BOARDS_SAMD} ${BOARDS_STM32} examples/Polled/PolledFullStepButton/PolledFullStepButton.ino
platformio ci --lib="." ${BOARDS_AVR} ${BOARDS_ARM} ${BOARDS_ESP} ${BOARDS_SAMD} ${BOARDS_STM32} examples/Polled/PolledFullStepCounter/PolledFullStepCounter.ino
platformio ci --lib="." ${BOARDS_AVR} ${BOARDS_ARM} ${BOARDS_ESP} ${BOARDS_SAMD} ${BOARDS_STM32} examples/Polled/PolledFullStepMultiple/PolledFullStepMultiple.ino
}

function generate_doxygen()
Expand Down
55 changes: 0 additions & 55 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ PROJECT_NAME = "Erriez Full step Rotary Encoder"
# could be handy for archiving the generated documentation or if some version
# control system is used.

PROJECT_NUMBER = 1.1.0
PROJECT_NUMBER = 1.1.1

# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a
Expand Down
Binary file modified ErriezRotaryEncoderFullStep.pdf
Binary file not shown.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Connect the two rotary pins to the DIGITAL pins of an Arduino board.

A third rotary button pin is not used in the Rotary library, but can be used in the sketch.

Tested with Arduino IDE v1.8.5 on hardware:
Tested with Arduino IDE v1.8.13 on hardware:

* Arduino UNO
* Arduino Nano
Expand All @@ -38,6 +38,12 @@ Tested with Arduino IDE v1.8.5 on hardware:
* Arduino Leonardo
* WeMos D1 R2 & mini (ESP8266)

Other supported targets:
* ESP8266
* ESP32
* SAMD21
* STM32F1


### Interrupts

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2018-2020 Erriez
* Copyright (c) 2018-2021 Erriez
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2018-2020 Erriez
* Copyright (c) 2018-2021 Erriez
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2018-2020 Erriez
* Copyright (c) 2018-2021 Erriez
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2018-2020 Erriez
* Copyright (c) 2018-2021 Erriez
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2018-2020 Erriez
* Copyright (c) 2018-2021 Erriez
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2018-2020 Erriez
* Copyright (c) 2018-2021 Erriez
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2018-2020 Erriez
* Copyright (c) 2018-2021 Erriez
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=Erriez Rotary Encoder Full Step
version=1.1.0
version=1.1.1
author=Erriez <[email protected]>
maintainer=Erriez <[email protected]>
sentence=Rotary Encoder Full Step library for Arduino
Expand Down
4 changes: 2 additions & 2 deletions src/ErriezRotaryFullStep.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2018-2020 Erriez
* Copyright (c) 2018-2021 Erriez
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -30,7 +30,7 @@
* Documentation: https://erriez.github.io/ErriezRotaryEncoderFullStep
*/

#if (defined(__AVR__) || defined(ARDUINO_ARCH_SAM))
#if (defined(__AVR__) || defined(ARDUINO_ARCH_SAM) || defined(ARDUINO_ARCH_SAMD) || defined(ARDUINO_ARCH_STM32F1))
#include <avr/pgmspace.h>
#else
#include <pgmspace.h>
Expand Down
2 changes: 1 addition & 1 deletion src/ErriezRotaryFullStep.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2018-2020 Erriez
* Copyright (c) 2018-2021 Erriez
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down

0 comments on commit 791ecd5

Please sign in to comment.