-
Datei
sr_adc4.vhdl
- At free running conversion, memory address lines will be incremented on each sample Entity sr_adc4 is Generic ( AdrSize : INTEGER := 20 ); Port ( cs : in STD_LOGIC; -- chip-select: ADC starts with setting cs high frc : in STD_LOGIC; -- free running conversion (high) or single shot (low) i_clock :
in „Der vhdl-Schnipsel-Anfängerfragen Thread“ · FPGA, VHDL & Co. ·
-
Datei
lcd4inc.asm
;******************************************************************************* ; File: m8_LCD_4bit.asm ; Title: ATmega8 driver for LCD in 4-bit mode (HD44780) ; Assembler: AVR assembler/AVR Studio ; Version: 1.0 ; Created: April 5th, 2004 ; Target: ATmega8 ; Christoph Redecker, http://www.avrbeginners.net
in „Assemblerprogr. LCD ansteuerung will nicht funktionieren“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Neues_Textdokument__4_.txt
;for AVR: ATmega16 * ;clock frequency: 4MHz * ;************************************************************************** ;Programm function: ;-------------------------------------------------------------------------- .device ATmega16 .nolist
in „Zahlenschloss“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Y_MI4.ASM
noch drunter... mov paval,pamax ;ja, begrenzen menu3: sbrs tas,tminus ;Minustaste? - ja... rjmp menu4 ;nein... dec paval ;ja, Parameter vermindern cp pamin,paval ;Grenzwert erreicht oder unterschritten? brcs menu4 ;nein, noch drüber... mov paval,pamin ;ja, begrenzen menu4: st z,paval ;Parameterwert wieder
in „EEPROM Tiny13“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
TEST2.4.asm
taste3 ;nein... ; mov soll2,max ;ja, auf Maxwert begrenzen ;taste3: ; sbrs tfl,3 ;Taste 3? ; rjmp taste4 ;nein... ; add soll3,ri ;ja, ändern ;rcall t4 ; cp soll3,max ;Maxwert überschritten? ; brlo taste4 ;nein... ; mov soll3,max ;ja, auf Maxwert begrenzen ;taste4: ; sbrs tfl,4 ;Taste 4? ; rjmp taste5 ;nein
in „MENÜ-STEUERUNG“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd4bit.h
void lcdWriteDatavierbit(unsigned char Data); void lcdInit(void); void WriteLCD(unsigned char *this_text, unsigned short zeile,unsigned short spalte);
in „Hilfe bei LCD Ansteuerung“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
test_korrektur_4.c
auswerten und Byte zuweisen case 245: key = '2'; break; case 243: key = '3'; break; case 238: key = '4'; break; case 237: key = '5'; break; case 235: key = '6'; break; case 222: key = '7'; break; case 221: key = '8'; break; case 219: key = '9'; break; case 189: key = '0'; break; case 190: key = '*'; break
in „3x4 tastenmatrix auslesen ..auf ein neues“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd4bitsub.asm
;----------------------------------------- ; LCD Routines for 4Bit I/F ;----------------------------------------- ; ; Connections ; DB4-DB7 PORTB 7..4 ; RS PORTC 2 ; RW PORTC 3 ; E PORTC 4 ;----------------------------------------- ;------------------------------
in „Tiny26 LCD an PortA und PortB“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
can_a4.a
;============================================================================= ; Name: CAN_A4.A ; Ver.: 1.0 ; Func: CAN-Bus demo for HC12compact-Board (C)MCT Lange & Thamm ; receives data from the SC0 (serial interface) of the HC12, ; sends them out via the CAN-Bus and vice versa ; Auth: Andreas
in „Assembler Code nach C übersetzen“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
mcu4vco.pdf
www.thpeter.de ● Nur zum privaten Gebrauch, Bildungszwecke, nicht gestattet ist die gewerbliche und kommerzielle Nutzung ● Ohne Gewähr! Der Autor übernimmt keinerlei Verantwortung für die Richtigkeit oder Funktionalität. Noch kann der Auto haftbar gemacht werden für irgendwelche Schäden, die aus dieser Dokumentation direkt oder indirekt entstehen. ● Viel Spaß! www.thpeter.de www.thpeter.de
in „Zilog Encore Experimentierplatine“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
EADIP204-4.pdf
Created with novaPDF Printer (www.novaPDF.com). Please register to remove this message.
in „LCD EA DIP204-4 Initialisieren“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
4N38.pdf
H11D3 - H11D4 VCER 200 4N38 80 H11D1 - H11D2 300 V *Collector Base Voltage H11D3 - H11D4 VCBO 200 4N38 80 H11D1 - H11D2 *Emitter to Collector Voltage VECO 7 H11D3 - H11D4 Collector Current (Continuous) 100 mA ELECTRICAL
in „A4N38 Optokoppler SMD Gehäuse ?“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
SBLCDA4_Specifications.pdf
SoftBaugh 4080 McGinnis Ferry Road Suite 604 Awww.softbaugh.com05 SBLCDA4 Overview Our advanced SBLCDA4 is compatible with all MSP430s featuring LCD drive. The SBLCDA4 offers the following features: • 2.7v to 3.6v operation directly connected to the MSP430 LCD drive • 4-mux
in „MSP430 Experimentierboard - LCD (SBLCDA4)“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
PCF8574_4.pdf
f SCL clock frequency − − 100 kHz SCL SW tolerable spike width on bus − − 100 ns BUF bus free time 4.7 − − s SU;STA START condition set-up time 4.7 − − s HD;STA START condition hold time 4.0 − − s LOW SCL LOW time 4.7 − − s HIGH SCL HIGH time 4.0 − − s t SCL and SDA rise time − − 1.0 s r f SCL and SDA
in „PCF8574 Routine in C“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
crc16_4.cpp
; CRC16_4 = CRC16_4 ^ r ^ crc_16_4_table[ch & 0xF]; /* now compute checksum of upper four bits of *p */ r = crc_16_4_table[CRC16_4 & 0xF]; CRC16_4 = (CRC16_4 >> 4) & 0x0FFF; CRC16_4 = CRC16_4 ^ r ^ crc_16_4_table[(ch >> 4) & 0xF]; } FUNCT u16 CRC16_4_result( void ) { return CRC16_4 ; }
in „CRC-Verfahren“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd_4_bit.c
Port-Belegung // // E -> PB0 // RS -> PB2 // R/W -> PB1 // // DB0 -- // DB1 -- // DB2 -- // DB3 -- // DB4Ž-> PA4 // DB5 -> PA5 // DB6 -> PA6 // DB7 -> Pa7 void delay_ms(unsigned int anz_milisekunden); void delay_100us(unsigned int anz); void init_ports(void); void lcd_init_4bit(void); void lcd_write_data
in „Problem mit LCD 4 Bit Initalisierung“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
dip204-4.pdf
2.2004 EADIP204-4 LCD- MODUL4x20 - 3,73mm INKL. KONTROLLER KS0073 ntage ine Mo rlih ke rorde e EADIP204B-4NLW: Abmessungen 75 x 27 mm EADIP204-4HNLED: Abmessungen 68 x 27 mm TECHNISCHE DATEN * KONTRASTREICHE LCD-SUPERTWIST
in „RM 2,0mm Platinen Stecker“ · Markt ·
-
PDF
ULN2801-4.pdf
3.85V 0.93 1.35 mA for ULN2804A V i= 5V 0.35 0.5 mA 3 V i= 12V 1 1.45 mA for ULN2805A V i= 3V 1.5 2.4 mA Ii(off) Input Current Tamb = 70⋅C, C = 500 A 50 65 A 4 Vi(on) Input Voltage VCE = 2 V for ULN2802A 13 V IC= 300mA for ULN2803A 2.4 V IC= 200mA 2.7 V IC= 250mA 3 V IC= 300mA 5 for ULN2804A 5 V IC=
in „Frage zu MOS4007 (MOSFETs + INV)“ · Analoge Elektronik und Schaltungstechnik ·
-
PDF
BPY62-4.pdf
V IPCB 4.5 A E = 1000 Ix, Normlicht/standard light A, I 17 A v PCB VCB = 5 V Kapazität Capacitance VCE = 0 V,f= 1 MHz, E = 0 C CE 8 pF V = 0 V,f= 1 MHz, E = 0 C 11 pF CB CB VEB = 0 V,f= 1 MHz, E = 0 C EB 19 pF
in „Fotowiderstand, Fotodiode oder -transistor => Reaktionszeit“ · Analoge Elektronik und Schaltungstechnik ·
-
Datei
lcd_4Bit.c
************************************/ /*** LCD - Pinbelegnung ***/ /*** LCD µC Wert ***/ /*** RS = 4 ***/ /*** RS = P1^0 "1" ***/ /*** RW = 5 ***/ /*** RW = P1^1 "2" ***/ /*** EN = 6 ***/ /*** EN = P1^2 "4" ***/ /*** D4 = 11 ***/ /*** D4 = P1^4 "1" ***/ /*** D5 = 12 ***/ /*** D5 = P1^5 "2" ***/ /*** D6 = 13 ***/ /*** D6 = P1^6 "4" ***/ /*** D7 = 14 ***/ /*** D7 = P1^7 "8" ***/ #include <AT892051.h> #include "Lcd_4bit.h" #include "Func.h" // wait() #include "MyTypes.h" // u_char / u_int /* ---- Display busy status ------------
in „Atmega16 - Display 16x2(Neuhold) - hd44780 kompatibel?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
sine_light4.asm
(L) Counter clr BCount ; Adjustable speed (H) Counter ; X/Y ?? clr state ; State machine q1-q2-q3-q4- clr PCount ; bookkeeper for table qsin clr pow ; PWM - duty cycle clr speed ; Adjustable Speed Value ; ldi temp, 0b00000100 ; sts TCCR0a,temp ldi temp, 0b00000001|(1<<WGM21) ; divider | CTC mode sts
in „Sinus mit PWM und tiny2313 - suche Codebeispiel“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
dogm2_4.c
char byte; typedef unsigned int word; typedef unsigned long dword; // Definebereich #define LCD_ON P1_4 #define LCD_E1 P3_5 #define LCD_RS P3_7 #define LCD_RW P3_6 #define LCD_DATA7 P2_7 #define LCD_DATA6 P2_6 #define LCD_DATA5 P2_5 #define LCD_DATA4 P2_4 #define SPALTEN_MAX 16 #define ZEILEN_MAX 2 //
in „Lib für DOG-Mxxx LCD (4bit oder i2c)“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
switch4ch.c
/* * switch4ch.c * ATtiny13 mit 1,25 MHz internal RC resonator * * This small program parses the signal of an RC receiver output and switches * 4 functions according to the input signal. The pcb will be connected
-
Datei
Verriegel_4_Tasten.bas
$regfile = "m32def.dat" Dim A As Byte Ddra = &B1111000 'Bit4-7 Ausgang Bit0-3 Eingang Porta = &B00001111 ' Pull Ups On Ddrb = &B00000000 'PortB alle Mann auf Eingang Do Do ' pins lesen solange keine Taste gedrückt ist A = Porta A = A And &H0F Loop Until A <> &H0F If Pina.0 = 0 Then 'Auswertung Porta.4 = 1 Else if Pina.1 = 0 Then Porta.5 = 1 Else if Pina.2 = 0 Then Porta.6 = 1 Else if Pina.3 = 0 Then Porta.7 = 1 End If End If End If End If Do ' auf RESET an PINB.0 warten Loop Until Pinb.0 = 0 Porta
in „Problem mit der Programmierung Bascom“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
PCF8574_4.pdf
f SCL clock frequency − − 100 kHz SCL SW tolerable spike width on bus − − 100 ns BUF bus free time 4.7 − − s SU;STA START condition set-up time 4.7 − − s HD;STA START condition hold time 4.0 − − s LOW SCL LOW time 4.7 − − s HIGH SCL HIGH time 4.0 − − s t SCL and SDA rise time − − 1.0 s r f SCL and SDA
in „I²C tolle Alternative“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
mbhp_doutx4.pdf
1 C 0 5 0 u - + + F V C C O d s 1 J s 3 9 O8 Vss 8 D 10 7 7 V CLR# O7 6 11 SCLK 7 O6 6 4 12 H 5 5 RCLK C O5 5 D 13 OE# 9 O4 4 4 5 14 3 3 SER O3 D 15 O0 O2 2 2 16 1 1 5 Vdd O1 V D 1 0 0 C 0 1 * 1 n 2 - F 0 8 J V 4 h 9 8 s e O8 Vss b 7 y +0 CLR# O7 7 p V s 11 6 6 s SCLK 7 O6 c H D a 12 RCLK
in „7-Segm. über Schieberegister“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd_4bit.c
***************************************** #include "project.h" #ifdef _DOXYGEN_PARSER_ #define LCD_4BIT #define LCD_4BIT_DEBUG #endif #ifdef LCD_4BIT #include <stdio.h> #include <msp430x22x2.h> #include "lcd_4bit.h" #include "delay.h" #include <string.h> // Constants for special characters #define PC_SIGN_LC_AE
in „MSP430_RTC_Display_Zeiger“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
switch4ch.c
/* * switch4ch.c * ATmega8 mit 8 MHz externen RC resonator * * This small program parses the signal of an RC receiver output and switches * 4 functions according to the input signal. The pcb will be connected * exactly
-
PDF
-
Datei
lcd_par4.inc
lcd_zeit: ; 4 Millisekunden push r16 push r17 ldi r16,CPU_Frequency/375000 lcd_zeit1: ldi r17,0 lcd_zeit2: dec r17 brne lcd_zeit2 ldi r17,0 lcd_zeit3: dec r17 brne lcd_zeit3 dec r16 brne lcd_zeit1 pop r16 pop r17
in „AVR LCD lib für HD47780 (z.B. Pollin C0802-04)“ · Projekte & Code ·
-
Datei
lcd_test4.c
} //////////////////////////////////////////////////////////////////////////////// // Sendet eine 4-bit Ausgabeoperation an das LCD static void lcd_out( uint8_t data ) { data &= 0xF0; // obere 4 Bit maskieren LCD_PORT &= ~(0xF0>>(4-LCD_DB)); // Maske löschen LCD_PORT |= (data>>(4-LCD_DB)); // Bits
in „error: stray ‘\327′ in program“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd4a.inc
;************************************************************** ;* File Name : lcd4a.inc ;* Title : LCD Routinen , 4 Bit - Mode , DB-High ;* Date : 07.12.02 ;* Version : 1.1 ;* Target MCU : AT90Sxxxx ;* ;* ;* Änderungen : ;* Original lcd4b.inc , lowByte ; ;**************************
in „Fehlermeldung ?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd4a.inc
;************************************************************** ;* File Name : lcd4a.inc ;* Title : LCD Routinen , 4 Bit - Mode , DB-High ;* Date : 07.12.02 ;* Version : 1.1 ;* Target MCU : AT90Sxxxx ;* ;* ;* Änderungen : ;* Original lcd4b.inc , lowByte ; ;**************************
in „Fehlermeldung ?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
omap4_temp.c
include <sys/mman.h> #include <sys/time.h> #include <unistd.h> #include <fcntl.h> #define TEMP_SENSOR 0x4a00232c #define BANDGAP_CLKCTRL 0x4a307888 static const signed char temp_tab[128] = { -40.00, -40.00, -40.00, -40.00, -40.00, -40.00, -40.00, -40.00, -40.00, -40.00, -40.00, -40.00, -40.00, -39.00, -36.50
in „USB Lader überlisten Pandaboard“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
LCD_4BIT.inc
; ************************* ----- **************************** ; LCD_4BIT.inc | LCD | 07.02.2012 Karl Kolb ; ----- ; Hilfsroutinen für die Ausgabe auf ein LC-Display ; im 4Bit-Modus ; ;************************************************************* ; ; DB4-DB7: PD4-PD7 ;
in „Probleme mit DCF77-Decodierprogramm“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
UART-Daten4.txt
140 -20<\n>-138 -18<\n>-136 -16<\n>-134 -14<\n>-132 -12<\n>-130 -10<\n>-128 -8<\n>-126 -6<\n>-124 -4<\n>-122 -2<\n>-120 0<\n>-118 2<\n>-116 4<\n>-114 6<\n>-112 8<\n>-110 10<\n>-108 12<\n>-106 14<\n>-104 16<\n>-102 18<\n>-100 20<\n>-96 24<\n>-92 28<\n>-88 32<\n>-84 36<\n>-80 40<\n>-76 44<\n>-72 48<\n
in „µC rechnet falsch oder ich finde den Fehler nicht“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
4-Bit_Counter.vhd
library IEEE; use IEEE.STD_LOGIC_1164.ALL; use IEEE.STD_LOGIC_ARITH.ALL; use IEEE.STD_LOGIC_UNSIGNED.ALL; ---- Uncomment the following library declaration if instantiating ---- any Xilinx primitives in this code. --library UNISIM; --use UNISIM.VComponents.all; entity Bit_Counter is Port ( clk : in STD_LOGIC; reset : in STD_LOGIC; counter : out STD_LOGIC_VECTOR (3 downto 0); signal_out : out STD_LOGIC); end Bit_Counter; architecture Behavioral of Bit_Counter is signal counter_int : std_logic_vector(3 downto 0) :=x"0"; begin P1: process( clk, reset ) begin if( clk'event and clk = '1' ) then if reset= '1
-
Datei
TLC5940_4.c
+11 0x00, 0x00, 0x00, // Channel 8+9 0x00, 0x00, 0x00, // Channel 6+7 0x00, 0x00, 0x00, // Channel 4+5 0x00, 0x00, 0x00, // Channel 2+3 0x00, 0x00, 0x00, // Channel 0+1 }; ISR(TIMER1_COMPA_vect) { //Versuch1 XLAT puls zu erzeugen PORTB = 0x08; PORTB = 0x00; } int main(void) { DDRB=0xAF; DDRD=0xFF; /
in „16 TLC5940 an ca. 80RGB LED´s via timer und spi angesprochen“ · Analoge Elektronik und Schaltungstechnik ·
-
Datei
LCD_4_45.c
/* Beispielprogramm zur Ansteuerung einer 4-stell. LC-Anzeige mit ATtin45 Fließkommazahlen sind int32_t- Werte mit Faktor 1000 skaliert. Somit sind max. drei Nachkommastellen möglich; mehr sind bei 4-stell Werten unnötig. In main() wird die Spannung
in „7-Segm. LCD-Ansteuerung, 4-stelliges Einbaumodul, Attiny45“ · Projekte & Code ·
-
Datei
Drehzahl_4_45.c
4-stell Werten unnötig. In main() wird die Frequenz/Drehzahl an PB3 3 mal/Sekunde gemessen und angezeigt. Frequenzbereich: 0.100 -> 9999 Hz Bereich Drehzahl: 6.000 -> 9999 U/min http://www.mino-elektronik.de
in „Frequenz / Drehzahl, 4-stell. 7-Segm.-LCD, ATtiny45“ · Projekte & Code ·
-
Bild
Personen an einem Tisch mit bunten Kunststoffbauteilen
MC_Treffen_4.jpg
in „Fährgarten Johannstadt ab 17 Uhr (Biergartentreff Dresden 2023)“ · Offtopic · · Fotos
-
Datei
ascii-set-4.h
, 0x42, 0x7f, 0x40, 0x00, 0x00, // 0 und 1 0x42, 0x61, 0x51, 0x49, 0x46, 0x00, 0x21, 0x41, 0x45, 0x4b, 0x31, 0x00, // 2 und 3 0x18, 0x14, 0x12, 0x7f, 0x10, 0x00, 0x27, 0x45, 0x45, 0x45, 0x39, 0x00, // 4 und 5 0x3c, 0x4a, 0x49, 0x49, 0x30, 0x00, 0x01, 0x01, 0x79, 0x05, 0x03, 0x00, // 6 und 7 // Zeichen
in „daten in den flash,welche include datei“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ascii-set-4.h
, 0x42, 0x7f, 0x40, 0x00, 0x00, // 0 und 1 0x42, 0x61, 0x51, 0x49, 0x46, 0x00, 0x21, 0x41, 0x45, 0x4b, 0x31, 0x00, // 2 und 3 0x18, 0x14, 0x12, 0x7f, 0x10, 0x00, 0x27, 0x45, 0x45, 0x45, 0x39, 0x00, // 4 und 5 0x3c, 0x4a, 0x49, 0x49, 0x30, 0x00, 0x01, 0x01, 0x79, 0x05, 0x03, 0x00, // 6 und 7 // Zeichen
in „EEPROM schreiben,lesen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
4bit_alu.vhd
IEEE.STD_LOGIC_ARITH.ALL; use IEEE.STD_LOGIC_UNSIGNED.ALL; library UNISIM; use UNISIM.VComponents.all; entity alu_4bit is Port ( D : in STD_LOGIC_VECTOR (3 downto 0); --Datenbus F : in STD_LOGIC_VECTOR (3 downto 0); --Eingangsbefehlsbus S : out STD_LOGIC_VECTOR (3 downto 0);--Ausgangserbenbisbus a_ien: in STD_LOGIC; b_ien: in STD_LOGIC; clk: in STD_LOGIC); end alu_4bit; architecture Behavioral of alu_4bit is SIGNAL qA,qB: STD_LOGIC_VECTOR(3 DOWNTO 0);--Übergabesignale SIGNAL A: STD_LOGIC_VECTOR(3 DOWNTO 0); --1.Eingangsoperand SIGNAL B: STD_LOGIC_VECTOR(3 DOWNTO
in „4-bit_ALU“ · FPGA, VHDL & Co. ·
-
PDF
20x4.pdf
u DC Characteristics Parameter Symbol Condition Min Typ Max Unit Supply voltage for logic VDD --- 4.5 5.0 5.5 V Supply current for logic IDD --- --- 1.44 4 mA Operating voltage for LCD VDD - VO 25°C 4.5 4.8 5.1 V Input voltage ' H ' level VIH --- VDD - 2.2 --- VDD V Input voltage ' L ' level VIL --
-
Datei
display4zeilen.c
#include <p18f4520.h> #include "xLCD.h" #include <Delays.h> #include <stdio.h> #define PIC_Osc_MHz 4 // ## Set Crystal.Osc Speed *** #include "XLCD_Subs_DWD.c" #define LCD_LINE_1_ADDRESS 0x00 #define LCD_LINE_2_ADDRESS 0x40 #define LCD_LINE_3_ADDRESS 0x14 #define LCD_LINE_4_ADDRESS 0x54 char y = 0;
in „Programmer, Debugger problem mit MPLAB - PIC 18f4520“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
drehzahl_4x.c
/* Beispielprogramm '4-Kanal Drehzahlmesser' fuer ATmega88 entwickelt mit AVR-Studio 4.18 Funktionsbereich etwa 1 U/min - 999999 U/min bei 20MHz Prozessortakt entsprechend 0,016Hz - 16kHz Eingangsfrequenz Als Signaleiengänge
in „4-Kanal Drehzahlmessung mit ATmega88“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
4-Bit_neu.asm
.include "m16def.inc" ;################################## ;### PORTA4-7 -> DB4-7 ### ;### PORTA0 -> E ### ;### PORTA1 -> R/W ### ;### PORTA2 -> RS ### ;################################## .def tmp = r16 .def data = r20 .EQU en_pin = 0 .EQU rw_pin = 1 .EQU rs_pin = 2 ; Stack
in „Pollin LCD TC1602 funktioniert mit eigenem Code nicht“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
sinus_pwm4.c
#define FALSE 0 #define TRUE !FALSE #define FREQ_DIV 192 #include <avr/io.h> #include <avr/interrupt.h> #include <math.h> // program made for a clock of 16MHz volatile int timer_flag; int main( void ) { int i = 0; // this will show you the principles of usage of fast pwm on AVR Timers // OCR1A_value (pwm_value) = ((duty cycle in %)/100) *256 // the output frequency can be calculated as follows: // F_out = crystal frequency /(prescaler*256) // / This is referring to 8Bit pwm for 9Bit pwm use 512 and for 10Bit pwm use 1024 instead of 256!!! int high, low, pwm_value = 128; TCCR1A = (0<< WGM11) |
in „kurze Frage zur AVR fast pwm sinus-ausgabe?!“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
avrs4_asm.txt
00000014: BE1F OUT 0x3F,R1 Out to I/O location +00000015: E5CF LDI R28,0x5F Load immediate +00000016: E0D4 LDI R29,0x04 Load immediate +00000017: BFDE OUT 0x3E,R29 Out to I/O location +00000018: BFCD OUT 0x3D,R28 Out to I/O location +00000019: D002 RCALL PC+0x0003 Relative call subroutine +0000001A: C00D RJMP PC+0x000E Relative jump +0000001B: CFE4 RJMP PC-0x001B Relative jump @0000001C: main ---- labor.c -------------------------------------------------------------------------------------- 4: { +0000001C: 93DF PUSH R29 Push register on stack +
in „Hauptschleife wird ignoriert!“ · Mikrocontroller und Digitale Elektronik ·