Skip to content

Commit

Permalink
Merge pull request #460 from bitcraze/toverumar/fpv_fix
Browse files Browse the repository at this point in the history
Add ip address instead of CRTP address to fpv example
  • Loading branch information
ToveRumar authored Jun 27, 2024
2 parents ad3b4da + a93844a commit 02ea36f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion examples/aideck/fpv.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,11 @@

logging.basicConfig(level=logging.INFO)

URI = uri_helper.uri_from_env(default='radio://0/80/2M/E7E7E7E7E7')
# If you have set a CFLIB_URI environment variable, that address will be used.
URI = uri_helper.uri_from_env(default='tcp://192.168.4.1:5000')
# 192.168.4.1 is the default IP address if the aideck is Access point.
# If you are using the aideck as a station, you should use the assigned IP address
# 5000 is the default port for the aideck

CAM_HEIGHT = 244
CAM_WIDTH = 324
Expand Down

0 comments on commit 02ea36f

Please sign in to comment.