Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.

hareega

Member Since 07 Oct 2014
Offline Last Active Nov 26 2015 03:09 PM
-----

Posts I've Made

In Topic: I2C strange behavior

15 November 2015 - 02:15 PM

Hi 

 

Try strobing the SDA line just before you open the port

using (OutputPort i2cPort = new OutputPort(Pins.GPIO_PIN_SDA, true))
{
   i2cPort.Write(false);
   Thread.Sleep(100);
}

I think the earliest reference to this issue may have been

 

http://forums.netdui...5-barometer-i2c

 

 

@KiwiBryn

blog.devmobile.co.nz

 

that method worked thanks

 

Usual question with I2C - have you installed pull-up resistors if the board you are using does not already have them installed.

 

Regards,

Mark

 

i thought the board has built in pull-up resistor

so yeah that's what i missed


home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.