Search found 870 matches
- 29 Jan 2024, 12:43
- Forum: RevPiModIO
- Topic: AttributeError: can not find io 'HEATER_V'
- Replies: 8
- Views: 697
Re: AttributeError: can not find io 'HEATER_V'
Try to set the wordorder import revpimodio2 rpi = revpimodio2.RevPiModIO(autorefresh=True) rpi.io.HEATER_V_HB.replace_io('heater_v', 'H', byteorder='little', wordorder='little') print("value=" + str(rpi.io.heater_v.value)) or import revpimodio2 rpi = revpimodio2.RevPiModIO(autorefresh=True...
- 26 Jan 2024, 14:35
- Forum: RevPiModIO
- Topic: AttributeError: can not find io 'HEATER_V'
- Replies: 8
- Views: 697
Re: AttributeError: can not find io 'HEATER_V'
Looks like you're using an older image with python3, which does not support f strings. Try:
Code: Select all
import revpimodio2
rpi = revpimodio2.RevPiModIO(autorefresh=True)
rpi.io.HEATER_V_HB.replace_io('heater_v', 'H', byteorder='little')
print("value=" + str(rpi.io.heater_v.value))
- 25 Jan 2024, 21:22
- Forum: RevPiModIO
- Topic: AttributeError: can not find io 'HEATER_V'
- Replies: 8
- Views: 697
Re: AttributeError: can not find io 'HEATER_V'
readprocimg is also mentioned in the link above. revpimodio2 provides the handy function replace_io, which can create an virtual IO based on the provided data type. In your example the definition would look something like this: import revpimodio2 rpi = revpimodio2.RevPiModIO(autorefresh=True) rpi.io...
- 25 Jan 2024, 18:59
- Forum: RevPiModIO
- Topic: AttributeError: can not find io 'HEATER_V'
- Replies: 8
- Views: 697
Re: AttributeError: can not find io 'HEATER_V'
Hi The warnings are a hint for duplicate variable / devices names. In order to get values from the process image you have to use revpimodio with autorefresh=True or call the read_procimg() method. More details can be found in the API documentation or one the the linked examples: https://revpimodio.o...
- 25 Jan 2024, 16:41
- Forum: RevPiModIO
- Topic: Configuration of AIO module using revpimodio2 Python library
- Replies: 1
- Views: 221
Re: Configuration of AIO module using revpimodio2 Python library
No, unfortunately this is not possible (yet).
Nicolai
Nicolai
- 25 Jan 2024, 16:22
- Forum: Software
- Topic: Anscheinend Treiberproblem nach Update auf bullseye-armhf-lite
- Replies: 1
- Views: 513
Re: Anscheinend Treiberproblem nach Update auf bullseye-armhf-lite
Hallo Ingo, ich kenne logi rts jetzt nicht im Detail und kann daher mit der Meldung nicht viel anfangen. Eine kurze Suche nach RTSS_REVPI_IO fördert aber folgende Anleitung von logirts zu Tage: https://help.logicals.com/display/LC3UserDocuDE/Revolution+Pi-Projekte+oder+logi.RTS+fuer+Revolution+Pi+au...
- 21 Jan 2024, 12:51
- Forum: PiCtory
- Topic: DIO Ausgänge schalten nicht
- Replies: 12
- Views: 64438
Re: DIO Ausgänge schalten nicht
Schaut korrekt aus. Siehst du denn ein Bild wenn du das funktionierende Image bootest?
Nicolai
Nicolai
- 20 Jan 2024, 23:57
- Forum: PiCtory
- Topic: DIO Ausgänge schalten nicht
- Replies: 12
- Views: 64438
Re: DIO Ausgänge schalten nicht
Hi Martin, danke für dein Feedback. Normalerweise solltest du zumindest den Regenbogen vom Bootloader sehen. Kannst du bitte mal die Checksumme von deinem Image abgleichen? Nicht das etwas mit dem Download nicht richtig geklappt hat und das geflashte Image deswegen kaputt ist. Alles schon selbst geh...
- 18 Jan 2024, 11:42
- Forum: Software
- Topic: Adding Balena-OS support for revpi-connect-4
- Replies: 28
- Views: 138838
Re: Adding Balena-OS support for revpi-connect-4
Hi RevPaul,
the Balena devs have received the hardware and are working on this. I expect the support to be ready by end of q1 or earlier and will keep you updated.
Nicolai
the Balena devs have received the hardware and are working on this. I expect the support to be ready by end of q1 or earlier and will keep you updated.
Nicolai
- 17 Jan 2024, 13:27
- Forum: Software
- Topic: PROBLEM WITH BOOT IMAGE
- Replies: 3
- Views: 844
Re: PROBLEM WITH BOOT IMAGE
No, nothing is wrong, it's just a warning about optional missing files. The files are intentionally missing / rpiboot checks for optional files.
Nicolai
Nicolai