Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust pin definition for Heltec WiFi LoRa 32 V1/V2 boards #22

Draft
wants to merge 112 commits into
base: main
Choose a base branch
from

Conversation

amotl
Copy link
Member

@amotl amotl commented Jan 16, 2021

Hi again,

following up on the patch #15 by @SBajonczak (thanks!), I've added this patch based on the recent improvements coming from #21. This currently does not discriminate between Heltec WiFi LoRa 32 vs. Heltec WiFi LoRa 32 V2 boards. When there are changes, we will have to account for appropriate adjustments.

With kind regards,
Andreas.

no more needed with the latest commits at the original HX711 lib from bodge
added hint to updated HX711 lib
copy in other folder
copy in other folder
copy in other folder
copy in other folder
copy in other folder
move historic files to new directory
delet test file
ClemensGruber and others added 27 commits December 18, 2020 17:37
Many thanks to Johannes Kuder!
readme für Übersicht 3D-Druck mit verschiedenen Varianten
fixed some typos
Thanks to Michael!
Drehrichtung im Scroll-Menu umgedreht
Infos zur binär-Datei hinzugefügt
bin-Datei hinzugefügt, wurde mit folgenden Parametern für das Board Heltec ESP32 Arduino > Wifi Kit 32 compiliert:

#define HARDWARE_LEVEL 2        // 1 = originales Layout mit Schalter auf Pin 19/22/21
                                // 2 = Layout für V2 mit Schalter auf Pin 23/19/22
#define SERVO_ERWEITERT         // definieren, falls die Hardware mit dem alten Programmcode mit Poti aufgebaut wurde oder der Servo zu wenig fährt
                                // Sonst bleibt der Servo in Stop-Position einige Grad offen! Nach dem Update erst prüfen!
#define ROTARY_SCALE 2          // in welchen Schritten springt unser Rotary Encoder.
                                // Beispiele: KY-040 = 2, HW-040 = 1, für Poti-Betrieb auf 1 setzen
#define USE_ROTARY              // Rotary benutzen
#define USE_ROTARY_SW           // Taster des Rotary benutzen
Konkretisierung changelog
3D-Teile von JoSef, lieben Dank fürs zur Verfügung stellen!
typo fixed
images added
This will automatically run the build on GitHub Actions.
Thus, it will improve confidence for the authors regarding
all further contributions.
added `^` for 

> any compatible version (new functionality in a backwards compatible manner and patches are allowed, 1.x.x). **RECOMMENDED**

recommended via: https://docs.platformio.org/en/latest/core/userguide/lib/cmd_install.html#description
- A PlatformIO CI badge to show that the build is passing successfully
- A GitHub tag badge to show the most recent release version tag
This uses the most recent versions of the U8g2 and ESP32Servo libraries.

Both libraries are well maintained by their respective authors and
maintainers, so we should use them in favour of outdated libraries
which are no longer maintained.

A little adjustment has been made to one #include statement. The
updated library header file is now called "ESP32Servo.h" instead
of "ESP32_Servo.h".

Also, the servo default settings for the non-"SERVO_ERWEITERT" branch
have been adjusted.
Add badges for PlatformIO CI and GitHub tag
- Fortschrittsanzeige eingebaut
- Servo-Bibliothek geändert, jetzt ESP32Servo aus dem Bibliotheksverwalter und Servo-defaults für die neue Bibliothek angepasst
- PlatformIO-Support an neue Servo-Bibliothek angepasst
This prepares the code base to support three board variants
- Heltec WiFi Kit 32
- Heltec WiFi LoRa 32
- Heltec WiFi LoRa 32 (V2)

It also removes the "HARDWARE_LEVEL" preprocessor definition and
replaces the respective configuration for "HARDWARE_LEVEL == 1"
by a constant "HARDWARE_LAYOUT_LEGACY".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants