Jump to content
43oh

beco08

Members
  • Content Count

    3
  • Joined

  • Last visited

About beco08

  • Rank
    Noob Class

Contact Methods

  • Website URL
    http://-

Profile Information

  • Location
    Brazil
  1. I've just found a instruction that can help me... I think. It is SWPB.B I will test it too.
  2. Thank you for reply. I have the lcd datasheet and I know the pins configurations. The reason is just this. I've implemented the c code e it works perfectly. But i'm a student and about my curiosity I want to write the same project in assembly. I'm 2 years without programming in asm and a lot of details has gone =/ My doubt is about to send first upper bits then lower bits cause when I run the code the lcd character is fully filled out. The other routine that program lcd I think its right. I will test the code you posted. Thanks again.
  3. Hello everyone. I'm a beginner at forum and I don't know if I can post this here. Sorry if im wrong =/ So... I'm writing a simple program that sends hours,minutes and seconds to lcd. I know... im very newbie... Im using a 16x2 LCD 4 bits mode. I have this c code and I want to send upper and lower nibble like that. I've just made a search over the forum and only found this in c code. Anyone have idea how to do this work? My biggest doubt is how to write that part in assembly: P2OUT |= ((Data >> 4) & 0x0F); Thanks. Beco08 void lcdcmd(unsigned char Data) { P2OUT
×
×
  • Create New...