User Tools

Site Tools


en:pfw:dht22-rp2040-nofortht

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en:pfw:dht22-rp2040-nofortht [2025-06-27 11:31] – created mkaen:pfw:dht22-rp2040-nofortht [2025-06-27 17:09] (current) willem
Line 1: Line 1:
 +[[en:pfw:dht22|go back]]
 +
 <code> <code>
 (* DHT22 sensor, using PIO: 480 bytes (* DHT22 sensor, using PIO: 480 bytes
 +   Willem Ouwerkerk 20250627
  
     40-bits pulse stream 32-bits data & 8-bits checksum     40-bits pulse stream 32-bits data & 8-bits checksum
Line 53: Line 56:
 v: pios  also extra v: pios  also extra
 : READ) ( -- data chk ) : READ) ( -- data chk )
-    one> 0 exec                 \ Start new measurement+    one> 0 exec-opc             \ Start new measurement
     begin  0 rx-depth 1- until  \ Stack minimal two deep?     begin  0 rx-depth 1- until  \ Stack minimal two deep?
     0 rxf>   0 rxf> ;           \ 32-bits data & 8-bits checksum     0 rxf>   0 rxf> ;           \ 32-bits data & 8-bits checksum
en/pfw/dht22-rp2040-nofortht.1751016666.txt.gz · Last modified: 2025-06-27 11:31 by mka