budhy
Advanced Member level 3
lm335 pic
From the datasheet:
Yes! you have 10 bit (1024) resulution if you send the whole 10 bit data! Much more precise than 4 bit data only.did u mean that i should not use 0000=22'c this method to transmit?
Like this example code:send the 10 bit ADC data at 3 transmission as data1,2,3??
Can explain detail how it work?
Code:
void sendPT2262(unsigned char c){
unsigned int wait;
datapins = c & 0x0F; //PT2262 data pins
TE = 0; //PT2262 Transmit Enable
wait = 0xffff; while (wait--);
TE = 1;
wait = 0xffff; while (wait--);
};
void main(void){
char ADRESH, ADRESL;
sendPT2262( ADRESH ); // bit 8 & 9
sendPT2262((ADRESL>>4)); // bit 4..7
sendPT2262( ADRESL ); // bit 0..3
}
Are you sure?I intend to do the project using PT2272 to transmit the tempearture signal and receive by PT2262.
From the datasheet:
PT2262 is a remote control encoder paired with PT2272
PT2272 is a remote control decoder paired with PT2262