login

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - tc

Pages: [1]
1
Website Questions / SHT15 error in the example code
« on: July 24, 2012, 02:12:07 PM »
There is an error in the example code for SHT15 on page http://wiring.org.co/learning/basics/humiditytemperaturesht15.html

In the code it says:
val = shiftIn(dataPin, clockPin, MSBFIRST, 8, 3);

The code works if it is changed to:
val = shiftIn(dataPin, clockPin, MSBFIRST);

/TC
Pages: [1]