Skip to content

Commit

Permalink
push for 1.0.5 adding custom telemetry
Browse files Browse the repository at this point in the history
  • Loading branch information
SaintSampo committed Nov 9, 2024
1 parent 4561f25 commit bec158e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 61 deletions.
5 changes: 5 additions & 0 deletions PestoLink-Receive.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ bool PestoLinkParser::keyHeld(Key key) {
return false;
}

void PestoLinkParser::setBatteryVal(float batteryVoltage){
printBatteryVoltage(batteryVoltage);
}


void PestoLinkParser::printBatteryVoltage(float batteryVoltage){
char voltageString[8]; // Array to hold the resulting string

Expand Down
1 change: 1 addition & 0 deletions PestoLink-Receive.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ class PestoLinkParser {
bool buttonHeld(uint8_t button_num);
bool keyHeld(Key key);

void setBatteryVal(float batteryVoltage);
void printBatteryVoltage(float batteryVoltage);
void print(const char *telemetry, const char *hexCode = "0x808080");
private:
Expand Down
60 changes: 0 additions & 60 deletions examples/NoU2-ArcadeBot/NoU2-ArcadeBot.ino

This file was deleted.

2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=PestoLink-Receive
version=1.0.4
version=1.0.5
author=Alfredo Systems
maintainer=Jacob Williams ([email protected])
sentence=Library for communicating over BLE to PestoLink-Online.
Expand Down

0 comments on commit bec158e

Please sign in to comment.