Home > Lcd Driver > Lcd Driver Stk502 Avr Butterfly

Lcd Driver Stk502 Avr Butterfly

Contents

Apr 4, 2009 - 02:42 PM 12345Total votes: 0 i already look the butterfly schematic but i still got the problem.. But when I built it with my WinAvr environment (no modification), and reloaded it to the Butterfly, I see nothing running (nothing on the screen). Mar 9, 2010 Posts: 5 View posts #5 Posted by niceguy001: Wed. Any ideas?? http://vinaprosoft.com/lcd-driver/lcd-driver-for-butterfly.php

my question is how i can show just a character on LCD. The different duty selections are shown in Table 100.

Table 100. yes i have studied the part how LCD works, but it was much theory. Aug 5, 2007 - 01:30 AM 12345Total votes: 0 Just tried to compile your test file with latest AVR Studio and WinAVR, here the result: avr-gcc.exe -mmcu=atmega169p -Wall -gdwarf-2 -O0 -MD

Lcd Display Driver

Not all the LCD pins are connected. Did you try to use Dean's driver? 2. Mar 17, 2009 Posts: 35 View posts #50 Posted by amiraliff: Fri.

  • Apr 2, 2009 - 03:52 PM 12345Total votes: 0 i already change my keypad from PORTB to PORTD and i don't hear any "buzzing" sound.
  • Feb 19, 2001 Posts: 36533 View posts Location: Wisconsin USA #4 Posted by theusch: Tue.
  • Open source and feedback welcome!
  • Log in or register to post comments Top theusch Level: 10k+ Postman Joined: Mon.
  • Click "Ok" to close the window and it should work fine. - Dean :twisted: Make Atmel Studio better with my free extensions.
  • Dec 2, 2006 - 06:34 AM 12345Total votes: 0 Thanks very much for your help Dean.
  • Mar 10, 2010 - 06:29 AM 12345Total votes: 0 first of all thank you.
  • Jan 28, 2009 - 12:04 PM 12345Total votes: 0 Arnold's quote: Quote:2) Despite Atmel's claims the STK502 User guide falls short of having any serious data about the particular display.
  • I dont really understand what LCD_WriteChar is doing.
  • Also,are there more efficient ways to display characters ans play sounds than programming in each note or character one line at a time?

Whoops! - brain fart. I've coded the interrupt routine in such a way that it cannot interrupt itself, preventing stack overflows. Still beats the Atmel driver by 272 bytes - and should be much faster to boot! - Dean :twisted: Make Atmel Studio better with my free extensions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

there is nothing on it to do that. Atmel Jan 10, 2008 - 04:25 PM 12345Total votes: 0 Quote:It does now, just updated the original post. Attachment(s): Bild(79).jpg Log in or register to post comments Top SteveN Level: Raving Lunatic Joined: Wed. http://www.avrfreaks.net/forum/code-c-simple-butterfly-lcd-driver?page=all Cliff Log in or register to post comments Top smileymicros Level: Raving Lunatic Joined: Wed.

Open source and feedback welcome! the code that dean post on the first page of this forum really help me but my question is which code i want to use.is it .c or .h. So... Jan 23, 2004 Posts: 9853 View posts Location: Melbourne, Australia #5 Posted by abcminiuser: Sat.

Atmel

The Butterfly LCD has 120 segments. http://www.avrfreaks.net/forum/avr-butterfly-lcd-driver-asm-show-character Lots of folks here like to post dire warnings on using the internal oscillator for apps with serial communications. Lcd Display Driver I don't like to just copy and paste code,I like to understand why it works. Use ." ../Lcd_driver.c: In function `LCD_Init': ../Lcd_driver.c:113: error: `LCDCCR' undeclared (first use in this function) ../Lcd_driver.c:113: error: (Each undeclared identifier is reported only once ../Lcd_driver.c:113: error: for each function it appears

www.ampertronics.com.au * Electronic Design * Custom Products * Contract Assembly Log in or register to post comments Top zbaird Level: Raving Lunatic Joined: Sun. I've never met a pig I didn't like, as long as you have some salt and pepper. I have added a function similar to the LCD_Colon called LCD_Numbers and have managed to display some numbers by: *(pLCDREG + 0) += 0x04; //Display number 1 on LCD *(pLCDREG + I'm newbei and I just uploadted this LCD driver to my Butterfly.

and then subsequent subsections go on to expand on the terms, and how they apply on the '169 family. Go to the last line. i'm thinking about defining .extern initialization in my assm code and call initialization() before lcd_init. Notice how 3 and S5 are not in my list of segments above.

Select the "Custom Options" tab, in the text box type "-std=gnu99" and press the "Add" button. STK502? Jan 23, 2004 Posts: 9853 View posts Location: Melbourne, Australia #32 Posted by abcminiuser: Wed.

Did you initialize the driver via the Init routine before writing to it?

Mar 10, 2010 - 07:16 PM 12345Total votes: 0 Quote: but that's too complicated to translate to asm. The Piezo Beepers that I have played with typically have a resonant frequency. I believe the shorting was done to because they ran out of lines & still wanted to blink both colons. :: Phoenix Log in or register to post comments Top js And I assume that you are also aware that many of the LCD pins have multiple uses and it is easy without knowing the exact pin use from the schematic to

Sorry. Mar 9, 2010 Posts: 5 View posts #1 Posted by niceguy001: Tue. In one of your own .c files where you plan to use functions in LCD_Driver.c you simply add the line: #include "LCD_Driver.h" Then in the list of files to be built It offers the ability to change the contrast and display strings (scrolling or static) from flash or SRAM memory only.

Mar 25, 2009 - 04:17 PM 12345Total votes: 0 oh ok.. avr-gcc.exe -mmcu=atmega169 -Wall -gdwarf-2 -DF_CPU=1000000UL -O0 -fsigned-char -std=gnu99 -MD -MP -MT fyp.o -MF dep/fyp.o.d -c ../fyp.c In file included from ../fyp.c:2: ../LCD_Driver.h:48:8: warning: no newline at end of file avr-gcc.exe -mmcu=atmega169 Like Pedro said, i didnt enable the interrupts. Mar 24, 2006 Posts: 15 View posts Location: California #18 Posted by wegstar: Thu.

Mar 4, 2007 - 01:32 PM 12345Total votes: 0 Hello! Nov 14, 2001 Posts: 3635 View posts Location: Charlottesville, VA USA #8 Posted by SteveN: Mon. May 12, 2005 Posts: 49 View posts #41 Posted by jremington: Sat.