Skip to content

Commit 641663f

Browse files
authored
update pysquared (#9)
1 parent 4044dfb commit 641663f

File tree

5 files changed

+11
-6
lines changed

5 files changed

+11
-6
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
PYSQUARED_VERSION ?= v2.0.0-alpha-25w26-2
1+
PYSQUARED_VERSION ?= v2.0.0-alpha-25w29
22
PYSQUARED ?= git+https://github.com/proveskit/pysquared@$(PYSQUARED_VERSION)
33
BOARD_MOUNT_POINT ?= ""
44
BOARD_TTY_PORT ?= ""
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
class Register:
22
boot_count = 0
33
error_count = 1
4+
message_count = 2

src/flight-software/main.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@
120120
logger,
121121
uhf_radio,
122122
config.radio.license,
123+
Counter(Register.message_count),
123124
0.2,
124125
)
125126

src/flight-software/repl.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@
2525

2626
import os
2727

28-
from lib.adafruit_drv2605 import DRV2605 ### This is Hacky V5a Devel Stuff###
28+
from lib.adafruit_drv2605 import DRV2605 # This is Hacky V5a Devel Stuff###
2929
from lib.adafruit_mcp230xx.mcp23017 import (
30-
MCP23017, ### This is Hacky V5a Devel Stuff###
30+
MCP23017, # This is Hacky V5a Devel Stuff###
3131
)
32-
from lib.adafruit_mcp9808 import MCP9808 ### This is Hacky V5a Devel Stuff###
33-
from lib.adafruit_tca9548a import TCA9548A ### This is Hacky V5a Devel Stuff###
34-
from lib.adafruit_veml7700 import VEML7700 ### This is Hacky V5a Devel Stuff###
32+
from lib.adafruit_mcp9808 import MCP9808 # This is Hacky V5a Devel Stuff###
33+
from lib.adafruit_tca9548a import TCA9548A # This is Hacky V5a Devel Stuff###
34+
from lib.adafruit_veml7700 import VEML7700 # This is Hacky V5a Devel Stuff###
3535

3636
# from lib.pysquared.Big_Data import AllFaces ### This is Hacky V5a Devel Stuff###
3737
from lib.pysquared.beacon import Beacon
@@ -124,6 +124,7 @@
124124
logger,
125125
uhf_radio,
126126
config.radio.license,
127+
Counter(2),
127128
0.2,
128129
)
129130

src/ground-station/repl.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
logger,
4444
uhf_radio,
4545
config.radio.license,
46+
Counter(2),
4647
0.2,
4748
)
4849

@@ -68,6 +69,7 @@
6869
logger,
6970
sband_radio,
7071
config.radio.license,
72+
Counter(2),
7173
0.2,
7274
)
7375

0 commit comments

Comments
 (0)