 
      
    | You are here | vzaigrin.wordpress.com | ||
| | | | | smallhacks.wordpress.com | |
| | | | | Some time ago my DHT22 sensor, connected to the RPi1, died (humidity always was showing 99%), so I decided to replace it. I found a cheap AM2320 sensor that was in the same case as my old DHT, so I ordered it. When it arrived I found that its used 4 PINS instead of 3... | |
| | | | | xnux.eu | |
| | | | | ||
| | | | | blog.oddbit.com | |
| | | | | Overview I was recently working with someone else's C source and I wanted to add some basic error checking without mucking up the code with a bunch of if statements and calls to perror. I ended up implementing a simple must function that checks the return value of an expression, and exits with an error if the return value is less than 0. You use it like this: must(fd = open("textfile.txt", O_RDONLY)); Or: | |
| | | | | gist.github.com | |
| | | Camunda 7 search "half-court shot" initial results - half-court-shot-initial-results.md | ||