saved some bytes
This commit is contained in:
parent
63ff73a066
commit
a109991e7a
10 changed files with 94 additions and 50 deletions
2
dht11.h
2
dht11.h
|
|
@ -16,7 +16,7 @@ class Dht11
|
|||
const unsigned char _pin;
|
||||
|
||||
public:
|
||||
Dht11(volatile unsigned char *port, volatile unsigned char *inPort, volatile unsigned char *port_ctl, const unsigned char pin);
|
||||
Dht11(volatile unsigned char * const port, volatile unsigned char * const inPort, volatile unsigned char * const port_ctl, const unsigned char pin);
|
||||
uint8_t read();
|
||||
int16_t humidity = 0;
|
||||
uint16_t temperature = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue