[an error occurred while processing this directive]
[an error occurred while processing this directive]
|
// #define DS1820 5
#define DS18_Zero PORTC &= ~(1<<5) // Output 0
#define DS18_One PORTC |= (1<<5) // Output 1
#define DS18_In DDRC &= ~(1<<5) // Input Hi-Z
#define DS18_Out DDRC |= (1<<5) // Output
#define DS18_Test (PINC & (1<<5)) // Input?
Сорри если чего не дошло
E-mail: info@telesys.ru