Skip to content

Commit

Permalink
Fix frequencies
Browse files Browse the repository at this point in the history
  • Loading branch information
xreef committed Apr 27, 2022
1 parent 656ee31 commit 6c57124
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion LoRa_E22.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* EBYTE LoRa E22 Series
*
* AUTHOR: Renzo Mischianti
* VERSION: 1.0.6
* VERSION: 1.0.7
*
* https://www.mischianti.org
*
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@


## Changelog
- 2022-03-14 1.0.7 Fix frequencies
- 2022-03-14 1.0.6 Fix support for STM32
- 2022-03-14 1.0.5 Fix UART baud rate variable limit
- 2022-02-23 1.0.4 Add Arduino NANO 33 BLE support and minor change
- 2022-02-03 1.0.3 Fix file example length
Expand Down
12 changes: 6 additions & 6 deletions includes/statesNaming.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

#ifdef FREQUENCY_433
#define OPERATING_FREQUENCY 410
#elif defined(FREQUENCY_170)
#define OPERATING_FREQUENCY 130
#elif defined(FREQUENCY_470)
#define OPERATING_FREQUENCY 370
#elif defined(FREQUENCY_400)
#define OPERATING_FREQUENCY 410
#elif defined(FREQUENCY_230)
#define OPERATING_FREQUENCY 220
#elif defined(FREQUENCY_868)
#define OPERATING_FREQUENCY 862
#define OPERATING_FREQUENCY 850
#elif defined(FREQUENCY_915)
#define OPERATING_FREQUENCY 900
#define OPERATING_FREQUENCY 850
#else
#define OPERATING_FREQUENCY 410
#endif
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=EByte LoRa E22 library
version=1.0.6
version=1.0.7
author=Renzo Mischianti <[email protected]>
maintainer=Renzo Mischianti <[email protected]>
sentence=LoRa EBYTE E22 device library complete and tested with Arduino, Arduino SAMD (Nano 33 IoT and MKR), esp8266, esp32 and STM32. sx1262/sx1268
Expand Down

0 comments on commit 6c57124

Please sign in to comment.