Search found 5 matches

by docilio
18 Jan 2012, 10:08
Forum: Mindstorms Software
Topic: NXC - Reading temperature from TPA81
Replies: 34
Views: 28981

Re: NXC - Reading temperature from TPA81

The comment at the start of i2c_scanner.c says Some guy name Xander on another site said this device requires pull-up resistors http://www.robotc.net/forums/viewtopic.php?p=12203#p12203 That seems to contradict what was said above. LOL, Xander is mightor... Yes, I know that, but that sensor was bro...
by docilio
17 Jan 2012, 00:09
Forum: Mindstorms Software
Topic: NXC - Reading temperature from TPA81
Replies: 34
Views: 28981

Re: NXC - Reading temperature from TPA81

Well, there was mention of the usage of pull-ups which are apparently not supposed to be used. Tiago has used this device successfully in the past. sensorI2CCustom is an I2C sensor at regular ~10k clock, no 9V pin. It's a vanilla I2C device. - Xander For some reason, the robot-electronic devices (e...
by docilio
16 Jan 2012, 11:47
Forum: Mindstorms Software
Topic: NXC - Reading temperature from TPA81
Replies: 34
Views: 28981

Re: NXC - Reading temperature from TPA81

mightor wrote:Tiago,

Thanks for responding so quickly :)

- Xander
No Problem Xander, I hope it helps...
by docilio
16 Jan 2012, 10:14
Forum: Mindstorms Software
Topic: NXC - Reading temperature from TPA81
Replies: 34
Views: 28981

Re: NXC - Reading temperature from TPA81

Just a question.

Can you download and install RobotC for testing ?
http://www.robotc.net/

Let me know if you need extra help
by docilio
16 Jan 2012, 10:05
Forum: Mindstorms Software
Topic: NXC - Reading temperature from TPA81
Replies: 34
Views: 28981

Re: NXC - Reading temperature from TPA81

TPA81.c /* This Code was created by Tiago Caldeira (docilio) Any information or questions, visit: www.nxt4you.com */ #define TPA_CMD 0x00 #define TPA_AMB 0x01 #define TPA_P01 0x02 #define TPA_P02 0x03 #define TPA_P03 0x04 #define TPA_P04 0x05 #define TPA_P05 0x06 #define TPA_P06 0x07 #define TPA_P07...