Skip to content

Commit

Permalink
RED LED is for ACK packets now.
Browse files Browse the repository at this point in the history
  • Loading branch information
Max-Plastix committed Dec 22, 2021
1 parent 3111c04 commit bcde07a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion main/configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define BATTERY_LOW_VOLTAGE 3.4 // Below this voltage, power off until USB power allows charging

#define LORAWAN_PORT 2 // FPort for Uplink messages -- must match Helium Console Decoder script!
#define LORAWAN_CONFIRMED_EVERY 0 // Send confirmed message for ACK every N messages (0 means never, 1 means always, 2 every-other-one..)
#define LORAWAN_CONFIRMED_EVERY 10 // Send confirmed message for ACK every N messages (0 means never, 1 means always, 2 every-other-one..)
#define LORAWAN_SF DR_SF7 // Spreading factor (recommended DR_SF7 for network map purposes, DR_SF10 is slower/more-reach)

// Uncomment to enable discarding network settings by long pressing second button
Expand Down
2 changes: 1 addition & 1 deletion main/main.ino
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ bool trySend()
}

// SEND a Packet!
digitalWrite(RED_LED, LOW);
// digitalWrite(RED_LED, LOW);

// The first distance-moved is crazy, since has no origin.. don't put it on screen.
if (dist_moved > 1000000)
Expand Down

0 comments on commit bcde07a

Please sign in to comment.