-
Datei
lcd.h
/jump.to/fleury @see The chapter <a href="http://homepage.sunrise.ch/mysunrise/peterfleury/avr-lcd44780.html" target="_blank">Interfacing a HD44780 Based LCD to an AVR</a> on my home page. */ #if (__GNUC__ * 100 + __GNUC_MINOR__) < 303 #error "This library requires AVR-GCC 3.3 or later, update to newer
in „DCF auf INT0“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
mw_lcd.h
/jump.to/fleury @see The chapter <a href="http://homepage.sunrise.ch/mysunrise/peterfleury/avr-lcd44780.html" target="_blank">Interfacing a HD44780 Based LCD to an AVR</a> on my home page. */ #if (__GNUC__ * 100 + __GNUC_MINOR__) < 303 #error "This library requires AVR-GCC 3.3 or later, update to newer
in „DCF auf INT0“ · Mikrocontroller und Digitale Elektronik ·
-
Bild
Leiterplatte mit mehreren Speicherchips
Made in Japan IC10 IC9 IC8 IC7 IC6 IC1 HD44780A00 2.13 B S S HD44780A00 2.13 B S S HD44780A00 2.13 B S S HD44780A00 2.13 B S S HD44780A00 2.13 B S S S44E 2.1-0 R7 R3 R4 R5 R2 C1 C4 C5 C6
in „altes 40x4 LCD - Zeile 2 und 4 ohne Ausgabe“ · Mikrocontroller und Digitale Elektronik · · Platinenfotos
-
Datei
XLCD_Subs_DWD.c
the type of LCD (lines) * * Description: This routine configures the LCD. Based on * * the Hitachi HD44780 LCD controller. The * * routine will configure the I/O pins of the * * microcontroller, setup the LCD for 4- or * * 8-bit mode and the display. The user * * must provide three delay routines: *
in „Programmer, Debugger problem mit MPLAB - PIC 18f4520“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
WriteCmdXLCD.pdf
® MPLAB C18 C Compiler Libraries WriteCmdXLCD Function: Write a command to the Hitachi HD44780 LCD controller. Include: xlcd.h Prototype: void WriteCmdXLCD( unsigned char cmd ); Arguments: cmd Specifies the command to be performed. The command may be one of the following values defined in
in „Cursor setzen LCD Display“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.h
http://jump.to/fleury @see The chapter <a href="http://homepage.sunrise.ch/mysunrise/pfleury/avr-lcd44780.html" target="_blank">Interfacing a HD44780 Based LCD to an AVR</a> on my home page. */ /*@{*/ #if (__GNUC__ * 100 + __GNUC_MINOR__) < 303 #error "This library requires AVR-GCC 3.3 or later, update
in „LCD von Peter Fleury“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.h
/jump.to/fleury @see The chapter <a href="http://homepage.sunrise.ch/mysunrise/peterfleury/avr-lcd44780.html" target="_blank">Interfacing a HD44780 Based LCD to an AVR</a> on my home page. */ /*@{*/ #if (__GNUC__ * 100 + __GNUC_MINOR__) < 303 #error "This library requires AVR-GCC 3.3 or later, update
in „1*16 LCD _mit Peter Fleury's LCD library“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.h
http://jump.to/fleury @see The chapter <a href="http://homepage.sunrise.ch/mysunrise/pfleury/avr-lcd44780.html" target="_blank">Interfacing a HD44780 Based LCD to an AVR</a> on my home page. */ /*@{*/ #if (__GNUC__ * 100 + __GNUC_MINOR__) < 303 #error "This library requires AVR-GCC 3.3 or later, update
in „Problem LCD 2x8 Zeichen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.h
/jump.to/fleury @see The chapter <a href="http://homepage.sunrise.ch/mysunrise/peterfleury/avr-lcd44780.html" target="_blank">Interfacing a HD44780 Based LCD to an AVR</a> on my home page. */ /*@{*/ #if (__GNUC__ * 100 + __GNUC_MINOR__) < 303 #error "This library requires AVR-GCC 3.3 or later, update
in „LCD Problem“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.h
http://jump.to/fleury @see The chapter <a href="http://homepage.sunrise.ch/mysunrise/pfleury/avr-lcd44780.html" target="_blank">Interfacing a HD44780 Based LCD to an AVR</a> on my home page. */ /*@{*/ #if (__GNUC__ * 100 + __GNUC_MINOR__) < 303 #error "This library requires AVR-GCC 3.3 or later, update
in „Makefile produziert undefined reference to“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.h
/jump.to/fleury @see The chapter <a href="http://homepage.sunrise.ch/mysunrise/peterfleury/avr-lcd44780.html" target="_blank">Interfacing a HD44780 Based LCD to an AVR</a> on my home page. */ /*@{*/ #if (__GNUC__ * 100 + __GNUC_MINOR__) < 303 #error "This library requires AVR-GCC 3.3 or later, update
in „Atmega32 PortB freigeben, freischalten“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.h
/jump.to/fleury @see The chapter <a href="http://homepage.sunrise.ch/mysunrise/peterfleury/avr-lcd44780.html" target="_blank">Interfacing a HD44780 Based LCD to an AVR</a> on my home page. */ /*@{*/ #if (__GNUC__ * 100 + __GNUC_MINOR__) < 303 #error "This library requires AVR-GCC 3.3 or later, update
in „Probleme mit LCD-Ausgabe von Peter Fleury“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.h
/jump.to/fleury @see The chapter <a href="http://homepage.sunrise.ch/mysunrise/peterfleury/avr-lcd44780.html" target="_blank">Interfacing a HD44780 Based LCD to an AVR</a> on my home page. */ /*@{*/ #if (__GNUC__ * 100 + __GNUC_MINOR__) < 303 #error "This library requires AVR-GCC 3.3 or later, update
in „Funktion wird nicht ausgeführt mit Ausgabe auf LCD“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.h
/jump.to/fleury @see The chapter <a href="http://homepage.sunrise.ch/mysunrise/peterfleury/avr-lcd44780.html" target="_blank">Interfacing a HD44780 Based LCD to an AVR</a> on my home page. */ /*@{*/ #if (__GNUC__ * 100 + __GNUC_MINOR__) < 303 #error "This library requires AVR-GCC 3.3 or later, update
in „Probleme mit LCD-Ausgabe von Peter Fleury“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.h
gmx.ch http://jump.to/fleury @see The chapter <a href="http://www.mysunrise.ch/users/pfleury/avr-lcd44780.html" target="_blank">Interfacing a HD44780 Based LCD to an AVR</a> on my home page. */ /*@{*/ #if (__GNUC__ * 100 + __GNUC_MINOR__) < 303 #error "This library requires AVR-GCC 3.3 or later, update
in „Problem mit LCD“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
LCDChipRS232.pdf
66 44532 Lünen Tel.: 0163 / 333 69 17 http://www.daschke-ltd.de Email: info@daschke-ltd.de LCD mit HD44780 (kompatiblem) Controller 8 Bit I/O 8 Bit I/O mit open collector RS232 LCDChipRS232 * EXTREM einfache Ansteuerung von alphanumerischen LCDs mittels eines Chips. * Sie müssen sich nicht mehr sorgen
in „LCD Display Steuerung“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
delay.h" #include "tm_stm32f4_low_power.h" #include "tm_stm32f4_nrf24l01_cj.h" #include "tm_stm32f4_hd44780.h" /* ------------ Projekt Include Files --------------- */ #include "config.h" #include "rtc_user.h" #include "init_system.h" #include "graphik.h" #include "eeprom.h" #include "tools.h" #include
in „Organisation der Header und Includes“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.h
http://jump.to/fleury @see The chapter <a href="http://homepage.sunrise.ch/mysunrise/pfleury/avr-lcd44780.html" target="_blank">Interfacing a HD44780 Based LCD to an AVR</a> on my home page. */ /*@{*/ #if (__GNUC__ * 100 + __GNUC_MINOR__) < 303 #error "This library requires AVR-GCC 3.3 or later, update
in „LCD von Peter Fleury“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
xlcd.txt
peripheral routines. * * Notes: * - These libraries routines are written to support the * Hitachi HD44780 LCD controller. * - The user must define the following items: * - The LCD interface type (4- or 8-bits) * - If 4-bit mode * - whether using the upper or lower nibble * - The data port * - The tris
-
PDF
hd44780_init.pdf
HD44780U Normally, instructions that perform data transfer with internal RAM are used the most. However, auto- incrementation by 1 (or auto-decrementation by 1) of internal HD44780U RAM addresses after
in „LCD 2 Zeilen Ausgabe“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.h
http://jump.to/fleury @see The chapter <a href="http://homepage.sunrise.ch/mysunrise/pfleury/avr-lcd44780.html" target="_blank">Interfacing a HD44780 Based LCD to an AVR</a> on my home page. */ /*@{*/ #if (__GNUC__ * 100 + __GNUC_MINOR__) < 303 #error "This library requires AVR-GCC 3.3 or later, update
in „HD44780 atmega168“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
processing.c
(flags.backlight) { TM_HD44780_Clear(); char buf[20]; if (lcd_switch) { sprintf(buf,"P: %4.1f mBar\n\rT: %3.1f Celsius",Druck->P_Now,Druck->T_Now); TM_HD44780_Puts(0, 0, buf); lcd_switch = false; } else { sprintf(buf,"SA: %02u:%02u Uhr",SonnenZeiten.SAG_Std,SonnenZeiten.SAG_Min); TM_HD44780_Puts(0, 0, buf); sprintf(buf,"SU: %02u:%02u Uhr",SonnenZeiten.SUG_Std,SonnenZeiten.SUG_Min); TM_HD44780_Puts(0, 1, buf); lcd_switch = true; } } /* ------- Berechnungen der LED im Normalbetrieb -
in „Organisation der Header und Includes“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
LiIon_1s_Lader.lst
& _STVREN_OFF & _BORV_19 &_PLLEN_OFF 00060 LIST 00061 CBLOCK 0x20 00000020 00062 LcdData ;LcdInit HD44780_2Wire.INC 00000021 00063 LcdBit ;Bitzähler 00000022 00064 LcdFlags ;Ablaufsteuerung Daten/Instruktionen 00000023 00065 d1,d2,d3,d4,d5,d6 ;counters (vgl. delay routines) 00000029 00066 tmpLines ;
in „PIC16F1827-MCP4151 TMR0-Interrupt wird immer wieder nicht ausgefuehrt“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
HD44100_Spaltentreiber.pdf
, HD61830, HD61830B, LCD-II (HD44780), LCD-III (HD44790) • Internal output circuits for LCD drive: 80 • Internal serial/parallel converting circuits 80-bit bidirectional shift register 80-bit latch circuit
in „HD44780 und HD44100 Schaltung“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
diff-20100823.txt
define CPU_MHZ 20 +# define CPU_MHZ_10 200 +# define F_CPU 20000000L #endif diff -Bb -up freq_meter/lcd_hd44780u.h freq_meter-20100823/lcd_hd44780u.h --- freq_meter/lcd_hd44780u.h 2010-08-22 16:56:56.000000000 +0200 +++ freq_meter-20100823/lcd_hd44780u.h 2010-08-23 23:37:28.000000000 +0200 @@ -80,6 +80,8
in „Reziproker Frequenzzähler+ Optimierte 64bit uint Routinen“ · Projekte & Code ·
-
Datei
01_prog.c
gmx.ch http://jump.to/fleury @see The chapter <a href="http://www.mysunrise.ch/users/pfleury/avr-lcd44780.html" target="_blank">Interfacing a HD44780 Based LCD to an AVR</a> on my home page. */ /*@{*/ #if (__GNUC__ * 100 + __GNUC_MINOR__) < 303 #error "This library requires AVR-GCC 3.3 or later, update
in „Zwei displays mit Atmega 16“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.h
in Hz, used to calculate delay timer */ /** * @name Definition for LCD controller type * Use 0 for HD44780 controller, change to 1 for displays with KS0073 controller. */ #define LCD_CONTROLLER_KS0073 0 /**< Use 0 for HD44780 controller, 1 for KS0073 controller */ /** * @name Definitions for Display
in „Display geht immernoch nicht.“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
hd44780.inc.asm
************************************************************************************ ; LCD Routine HD44780 ; -> Auszugebenes Zeichen ist in "befehl" also vorher z.b. ldi befehl, 'a' ;************************************************************************************************************************ ; ; LCD-Display Include Funktionen für HD44780 ; AVR / LCD-Display & Definition (Pin am LCD) ; --------------------- ; PC0 = DB4 (11) ; PC1 = DB5 (12) ; PC2 = DB6 (13) ; PC3 = DB7 (14) ; PC4 = RS (DI) (4) ; PC5 = E (6) ;*********************
in „lcd routines umgeschrieben -fehler“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
dev-hd44780.asm
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; ;; ;; Microconroller-Driver for a ;; ;; HD44780-compatible LCD-Display ;; ;; ;; ;; Every Pin is freely ;; ;; configurable. ;; ;; ;; ;; Even a 74-164/74-595 option with ;; ;; Clock, Data and Latch-Enable ;; ;; -Pin is built in. ;; ;; ;; ;;;;;;
in „[ASM] Konfigurierbarer LCD-Treiber für HD44780-Displays“ · Projekte & Code ·
-
Datei
dev-hd44780.asm
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; ;; ;; Microconroller-Driver for a ;; ;; HD44780-compatible LCD-Display ;; ;; ;; ;; Every Pin is freely ;; ;; configurable. ;; ;; ;; ;; Even a 74-164/74-595 option with ;; ;; Clock, Data and Latch-Enable ;; ;; -Pin is built in. ;; ;; ;; ;;;;;;
in „[ASM] Konfigurierbarer LCD-Treiber für HD44780-Displays“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
HD44780_mod.h
DAMAGE. //********************************************************************************* #ifndef HD44780_HPP #define HD44780_HPP //#include <static_assert.h> #include <delay.h> #include <pinlist.h> #include <avr/pgmspace.h> namespace Mcucpp { //******************************************************
in „Welchen Controller für C++ Programmierung?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
hd44780_settings.h
#ifndef HD44780_SETTINGS_H #define HD44780_SETTINGS_H #define F_CPU 4000000 // Set Clock Frequency #define USE_ADELAY_LIBRARY 0 // Set to 1 to use my ADELAY library, 0 to use internal delay functions #define LCD_BITS
in „ATmega16 und HD44780 in 4-Bit modus Hilfe!“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
hd44780Test.ino
#include <LiquidCrystal.h> //LiquidCrystal lcd(RS, E, D4, D5, D6, D7); LiquidCrystal lcd(11, 12, 5, 4, 3, 2); void setup() { // LCD initialisieren lcd.begin(16, 2); } void loop() { lcd.setCursor(0,0); lcd.print("Let's"); lcd.setCursor(0,1); lcd.print("get Dangerous!!!"); delay(1000); }
in „Arduino und Hd44780 - keine Kommunikation“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
LCD_HD44780.c
//contains simple handling for a display with KS0066 controller (HD44780 compatible) //written for conrad electronic AV0820 but can be used for any HD044780 compatible displays //4 bit interface, bitbanging #include "LCD HD44780.h" // writes characters in cgram // *data
in „LCD Display zeigt keine Zeichen an (PIC18, HD44780)“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
LCD_HD44780.h
/* * File: display handling.h * Author: Standarduser * * Created on 23. November 2013, 13:18 */ #ifndef DISPLAY_HANDLING_H #define DISPLAY_HANDLING_H #ifdef __cplusplus extern "C" { #endif #include "mainheader.h" /*ports*/ #define disp_db7 LATAbits.LATA0 #define disp_db6 LATAbits.LATA1 #define disp_db5 LATBbits.LATB1 #define disp_db4 LATBbits.LATB0 #define disp_clock LATBbits.LATB2 #define disp_funcsel LATBbits.LATB7 #define disp_light LATBbits.LATB8 #define disp_db7_tri TRISAbits.TRISA0 #define disp_db6_tri TRISAbits.TRISA1 #define disp_db5_tri TRISBbits.TRISB1 #define disp_db4_tri TRISBbits.TRISB0
in „LCD Display zeigt keine Zeichen an (PIC18, HD44780)“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
LCD_Definition.h
// LCD - Definitionsdatei zur Ansteuerung von HD44780 und KS0073 kompatiblen LCD im 4-Bit-Interfacemodus #ifndef LCD_DEFINITION_H #define LCD_DEFINITION_H #include <avr/pgmspace.h> //******************************************************* //* PORT-
in „Pollin Evaluation Addon-board v1.0 LCD Ansteuerung mit Arduino Problem“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
LCD_Definition.h
// LCD - Definitionsdatei zur Ansteuerung von HD44780 und KS0073 kompatiblen LCD im 4-Bit-Interfacemodus #ifndef LCD_DEFINITION_H #define LCD_DEFINITION_H #include <avr/pgmspace.h> //******************************************************* //* PORT-
in „Pollin Evaluation Addon-board v1.0 LCD Ansteuerung mit Arduino Problem“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
diff-20100823.txt
define CPU_MHZ 20 +# define CPU_MHZ_10 200 +# define F_CPU 20000000L #endif diff -Bb -up freq_meter/lcd_hd44780u.h freq_meter-20100823/lcd_hd44780u.h --- freq_meter/lcd_hd44780u.h 2010-08-22 16:56:56.000000000 +0200 +++ freq_meter-20100823/lcd_hd44780u.h 2010-08-24 00:20:01.000000000 +0200 @@ -80,6 +80,8
in „Reziproker Frequenzzähler+ Optimierte 64bit uint Routinen“ · Projekte & Code ·
-
Datei
config_328.h
enabled by removing the leading "//", or * disabled by placing a "//" in front of the setting. */ /* * HD44780 * - 4 bit parallel interface * - if you change LCD_DB4/5/6/7 comment out LCD_DB_STD! */ #if 0 #define LCD_HD44780 /* display controller HD44780 */ #define LCD_TEXT /* character display */ #define
in „ComponentTester-1.42m problem“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
config_328.h
enabled by removing the leading "//", or * disabled by placing a "//" in front of the setting. */ /* * HD44780 * - 4 bit parallel interface * - if you change LCD_DB4/5/6/7 comment out LCD_DB_STD! */ #if 0 #define LCD_HD44780 /* display controller HD44780 */ #define LCD_TEXT /* character display */ #define
-
Datei
16F628_LCD_.ASM
d1,d2,d3 ;Delay-Routinen Lcd_Data ;used for data transfer to LCD (ASCII-Code) Lcd_Control ;used for HD44780 instructions Lcd_Status ;to copy the LCD-PORT detecting busyflag ENDC ; ;LABELS #define LCD_PORT PORTB ;Output-port LCD-data (e.g. Char.) #define LCD_LAT PORTB ;16F628 enthält kein LATB-Register
in „PIC 16F628A Problem (Frequenzzähler von sprut)“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
TBV_LCD44780.h
/** TBV LCD Display Treiber **/ /** für AVR Mikrocontroller **/ /** LCD-Controller HD44780 **/ /** und kompatible **/ /** Ansteuerung im 4-bit Modus **/ /** Lese- und Schreibmodus **/ /** Version 20140508_1 BETA **/ #ifndef TBV_LCD44780_H #define TBV_LCD44780_H /*Taktfrequenz*/ #define
in „A tiny project RS232 -> LCD PCB zu verschenken.“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcdpcf8574.h
Bit.3 ==> D7 Bit.2 ==> D6 Bit.1 ==> D5 Bit.0 ==> D4 */ /* instruction register bit positions, see HD44780U data sheet */ #define LCD_CLR 0 /* DB0: clear display */ #define LCD_HOME 1 /* DB1: return to home position */ #define LCD_ENTRY_MODE 2 /* DB2: set entry mode */ #define LCD_ENTRY_INC 1 /* DB1:
in „Eclipse Kompilierung LCD Buchstabensalat“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
LCD_2X16.C
************************************************ // Demoprogramm // Inhalt: LCD (16x2 Zeilen) mit (HD44780 Controller) ansteuern, // LEDs und Tasten, Timer-Interrupt, UART serielle Schnittstelle // LCD-Controller: HD44780 kompatibel // für KSxxxx sind Änderungen der Initialisierung // und der Zeilenadressenzuordnung
in „44780 initialisierung klappt nicht (8051, Keil)“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
LCD.txt
File: lcd.c Compiler: AVR-GCC 3.3 Hardware: AVR Date: 04.06.2009 Basic routines for interfacing a HD44780U-based text LC-Display 4bit mode, microcontroller I/O port, write only (rw pin -> GND), dual- or single-line display *****************************************************************************
in „LCD zeigt Schrott an“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
diff-20100825.txt
define CPU_MHZ 20 +# define CPU_MHZ_10 200 +# define F_CPU 20000000L #endif diff -Bb -up freq_meter/lcd_hd44780u.h freq_meter-20100825/lcd_hd44780u.h --- freq_meter/lcd_hd44780u.h 2010-08-22 16:56:56.000000000 +0200 +++ freq_meter-20100825/lcd_hd44780u.h 2010-08-24 19:52:51.000000000 +0200 @@ -80,9 +80,15
in „Reziproker Frequenzzähler+ Optimierte 64bit uint Routinen“ · Projekte & Code ·
-
Datei
16F1827_CSM_00.ASM
; PORTA RA0 LCD DATA 2Wire-LCD Interface ; RA1 LCD CLK " ; RA3 CPS3 Input ; ; Files 16F1827.INC ; HD44780_2WIRE.INC ;******************************************************************** ;SUPPRESSED WARNINGS ERRORLEVEL -302 ;Register in operand not in bank 0. Ensure .. ERRORLEVEL -207 ;Found label after
in „PIC16F1827 Capacitive Sensing Module Assembler“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
16F876_LCD.ASM
* ;********************************************************************** ; Files: P16F876A.INC ; HD44780.INC ;********************************************************************** ; * ; Pinbelegung PIC16F873 76 77 * ; Pin Pin ; 1 MCLR/VPP 28 RB7/PGD ; 2 RA0/AN0 27 RB6/PGC ; 3 RA1/AN1 26 RB5 ; 4 RA2
in „PIC LCD Ausgabe von Strings“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
16F876_LCD.ASM
restrictions ;********************************************************************** ; Files: P16F876A.INC ; HD44780.INC ; ; Hardware P16F876A ; 28-pin-Testplatine ; Quarz 4MHz ; LCD 2x8 HD4470ß-kompatibel ;********************************************************************** ; ; Pinbelegung PIC16F873 76 77 ;
in „Probleme mit LCD an PIC 16f887“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
HD44780_5V.s
.equ F_CPU, 32000000 .equ LCD_D7_LAT, LATB .equ LCD_D7_BIT, 7 .equ LCD_D6_LAT, LATB .equ LCD_D6_BIT, 6 .equ LCD_D5_LAT, LATB .equ LCD_D5_BIT, 5 .equ LCD_D4_LAT, LATB .equ LCD_D4_BIT, 4 .equ LCD_En_LAT, LATB .equ LCD_En_BIT, 3 .equ LCD_RS_LAT, LATB .equ LCD_RS_BIT, 2 LCD_Char: bset LCD_RS_LAT,#LCD_RS_BIT call send_8bit call delay_38 return LCD_Cmd: bclr LCD_RS_LAT,#LCD_RS_BIT call send_8bit call delay_38 return LCD_Str: mov w0,w1 mov.b [w1++],w0 send_str_loop: call LCD_Char mov.b [w1++],w0 add.b #0,w0 ;Add 0x00 to affect zero flag bra nz,send_str_loop return LCD_Init: mov #(LCD_D7_LAT-0x04),w0 ;[LATx
in „[ASM & C] HD44780 an PIC24 (3.3V oder 5V)“ · Projekte & Code ·