News for hackers. Stuff that matters.
Re:Blog series on building an air sensor with Arduino by denvrede on Monday January 02, 2023 @08:28AM (#34217596)
Maybe it's a stupid question but for the verification bytes you're adding the different constants, commands and options. For the sleep that comes out to 0x173 (as you also wrote down). Why is the higher verification byte then 0x73 and not 0x173? Or is it a typo?
Re:Blog series on building an air sensor with Arduino by moefh on Monday January 02, 2023 @03:54PM (#34223506)
[Note: I'm not the author]

0x173 doesn't fit in a byte. As the text explains, there are two validation bytes; the first one gets the high 8 bits ("the high byte") of 0x173 (which is 0x01) and the second one gets the low eight bits (0x73).

Re:Blog series on building an air sensor with Arduino by denvrede on Tuesday January 03, 2023 @04:04AM (#34229426)
Ah! Ok got it. Thought it meant some kind of lower and upper "limits". But that makes more sense. Thank you! Just getting into embedded / MC stuff.