Member #90752

Member Since: November 17, 2009

Country: United States

  • Product SEN-11084 | about 4 months ago

    Thanks Nate, I uninstalled/re-installed V1.0.5. That worked.

  • Product SEN-11084 | about 5 months ago

    I can’t get the Arduino example to compile. It gets stuck at Wire.endTransmission(false);

     // Read pressure registers
     Wire.beginTransmission(MPL3115A2_ADDRESS);
     Wire.write(OUT_P_MSB);  // Address of data to get
     Wire.endTransmission(false); // Send data to I2C dev with option for a repeated start. THIS IS NECESSARY and not   supported before Arduino V1.0.1!
     Wire.requestFrom(MPL3115A2_ADDRESS, 3); // Request three bytes
    

    The error messages are

    MPL3115A2.ino: In function 'float readAltitude()':
    MPL3115A2:140: error: no matching function for call to 'TwoWire::endTransmission(int)'
    C:\Program Files (x86)\Arduino\libraries\Wire/Wire.h:52: note: candidates are: uint8_t TwoWire::endTransmission()
    MPL3115A2.ino: In function 'float readPressure()':
    MPL3115A2:192: error: no matching function for call to 'TwoWire::endTransmission(int)'
    C:\Program Files (x86)\Arduino\libraries\Wire/Wire.h:52: note: candidates are: uint8_t TwoWire::endTransmission()
    MPL3115A2.ino: In function 'float readTemp()':
    MPL3115A2:238: error: no matching function for call to 'TwoWire::endTransmission(int)'
    

    I’m using V1.0.5. Where am I going wrong?

  • Product LCD-10168 | about 3 years ago

    Could someone please post a “hello world” code for Pic 16Fxxx? (MPLAB)
    The Arduino code works fine for me, but I can’t make any thing work with Pic. I found this code at http://www.sunbizhosting.com/~spiral/ , but can’t figure out what I’m doing wrong.

No public wish lists :(