This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Convert 2 byte to bits
#1
From a Gira weatherstation i recieive an error code as a 2 byte value. Each bit represents an error code like below.
Now i like to create a text object that shows the current state of this error object. So if there's one or more error it should show me all errors (in a loop by more then one error).


Bit 0: Condensatiebeveiliging actief
Bit 1: Droogfase van het sensoroppervlak
Bit 2: Waarden van digitaal-analoogomzetter ongeldig
Bit 3: Meetwaarde van druksensor ongeldig
Bit 4: Meetwaarde van helderheidssensor noord ongeldig
Bit 5: Meetwaarde helderheidssensor oost ongeldig
Bit 6: Meetwaarde van helderheidssensor zuid ongeldig
Bit 7: Meetwaarde van helderheidssensor west ongeldig
Bit 8: Schemermeetwaarde ongeldig
Bit 9: Meetwaarde van globale stralingssensor ongeldig
Bit 10: Meetwaarde van luchttemperatuursensor ongeldig
Bit 11: Meetwaarde van neerslagsensor ongeldig
Bit 12: Meetwaarde van windsnelheidssensor ongeldig
Bit 13: Meetwaarde van windrichtingsensor ongeldig
Bit 14: Meetwaarde van de vochtmeting ongeldig
Bit 15: Interne systeemfout
Reply


Messages In This Thread
Convert 2 byte to bits - by Joep - 02.05.2024, 07:43
RE: Convert 2 byte to bits - by admin - 02.05.2024, 07:46
RE: Convert 2 byte to bits - by Joep - 02.05.2024, 08:39
RE: Convert 2 byte to bits - by admin - 02.05.2024, 11:50
RE: Convert 2 byte to bits - by Joep - 02.05.2024, 12:04

Forum Jump: