Skip to content

Commit

Permalink
examples: python: Update example
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick José Pereira <[email protected]>
  • Loading branch information
patrickelectric committed Jan 21, 2025
1 parent 3a4a1fb commit cb7f75f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/python/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def navigator_check():

Data = navigator.read_adc_all()
print(
f"Data ADC Channels: 1 = {Data.channel[0]}, 2 = {Data.channel[1]}, 3 = {Data.channel[2]}, 4 = {Data.channel[3]}"
f"Data ADC Channels: 1 = {Data[0]}, 2 = {Data[1]}, 3 = {Data[2]}, 4 = {Data[3]}"
)

print(f"Data ADC Channel: 1 = {navigator.read_adc(AdcChannel.Ch1)}")
Expand Down

0 comments on commit cb7f75f

Please sign in to comment.