übergeben wirdan den datenport gelegt. Du mußt die, um das zu verstehen entwerder das datenbaltt des LCD Controllers (schwere Kost) oder das LCD Tutorial auf dieser Site ansehen. Wenn du verstanden hast, wie das Display angesteuert wird, dann ist das verständnis des C-Programms einfach. Viel Glück
also ich verwende die Peter Fleury's LCD-Library, allerdings steht bei mir alles aufr dem Kopf, hab ich das Display falschrum eingebaut oder ist das eine Softwaresache?! Im Moment steht die Beschriftung des Displays (z.B. Pinning) aufm Kopf
Compatible with Arduino-Series development Board. Compatible with UTFT / UTFT_Buttons /Utouch Library for arduino. provided 12-examples with Arduino ,3-examples with STM32 With SD Card Socket With SPI FLASH circuit Specifications Item Description Display Type 3.2 inch a-si TFT LCD Module
Hiho, ich versuche gerade, den Fehler in meinem alten LCD-Monitor einzukreisen. Erst fängt die Helligkeit leicht zu Flackern an, scheinbar in Richtung hell, dann geht er kommentarlos aus. 2 Sätze NT-Elkos hat er schon verbraucht, diesmal hat es das nicht
eigentlich? Siehe dort ab Seite 10 für Stichworte zur weiteren Suche: http://educypedia.karadimov.info/library/h1-l04ec0.pdf
Also dein Code funktioniert bei mir... Frage mich gerade nur wie ich das ganze als LCD Anzeige krieg?
define KEY_INPUT PIND [/C] @ Daniel Steiner Ich hänge meine Version mal an (ATMega8 und HD44780 LCD Display). Zur Ausgabe benutze ich die LCD library von Peter Fleury.
tieferen Verständnis kann ich es nicht nachvollziehen. Hat jemand eine Ahnung, ob es eine andere library für I2C-EEPROMS gibt oder muß man das Rad neu erfinden? Gruß knut
Chip hat, was er braucht und auf der gleichen SDA/SCL-Schiene sitzt auch ein funktionierendes I2C-LCD. Gruß knut
pagehandler/en-us/technology/graphics/ Es gibt dazu auch direkt von Microchip bereits eine fertige Library die viele der Grafikfunktionen bereits von sich aus bietet, sowie ein paar weitere SW Tools (Mit denen ich aber selbst noch nicht gearbeitet habe). http://www.microchip.com/pagehandler/en-us/technology
Abwinken. DAS wäre die wirklich sinnvollste Lösung, aber doch nicht so ein Krampf mit einem µC als LCD-Controller. Ich frag dich mal, was du da eigentlich auf dem Display darstellen willst? Ein Standbild in 256 Farben und langsamem Aufbau? W.S.
angebotene Tool "STM32CubeMX"? Dort wird der SysClock automatisch für dich eingestellt... Und die HAL Library bietet eine Delay-Funktion auf Basis des SysTicks.
50ms, Haupttakt! { sysTick_b=1; //in main for realtime } if (!(sysTick_ms % LCD_TIME)) //taks alle 1000ms { sysTick_lcd_b=1; //Var muss volatile deklariert werden!!! } } main(){ if (sysTick_b == 1){ //task1 sysTick_b=0; if(sysTick_lcd_b == 1){ //
Hallo, ich habe ein Gerät welches dieses TFT verwendet: http://www.beyondinfinite.com/lcd/Library/Tianma/TM060RDH01.pdf Nun möchte ich ein upgrade mit diesem transflektiven etwas grösseren LCD vornehmen: http://www.beyondinfinite.com/lcd/Library/Samsung/LMS700KF23.pdf Die Signale
Discovery board und habe die ersten Versuche mit GPIO und PWM etc. hinter mir. Nun versuche ich ein I2C LCD vom Arduino an dem STM32F4 zu betreiben. Ich bekomme es aber nicht hin. (Ich stelle mir sowas wie LiquidCrystal_I2C vor ( PCF8574A mit 20x4 Text LCD)) Hat jemand einen Beispiel Code oder Links
der PCF das tut was du willst. Wenn du das sichergestellt hast, dann kannst du dich daran machen das LCD anzusprechen.
da gibts reichlich Beispiele dabei und auch eine gute Hilfe. Bei MikroC musst du nichtmal eine Library einbinden, auch das macht der Compiler automatisch. Für LCD-Displays, PWM, Delays, Piepser, Tastaturen, I2C (inkl. Software-I2C), UART (inkl. Software-UART) und sogar USB etc.. gibts bereits fix fertige Library Funktionen. Ein Nachteil ist, dass die Demo-Version glaube ich eine Codesize-Limitierung hat, ausserdem ist er nicht ganz ANSI- kompatibel so wie viele ARM Compiler, z.b. hat gab es massive
transistor level ) und wollte mich immer mal in Mikrocontroller einarbeiten. Klar, eben mal ein LCD ansteuern, das saesse noch drin, aber wie schaut es aus mit Motoransteuerung, WEB-Interface, USB, Ethernet blah etc Man wird von der Fuelle erschlagen und somit fange ich garnicht erst an.
aber 'IC Analog Designer' schreckt mich auf! Eigentlich wollte ich nur ne schnöde makroskopische Library für LTspice für die gängigen CMOS-Logik Bauelemente. Leider muß man feststellen, das die Hersteller einen hängen lassen. Es gibt wenn überhaupt nur HSPICE-Modelle, die man als Normalsterblicher nicht
/**************************************************************************** Title : HD44780U LCD library Author: Peter Fleury <pfleury@gmx.ch> http://jump.to/fleury File: $Id: lcd.c,v 1.14.2.1 2006/01/29 12:16:41 peter Exp $ Software: AVR-GCC 3.3 Target: any AVR device, memory mapped mode only for AT90S4414/8515/Mega DESCRIPTION Basic routines for interfacing a HD44780U-based text lcd display Originally based on Volker Oth's lcd library, changed lcd_init(), added additional constants for lcd_command(), added 4-bit I/O mode, improved and optimized code. Library can be operated in
/**************************************************************************** Title : HD44780U LCD library Author: Peter Fleury <pfleury@gmx.ch> http://jump.to/fleury File: $Id: lcd.c,v 1.13.2.2 2004/02/12 21:08:25 peter Exp $ Software: AVR-GCC 3.3 Target: any AVR device, memory mapped mode only for AT90S4414/8515/Mega DESCRIPTION Basic routines for interfacing a HD44780U-based text lcd display Originally based on Volker Oth's lcd library, changed lcd_init(), added additional constants for lcd_command(), added 4-bit I/O mode, improved and optimized code. Library can be operated in
/**************************************************************************** Title: HD44780U LCD library Author: Peter Fleury <pfleury@gmx.ch> http://tinyurl.com/peterfleury File: $Id: lcd.c,v 1.15.2.2 2015/01/17 12:16:05 peter Exp $ Software: AVR-GCC 3.3 Target: any AVR device, memory mapped mode only for AT90S4414/8515/Mega DESCRIPTION Basic routines for interfacing a HD44780U-based text lcd display Originally based on Volker Oth's lcd library, changed lcd_init(), added additional constants for lcd_command(), added 4-bit I/O mode, improved and optimized code. Library can be operated in
/**************************************************************************** Title: HD44780U LCD library Author: Peter Fleury <pfleury@gmx.ch> http://tinyurl.com/peterfleury File: $Id: lcd.c,v 1.15.2.2 2015/01/17 12:16:05 peter Exp $ Software: AVR-GCC 3.3 Target: any AVR device, memory mapped mode only for AT90S4414/8515/Mega DESCRIPTION Basic routines for interfacing a HD44780U-based text lcd display Originally based on Volker Oth's lcd library, changed lcd_init(), added additional constants for lcd_command(), added 4-bit I/O mode, improved and optimized code. Library can be operated in
/**************************************************************************** Title: HD44780U LCD library Author: Peter Fleury <pfleury@gmx.ch> http://tinyurl.com/peterfleury File: $Id: lcd.c,v 1.15.2.2 2015/01/17 12:16:05 peter Exp $ Software: AVR-GCC 3.3 Target: any AVR device, memory mapped mode only for AT90S4414/8515/Mega DESCRIPTION Basic routines for interfacing a HD44780U-based text lcd display Originally based on Volker Oth's lcd library, changed lcd_init(), added additional constants for lcd_command(), added 4-bit I/O mode, improved and optimized code. Library can be operated in
/**************************************************************************** Title : HD44780U LCD library Author: Peter Fleury <pfleury@gmx.ch> http://jump.to/fleury File: $Id: lcd.c,v 1.14.2.1 2006/01/29 12:16:41 peter Exp $ Software: AVR-GCC 3.3 Target: any AVR device, memory mapped mode only for AT90S4414/8515/Mega DESCRIPTION Basic routines for interfacing a HD44780U-based text lcd display Originally based on Volker Oth's lcd library, changed lcd_init(), added additional constants for lcd_command(), added 4-bit I/O mode, improved and optimized code. Library can be operated in
/**************************************************************************** Title : HD44780U LCD library Author: Peter Fleury <pfleury@gmx.ch> http://jump.to/fleury File: $Id: lcd.c,v 1.14.2.1 2006/01/29 12:16:41 peter Exp $ Software: AVR-GCC 3.3 Target: any AVR device, memory mapped mode only for AT90S4414/8515/Mega DESCRIPTION Basic routines for interfacing a HD44780U-based text lcd display Originally based on Volker Oth's lcd library, changed lcd_init(), added additional constants for lcd_command(), added 4-bit I/O mode, improved and optimized code. Library can be operated in
/**************************************************************************** Title : HD44780U LCD library Author: Peter Fleury <pfleury@gmx.ch> http://jump.to/fleury File: $Id: lcd.c,v 1.14.2.1 2006/01/29 12:16:41 peter Exp $ Software: AVR-GCC 3.3 Target: any AVR device, memory mapped mode only for AT90S4414/8515/Mega DESCRIPTION Basic routines for interfacing a HD44780U-based text lcd display Originally based on Volker Oth's lcd library, changed lcd_init(), added additional constants for lcd_command(), added 4-bit I/O mode, improved and optimized code. Library can be operated in
/**************************************************************************** Title : HD44780U LCD library Author: Peter Fleury <pfleury@gmx.ch> http://jump.to/fleury File: $Id: lcd.c,v 1.14.2.2 2012/02/12 07:51:00 peter Exp $ Software: AVR-GCC 3.3 Target: any AVR device, memory mapped mode only for AT90S4414/8515/Mega DESCRIPTION Basic routines for interfacing a HD44780U-based text lcd display Originally based on Volker Oth's lcd library, changed lcd_init(), added additional constants for lcd_command(), added 4-bit I/O mode, improved and optimized code. Library can be operated in
/**************************************************************************** Title : HD44780U LCD library Author: Peter Fleury <pfleury@gmx.ch> http://jump.to/fleury File: $Id: lcd.c,v 1.14.2.2 2012/02/12 07:51:00 peter Exp $ Software: AVR-GCC 3.3 Target: any AVR device, memory mapped mode only for AT90S4414/8515/Mega DESCRIPTION Basic routines for interfacing a HD44780U-based text lcd display Originally based on Volker Oth's lcd library, changed lcd_init(), added additional constants for lcd_command(), added 4-bit I/O mode, improved and optimized code. Library can be operated in
/**************************************************************************** Title : HD44780U LCD library Author: Peter Fleury <pfleury@gmx.ch> http://jump.to/fleury File: $Id: lcd.c,v 1.14.2.2 2012/02/12 07:51:00 peter Exp $ Software: AVR-GCC 3.3 Target: any AVR device, memory mapped mode only for AT90S4414/8515/Mega DESCRIPTION Basic routines for interfacing a HD44780U-based text lcd display Originally based on Volker Oth's lcd library, changed lcd_init(), added additional constants for lcd_command(), added 4-bit I/O mode, improved and optimized code. Library can be operated in
/**************************************************************************** Title : HD44780U LCD library Author: Peter Fleury <pfleury@gmx.ch> http://jump.to/fleury File: $Id: lcd.c,v 1.14.2.2 2012/02/12 07:51:00 peter Exp $ Software: AVR-GCC 3.3 Target: any AVR device, memory mapped mode only for AT90S4414/8515/Mega DESCRIPTION Basic routines for interfacing a HD44780U-based text lcd display Originally based on Volker Oth's lcd library, changed lcd_init(), added additional constants for lcd_command(), added 4-bit I/O mode, improved and optimized code. Library can be operated in
/**************************************************************************** Title : HD44780U LCD library Author: Peter Fleury <pfleury@gmx.ch> http://jump.to/fleury File: $Id: lcd.c,v 1.14.2.2 2012/02/12 07:51:00 peter Exp $ Software: AVR-GCC 3.3 Target: any AVR device, memory mapped mode only for AT90S4414/8515/Mega DESCRIPTION Basic routines for interfacing a HD44780U-based text lcd display Originally based on Volker Oth's lcd library, changed lcd_init(), added additional constants for lcd_command(), added 4-bit I/O mode, improved and optimized code. Library can be operated in
/**************************************************************************** Title : HD44780U LCD library Author: Peter Fleury <pfleury@gmx.ch> http://jump.to/fleury File: $Id: lcd.c,v 1.14.2.2 2012/02/12 07:51:00 peter Exp $ Software: AVR-GCC 3.3 Target: any AVR device, memory mapped mode only for AT90S4414/8515/Mega DESCRIPTION Basic routines for interfacing a HD44780U-based text lcd display Originally based on Volker Oth's lcd library, changed lcd_init(), added additional constants for lcd_command(), added 4-bit I/O mode, improved and optimized code. Library can be operated in
/**************************************************************************** Title : HD44780U LCD library Author: Peter Fleury <pfleury@gmx.ch> http://jump.to/fleury File: $Id: lcd.c,v 1.14.2.2 2012/02/12 07:51:00 peter Exp $ Software: AVR-GCC 3.3 Target: any AVR device, memory mapped mode only for AT90S4414/8515/Mega DESCRIPTION Basic routines for interfacing a HD44780U-based text lcd display Originally based on Volker Oth's lcd library, changed lcd_init(), added additional constants for lcd_command(), added 4-bit I/O mode, improved and optimized code. Library can be operated in
/**************************************************************************** Title : HD44780U LCD library Author: Peter Fleury <pfleury@gmx.ch> http://jump.to/fleury File: $Id: lcd.c,v 1.14.2.1 2006/01/29 12:16:41 peter Exp $ Software: AVR-GCC 3.3 Target: any AVR device, memory mapped mode only for AT90S4414/8515/Mega DESCRIPTION Basic routines for interfacing a HD44780U-based text lcd display Originally based on Volker Oth's lcd library, changed lcd_init(), added additional constants for lcd_command(), added 4-bit I/O mode, improved and optimized code. Library can be operated in
/**************************************************************************** Title : HD44780U LCD library Author: Peter Fleury <pfleury@gmx.ch> http://jump.to/fleury File: $Id: lcd.c,v 1.14.2.1 2006/01/29 12:16:41 peter Exp $ Software: AVR-GCC 3.3 Target: any AVR device, memory mapped mode only for AT90S4414/8515/Mega DESCRIPTION Basic routines for interfacing a HD44780U-based text lcd display Originally based on Volker Oth's lcd library, changed lcd_init(), added additional constants for lcd_command(), added 4-bit I/O mode, improved and optimized code. Library can be operated in
/**************************************************************************** Title : HD44780U LCD library Author: Peter Fleury <pfleury@gmx.ch> http://jump.to/fleury File: $Id: lcd.c,v 1.14.2.1 2006/01/29 12:16:41 peter Exp $ Software: AVR-GCC 3.3 Target: any AVR device, memory mapped mode only for AT90S4414/8515/Mega DESCRIPTION Basic routines for interfacing a HD44780U-based text lcd display Originally based on Volker Oth's lcd library, changed lcd_init(), added additional constants for lcd_command(), added 4-bit I/O mode, improved and optimized code. Library can be operated in
/**************************************************************************** Title : HD44780U LCD library Author: Peter Fleury <pfleury@gmx.ch> http://jump.to/fleury File: $Id: lcd.c,v 1.14.2.1 2006/01/29 12:16:41 peter Exp $ Software: AVR-GCC 3.3 Target: any AVR device, memory mapped mode only for AT90S4414/8515/Mega DESCRIPTION Basic routines for interfacing a HD44780U-based text lcd display Originally based on Volker Oth's lcd library, changed lcd_init(), added additional constants for lcd_command(), added 4-bit I/O mode, improved and optimized code. Library can be operated in
/**************************************************************************** Title : HD44780U LCD library Author: Peter Fleury <pfleury@gmx.ch> http://jump.to/fleury File: $Id: lcd.c,v 1.14.2.1 2006/01/29 12:16:41 peter Exp $ Software: AVR-GCC 3.3 Target: any AVR device, memory mapped mode only for AT90S4414/8515/Mega DESCRIPTION Basic routines for interfacing a HD44780U-based text lcd display Originally based on Volker Oth's lcd library, changed lcd_init(), added additional constants for lcd_command(), added 4-bit I/O mode, improved and optimized code. Library can be operated in
/**************************************************************************** Title : HD44780U LCD library Author: Peter Fleury <pfleury@gmx.ch> http://jump.to/fleury File: $Id: lcd.c,v 1.14.2.1 2006/01/29 12:16:41 peter Exp $ Software: AVR-GCC 3.3 Target: any AVR device, memory mapped mode only for AT90S4414/8515/Mega DESCRIPTION Basic routines for interfacing a HD44780U-based text lcd display Originally based on Volker Oth's lcd library, changed lcd_init(), added additional constants for lcd_command(), added 4-bit I/O mode, improved and optimized code. Library can be operated in
/**************************************************************************** Title : HD44780U LCD library Author: Peter Fleury <pfleury@gmx.ch> http://jump.to/fleury File: $Id: lcd.c,v 1.14.2.1 2006/01/29 12:16:41 peter Exp $ Software: AVR-GCC 3.3 Target: any AVR device, memory mapped mode only for AT90S4414/8515/Mega DESCRIPTION Basic routines for interfacing a HD44780U-based text lcd display Originally based on Volker Oth's lcd library, changed lcd_init(), added additional constants for lcd_command(), added 4-bit I/O mode, improved and optimized code. Library can be operated in
/**************************************************************************** Title : HD44780U LCD library Author: Peter Fleury <pfleury@gmx.ch> http://jump.to/fleury File: $Id: lcd.c,v 1.14.2.1 2006/01/29 12:16:41 peter Exp $ Software: AVR-GCC 3.3 Target: any AVR device, memory mapped mode only for AT90S4414/8515/Mega DESCRIPTION Basic routines for interfacing a HD44780U-based text lcd display Originally based on Volker Oth's lcd library, changed lcd_init(), added additional constants for lcd_command(), added 4-bit I/O mode, improved and optimized code. Library can be operated in
/**************************************************************************** Title : HD44780U LCD library Author: Peter Fleury <pfleury@gmx.ch> http://jump.to/fleury File: $Id: lcd.c,v 1.14.2.1 2006/01/29 12:16:41 peter Exp $ Software: AVR-GCC 3.3 Target: any AVR device, memory mapped mode only for AT90S4414/8515/Mega DESCRIPTION Basic routines for interfacing a HD44780U-based text lcd display Originally based on Volker Oth's lcd library, changed lcd_init(), added additional constants for lcd_command(), added 4-bit I/O mode, improved and optimized code. Library can be operated in
/**************************************************************************** Title : HD44780U LCD library Author: Peter Fleury <pfleury@gmx.ch> http://jump.to/fleury File: $Id: lcd.c,v 1.14.2.1 2006/01/29 12:16:41 peter Exp $ Software: AVR-GCC 3.3 Target: any AVR device, memory mapped mode only for AT90S4414/8515/Mega DESCRIPTION Basic routines for interfacing a HD44780U-based text lcd display Originally based on Volker Oth's lcd library, changed lcd_init(), added additional constants for lcd_command(), added 4-bit I/O mode, improved and optimized code. Library can be operated in
/**************************************************************************** Title : HD44780U LCD library Author: Peter Fleury <pfleury@gmx.ch> http://jump.to/fleury File: $Id: lcd.c,v 1.14.2.1 2006/01/29 12:16:41 peter Exp $ Software: AVR-GCC 3.3 Target: any AVR device, memory mapped mode only for AT90S4414/8515/Mega DESCRIPTION Basic routines for interfacing a HD44780U-based text lcd display Originally based on Volker Oth's lcd library, changed lcd_init(), added additional constants for lcd_command(), added 4-bit I/O mode, improved and optimized code. Library can be operated in
/**************************************************************************** Title : HD44780U LCD library Author: Peter Fleury <pfleury@gmx.ch> http://jump.to/fleury File: $Id: lcd.c,v 1.14.2.1 2006/01/29 12:16:41 peter Exp $ Software: AVR-GCC 3.3 Target: any AVR device, memory mapped mode only for AT90S4414/8515/Mega DESCRIPTION Basic routines for interfacing a HD44780U-based text lcd display Originally based on Volker Oth's lcd library, changed lcd_init(), added additional constants for lcd_command(), added 4-bit I/O mode, improved and optimized code. Library can be operated in
/**************************************************************************** Title : HD44780U LCD library Author: Peter Fleury <pfleury@gmx.ch> http://jump.to/fleury File: $Id: lcd.c,v 1.14.2.1 2006/01/29 12:16:41 peter Exp $ Software: AVR-GCC 3.3 Target: any AVR device, memory mapped mode only for AT90S4414/8515/Mega DESCRIPTION Basic routines for interfacing a HD44780U-based text lcd display Originally based on Volker Oth's lcd library, changed lcd_init(), added additional constants for lcd_command(), added 4-bit I/O mode, improved and optimized code. Library can be operated in
/**************************************************************************** Title : HD44780U LCD library Author: Peter Fleury <pfleury@gmx.ch> http://jump.to/fleury File: $Id: lcd.c,v 1.14.2.1 2006/01/29 12:16:41 peter Exp $ Software: AVR-GCC 3.3 Target: any AVR device, memory mapped mode only for AT90S4414/8515/Mega DESCRIPTION Basic routines for interfacing a HD44780U-based text lcd display Originally based on Volker Oth's lcd library, changed lcd_init(), added additional constants for lcd_command(), added 4-bit I/O mode, improved and optimized code. Library can be operated in
/**************************************************************************** Title : HD44780U LCD library Author: Peter Fleury <pfleury@gmx.ch> http://jump.to/fleury File: $Id: lcd.c,v 1.13.2.4 2005/01/16 11:58:09 Peter Exp $ Software: AVR-GCC 3.3 Target: any AVR device, memory mapped mode only for AT90S4414/8515/Mega DESCRIPTION Basic routines for interfacing a HD44780U-based text lcd display Originally based on Volker Oth's lcd library, changed lcd_init(), added additional constants for lcd_command(), added 4-bit I/O mode, improved and optimized code. Library can be operated in
ein LCD Display mit einem Atmega32 zusammen arbeitet. Beispiel-Quellcode in C würde mir auch helfen. Es wäre schön, wenn ich in Hinblick auf meine mangelnden Kentnisse nicht mit Missachtung gestraft würde
viele Fragesteller Probleme mit der LCD-Programmierung haben. Ein Ausweg ist die Verwendung einer Bibliothek, z.B. der von P. Fleury (mit C Sourcecode!): http://homepage.hispeed.ch/peterfleury/index.html Welches LCD Du brauchst, hängt
****************************************************************** Title : HD44780U EEPROM_C_1_1 library Author: Peter EEPROM_C_1_1 <pfleury@gmx.ch> http://jump.to/fleury File: $Id: lcd.c,v 1.14.2.1 2006/01/29 12:16:41 peter Exp $ Software: AVR-GCC 3.3 Target: any AVR device, memory mapped mode only for AT90S4414/8515/Mega DESCRIPTION Basic routines for interfacing a HD44780U-based text lcd display Originally based on Volker Oth's lcd library, changed lcd_init(), added additional constants for lcd_command(), added 4-bit I/O mode, improved and optimized code. Library can be operated in
Hi Rufus Hab mal für eine formatierte Ausgabe auf ein LCD (serielle Schnittstelle geht natürlich bei entsprechender Anpassung der putchar Routine auch) sowas geschrieben: //-------------------------------------------------- void putchar_lcd (unsigned char c) { write_LCD(c); } // --------------- static void put_one_char(char c, void *dummy) { dummy=0; putchar_lcd (c); } // ---------------- short dprintf_XY (unsigned char x,unsigned