Jump to content


  • Content Count

  • Joined

  • Last visited

  1. Hi huys, I am currently using only TimerA in my code and here is code of use: //choosing clk down below BCSCTL1 |= XTS; do { IFG1 &= ~OFIFG; for (i = 0xFF; i > 0; i--); } while ((IFG1 & OFIFG) == OFIFG); BCSCTL1 |= DIVA_1; BCSCTL2 |= SELM0 | SELM1; // setting-up timerA for 500khz and interruption each 100ms TACTL = TASSEL_1 + MC_1 +ID_3; CCR0=50000; _EINT(); for (; { _BIS_SR(LPM3_bits); // service of interrupts here } #pragma vector=TIMERA0_VECTOR __interrupt void Timer_A (void){ _BIC_SR_IRQ(LPM3_bits); // doing things each 100ms } I need to use
  2. Here is my sample code: #include "msp430x22x4.h" void Delayms(int n){ do __delay_cycles(10000); while(--n); } void _E(void) { P2OUT |= BIT6; // toggle E for LCD Delayms(1000); P2OUT &= ~BIT6; } void main(void) { while(1) { P2SEL = 0; P2OUT = 0; P2DIR = ~BIT0; P2OUT &= ~BIT4; //clear P2OUT , RS _E(); } } For test i connect only 5 cables: P1N1 from LCD to GND P1N2 from LCD to VCC P1N4 from LCD to P2.0 // RS P1N5 from LCD to P2.1 // R/W P1N6 from LCD to P2.2 // E as datasheet says download/file.php?id=1419 With that simple work no effect on
  3. First of all thanks for all replays! Here you can see how my LCD looks like: http://imageshack.us/g/856/20111216154652.jpg/ At back of LCD there is a label with note: I was googling for "CBC008002E09-DIG-R" phrase and I have found 1 auction with "my LCD", here it is http://www.ebay.pl/itm/ART-New-LCD-2x8- ... 0763803322 Quote from auction: Datasheet there is same as I have... I have checked I would like to write that i have a small experience with programming HD44780 lcd - i was using my friend lcd at summer but now he is far away and we dont have conntact.
  4. Could any 1 possible to help me with LCD ? Posts above are useless...
  5. Hey. I have got MSP-EXP430G2 LaunchPad and LCD screen. I was trying to connect LCD to MSP-EXP430G2 but with no good result :? I don't know what wrong did i do while connecting it... Do I have to use any outside reinforcement for LCD ? Could you possible to tell me what kind of pins from LCD (by numbers) connect to MSP-EXP430G2 pins (by numbers) ? I connect it by cables - I mean lcd_pin->cable->launchpad_pin). My LCD is: LCD-AC-0802E-DIG G/KK-E6 C - 2x8, 58x30mm - LED - extended temperature range 3V, "fast" 1-LED 20mA PURE GREEN cyrylica Datasheet of this lcd is
  6. RumiKumi


    Hey there, I am new in whole microcontroler's community I am playing with MSP-EXP430G2 and I am enjoying it. I hope i will learn more advanced things on this board. Anyway i post it becouse i wanted to create topic and i can't put link with datasheet becouse i got detected as a new user with 0 posts, so +1 post by this topic and my topic is done, if u wanna help me with conntecing lcd to my launchpad then browse my topic history and see my topic. Hope i will stay here for longer, seems to be quite nice community! Greetings, Pawel
  • Create New...