Jump to content
43oh

taketa

Members
  • Content Count

    11
  • Joined

  • Last visited

About taketa

  • Rank
    Member

Profile Information

  • Location
    spb
  • Interests
    beer robot
  1. many thanks to you. indeed it's no address 0x70 but 0x38. you really cool.you. you have a flair for bugs. I spent a week still did not understand, and in 5 minutes told why. why is this not recorded in the library reference wire.h. why do I have so little brains God sent aaaaaaaaaa Huge thanks also to all the other participants! Sowtware I2C work!
  2. I disconnected my lcd from launchpad i2c_scanner Arduino get the same result Scanning... I2C device found at address 0x01 ! I2C device found at address 0x02 ! I2C device found at address 0x03 ! I2C device found at address 0x04 ! I2C device found at address 0x05 ! I2C device found at address 0x06 ! I2C device found at address 0x07 ! I2C device found at address 0x08 ! I2C device fo
  3. I found i2c_scanner Arduino : #include <Wire.h> void setup() { Wire.begin(); Serial.begin(9600); Serial.println("\nI2C Scanner"); } void loop() { byte error, address; int nDevices; Serial.println("Scanning..."); nDevices = 0; for(address = 1; address < 127; address++ ) { // The i2c_scanner uses the return value of // the Write.endTransmisstion to see if // a device did acknowledge to the address. Wire.beginTransmission(address); error = Wire.endTransmission(); if (error == 0) { Serial.print("I2C device found at addr
  4. I ----------------------------------------in EAR i do: /* Initialize the display */ void LCD_Init(void) { I2C_Start(); I2C_Write( 0x70 ); // Slave address indicator+ 0 to set the recording mode in the indicator I2C_Write( 0xCE ); // 11001110b setting the operation mode indicator // 1 - says it's not necessarily the team // 10-sets the mode of operation of the indicator // 0-normal mode // 1-enabled display // 1-1/2 bias // 10-1:2 multiplex I2C_Write( 0xE0 ); // 11100000b selection device inside the indicator // 1-not necessarily the team // 1100-team selection device // 000-one of
  5. may i need to configure anything addition for ?nergy before wire.begin()?
  6. yes pcf supply range from 2 to 6v and launchpad and pcf has one supply via usb. electric schematic is correct and working with EAR program(software i2c ), but Energia Wire lib doesn't work
  7. intelligent or not energia i2c don't work // +-\/-+ // VCC 1| |20 GND // (A0) P1.0 2| |19 XIN // (A1) P1.1 3| |18 XOUT // (A2) P1.2 4| |17 TEST // (A3) P1.3 5| |16 RST# // (A4) P1.4 6| |15 P1.7 (A7)(SCL) through Pull-up 10K resistor connected to LCD" // (A5) P1.5 7| |14 P1.6 (A6)(SDA) through Pull-up 10K resistor connected to LCD" // P2.0 8| |13 P2.5 // P2.1 9| |12 P2.4 // P2.2 10| |11 P2.3 // +----+ void loop(void) { Wire.begin();
  8. what did you mean an intelligent manner ? i will correct my post
  9. hello all! why are energia wire lib don't work? I have connected my launchpad 430g2553 to PCF8576 LCD 10. P1_6 to SDL and P1_7 to SDA . I try to write some code to use Software I2C Library but it did't work in energia . But EAR lib for software i2c work correct way. what i can to do to connect LCD with energia ? no software no hardware energia code don't work what 's the reason?
×
×
  • Create New...