mirror of
https://github.com/mytechnotalent/Embedded-Hacking.git
synced 2026-10-12 10:47:19 +02:00
Refactor CB 3, 4, 5 with complex modular source code and compiled UF2/BIN files
This commit is contained in:
1 parent
0b5353ac50
commit
95ab2e0e8d
24 files changed
+584
-62
No files matched your search
@@ -0,0 +1,23 @@
|
||||
/**
|
||||
* @file dht11.h
|
||||
* @brief Operation Iron Net Firmware
|
||||
* @author Kevin Thomas
|
||||
* @date 2026
|
||||
*
|
||||
* MIT License
|
||||
* Copyright (c) 2026 Kevin Thomas
|
||||
*/
|
||||
|
||||
#ifndef DHT11_H
|
||||
#define DHT11_H
|
||||
#include <stdint.h>
|
||||
typedef struct {
|
||||
uint8_t humidity_int;
|
||||
uint8_t humidity_dec;
|
||||
uint8_t temp_int;
|
||||
uint8_t temp_dec;
|
||||
uint8_t checksum;
|
||||
} dht11_data_t;
|
||||
void dht11_init(void);
|
||||
dht11_data_t* dht11_read(void);
|
||||
#endif
|
||||
Reference in new issue
Block a user