Skip to content

Commit

Permalink
Updating pins
Browse files Browse the repository at this point in the history
  • Loading branch information
ScottGibb committed Nov 5, 2023
1 parent 9e070b2 commit 2aa4d9b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ services:
build:
context: ./src
args:
TSMT_PIN_NUMBER: 10
TSMT_PIN_NUMBER: 11

container_name: smart-rf-transmitter
# image: rf_transmitter:v1
Expand Down
2 changes: 1 addition & 1 deletion src/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ RUN apt-get install python3-pip -y
COPY requirements.txt /
RUN pip3 install -r requirements.txt --break-system-package

ARG TSMT_PIN_NUMBER=10
ARG TSMT_PIN_NUMBER=11
COPY *.py /

EXPOSE 60000
Expand Down
2 changes: 1 addition & 1 deletion src/socket_transmitter.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

# RF transmission Variables
NUM_ATTEMPTS = 10
TRANSMIT_PIN = 10
TRANSMIT_PIN = 11
RETRY_TIME = 0.001 # s
log = logging.getLogger('Transmitter Logger')

Expand Down

0 comments on commit 2aa4d9b

Please sign in to comment.