Jump to content

meanpc

Members
  • Content Count

    27
  • Joined

  • Last visited

Posts posted by meanpc


  1. Rei,

    Thanks so much for your help - that's exactly what I needed. I've included before and after setContrast commands to show you what a big difference it made. (I've set the contrast to 60 in the photo on the right.)

     

    8854862055_5d76b1c9e0.jpg8854862139_07bf5ee614.jpg

     

    Also, I did make some minor changes to that code to get it to compile (just in case anyone else is trying to use it). I had to add a comma and a close parenthesis on each line of the .cpp code, so that it looked like:

    void LCD_5110::setContrast(uint8_t value) {

    if (value > 0x7f) value = 0x7f;

     

     

    write(_commandLCD,(0x21));

    write(_commandLCD,(0x80 + value));

    write(_commandLCD,(0x20));

    }

     

     

     

    Again, thanks so much for your quick and accurate reply Rei - your contributions to the Energia and 43oh communities are tremendous.


  2. Hello Stellarisiti! I'm coming from 43oh.com. Should be receiving my first Stellaris Launchpad in the mail tomorrow or the next day, and I'm looking forward to bugging you guys to show me how to use it.

     

    Thanks for starting this board!


  3. I have to ask so please don't be offended. Is P1.6 connected to SCL of the display?

    The Wiki says it's a 5 Volt device.. How do you have it hooked up to I2C of the LaunchPad? And what voltage are you supplying VCC on the LCD with?

     

    Not offended at all - I do stupid stuff all the time, so your questions are relevant.

     

    I tried SDA and SCL connected to both 1.6 and 1.7. I have the display powered from the 5V test points near the USB connector on the launchpad. I was thinking of the display's logic being passive and not having to worry about 5V coming back to the Launchpad...but I didn't check. I just measured the voltage on SDA and SCL pins of the display while it's powered up and I'm measuring 150mV, but I don't know if that measurement is valid or not.


  4. 1. I have not confirmed this with the Launchpad. The display works fine with Arduino boards, though

    2. 2553

    3. 14 and 15, or P1.6,P1.7

    4. 0x27

    5. I am using the library found here (at the bottom of the page): http://www.dfrobot.com/index.php?route= ... GYpGk3A9TI

     

    I am just trying to upload the 'Hello World' sketch from that library which is:

     

    //YWROBOT
    //Compatible with the Arduino IDE 1.0
    //Library version:1.1
    #include 
    #include 
    
    LiquidCrystal_I2C lcd(0x27,16,2);  // set the LCD address to 0x27 for a 16 chars and 2 line display
    
    void setup()
    {
     lcd.init();                      // initialize the lcd 
    
     // Print a message to the LCD.
     lcd.backlight();
     lcd.print("Hello, world!");
    }
    
    void loop()
    {
    }


  5. :) You will be surprised by the answer.

     

    So, this makes it sound like you know the answer?

     

    On one hand, I figure TI is 100% behind Energia. It's hard for me to find the motivation for people that know how to write code for the MSP-430 to open the microcontroller up to 'non-engineers' for seemingly no gain. So maybe Energia is funded and driven by TI? I don't know the developers of Energia, so this may be way off base.

     

    On the other hand, like SeuPay said, there really isn't any money in the hobby market. The money comes when an engineer brings a product to market and orders 1,000,000 micros to build the widgets. But, if you get younger people using your products before they become engineers, will that mean sales when they are engineers later?

     

    The launchpad marketing strategy has confused me - it looks as though it's aimed at the hobbyist with the low price point and booster packs. You get to the TI site, and quickly realize it's an engineers only kinda place.

     

    For the record, I love TI. They've sent me some cool stuff and been very responsive to questions I've had. They do seem indecisive on their marketing strategy though.


  6. I will definitely learn to program microcontrollers directly without the training wheels some day. For now, I need the training wheels. I'm not an engineer or a programmer, so a spoonfed approach is best for me.

     

    I installed and tried out Energia - success! It is good to actually be able to program an MSP430 chip, however convoluted my approach is. That team is doing what TI should have already done, if they want the student/hobbyist market at all.

     

    We have to start somewhere right? I find it strange how TI comes out with this awesome Launchpad dev board that seems to be geared towards hobbyists and beginners, then supports it like it is all engineers that are using it.

×
×
  • Create New...