Jump to content
43oh

timotet

Members
  • Content Count

    223
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by timotet

  1. happy coding !!!!!!!!!!!
  2. hi here is the link for the RX / TX jumper: viewtopic.php?f=8&t=1703 if you are using the g2553 and want serial out you need to swap the RX / TX pins. I think it is fine for all the other chips, but Im not 100% on this. check the data sheet for the chip you are using. you can get the data sheet on this forum in the upper right corner of your browser. As for the itoa.h. that is a function you need to have in the code check here: http://www.jb.man.ac.uk/~slowe/cpp/itoa.html hope this helps regards tim I think I posted this 1 second behind you blue
  3. thats what I though they were for thanks
  4. Just curious, what is the small row of holes across the bottom of your PCB for?
  5. This is awesome , great job. I have a toaster oven in the basement that is waiting for this. Do you have boards for sale? +1 for what zeke said about this being a worthy POTM entry! good work Tim
  6. so I've been using this with my project and it is awesome. 2 questions : 1. Does the above post make any sense? A friend of mine that has programmed for a long time says it shouldn't matter if it is spaced over. CCS didn't seem to like it though. 2. oPossum could you give an example of a putc function for writing to an LCD with the printf code you posted. I am not understanding how the printf would interact with the LCD code. thanks Tim
  7. So I tried just for fun to re-build the project from scratch. I started a new project in CCS. I copied the code from the beginning of this thread, and the serial.asm code from the post oPossum pointed out. 3 separate files one project. Tried to compile no dice! compared the project with the one you posted that works great. The only difference I found was when I copied and pasted the .asm file from the the other post the file ends up indented to the right by 4 spaces in the editor window , and wont compile. I removed the 4 spaces from each line and it works great. Maybe thi
  8. Thanks Bluehash What did you change? I added the serial.asm to the original project and still could not get it to compile.
  9. so do I just stick the .asm file in my existing project? Thanks guys
  10. Im sure it is something simple I tried it in another project with the same results thanks again
  11. yep CCS ver 4.2.4 Am I supposed to combine the 2 programs into 1? I have 1 project with 2 source files now.
  12. The 2 that opossum posted his printf.c and his test code. I wanted to run the the example he had posted. thanks again Bluehash :thumbup:
  13. there is no other code just the stuff from the original post
  14. hi I was trying to use this and cant get it to compile I am getting these errors: run placement fails for object ".bss", size 0x22c (page 0). Available ranges: RAM size: 0x80 unused: 0x4a max hole: 0x48 printf line 0 1323453815793 518 placement fails for object ".text", size 0xf0e (page 0). Available ranges: FLASH size: 0x7e0 unused: 0x64e max hole: 0x64e printf line 0 1323453815793 517 run placement fails for object ".cio", size 0x120 (page 0). Available ranges: RAM size: 0x80 unused: 0x4a max hole: 0
  15. great job opossum so this is how EE's do it?
  16. This works great for my 5110 void LcdInit(void) { P2OUT |= PIN_VCC; //power to LCD P2OUT |= PIN_RESET; //set RESET high P2OUT &= ~PIN_RESET; //set RESET low delay(35); P2OUT |= PIN_RESET; //set RESET high P2OUT |= PIN_SCE; //SCE pin high LcdWrite(cmd , 0x21); // LCD Extended instruction set LcdWrite(cmd , 0xBF); // Set LCD Vop (Contrast). //0xE0 - BF may have to play with LcdWrite(cmd , 0x07); // Set Temp coefficent. //0x04 =t0 //0x05=t1 // 0x06=t2 // 0x07=t3 LcdWrite(cmd , 0x13); // LCD bias mode 1:100 0x10 //1:48 0x13 Lc
  17. sugaraddict Do you have any of these boards left? thanks
  18. congrats bluehash you made hack a day :clap: good work on the terminal
  19. good work! I like that LCD. I just used one in a project Im working on. Cheap!
×
×
  • Create New...