-
Datei
disassebled_original_working.asm
firmware.elf: file format elf32-avr Disassembly of section .text: 00000200 <__vectors>: 200: 0c 94 67 01 jmp 0x2ce ; 0x2ce <__ctors_end> 204: 0c 94 8f 01 jmp 0x31e ; 0x31e <__bad_interrupt> 208: 0c 94 8f 01 jmp 0x31e ; 0x31e <__bad_interrupt
in „Bizarrer Firmware crash - ATmega4808. Wie Debuggen?“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
grasshopper_schematic.pdf
TXD3) E8 PC28[1] 62 61 [1,6] LED7 M9 PA29(PWM-PWM1/TIMER1-B2) PC29(LCDC-DATA3/MACB1-RXD2) D8 PC29 [1] 64 63 [1,6] N9 B8 VIN LED8 R9 PA30(SM-GCLK0/TIMER1-CLK1) PC30(LCDC-DATA4/MACB1-RXD3) C8 PC30[1] CON_HEADER32X2 [1,6] SW1 PA31(SM-GCLK1/TIMER1-CLK2) PC31(LCDC-DATA5) PC31 [1] E12 C2 E14 PB00(ISI-DATA0/SPI1
in „Grasshopper Inbetriebnahme“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
MD_NMRA_DCC.h
peripherie; dcc_sys_t dcc; uint8_t cntr_table[NMBRS_TIMER]; uint8_t drive_table[28]; volatile uint32_t f_fct_old_state; //each bit represents one f-function (f0 (lights) bit 1, f1 bit2, ....); so you filter all the input data to know only if changed sth.! If more than 32bit (32 f-functions), use uint64
in „FULL NMRA DCC Library, Encoder, Generator, Bremsmodul“ · Projekte & Code ·
-
Datei
lipo_charge_V0.90.c
Author: Olaf Rempel, Maximilian Holder Remarks: known Problems: none Version: 12.07.2009 Description: AVR Based LiPo Charger GNU GPL v3 Dieses Programm ist freie Software. Sie können es unter den Bedingungen der GNU General Public License, wie von der Free Software Foundation veröffentlicht, weitergeben
in „if-else-Schleife in if-Schleife geht nicht?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
#include <avr/io.h> #include <avr/interrupt.h> #include <util/delay.h> #include <QA/uart/uart.h> #include <Q/osc/osc.h> #include <Q/color_lcd/SSD1289.h> #include <Q/color_lcd/SSD1289_types.h> #ifndef F_USB #include <avr/iox128a1u.h> #endif #include "cfg/Qssd1289_cfg.h" #include <Q/Qcopy/memcopy.c> volatile bool draw_ready = false; void init_ebi(void) __attribute__ ((naked)) \ __attribute__ ((section (".init0"))); void
in „Grafikdisplay mit SSD1289 mit XMEGA, DMA und 16bit Interface sehr schnell“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
#include <avr/io.h> #include <avr/interrupt.h> #include <util/delay.h> #include <QA/uart/uart.h> #include <Q/osc/osc.h> #include <Q/color_lcd/SSD1289.h> #include <Q/color_lcd/SSD1289_types.h> #ifndef F_USB #include <avr/iox128a1u.h> #endif #include "cfg/Qssd1289_cfg.h" #include <Q/Qcopy/memcopy.c> volatile bool draw_ready = false; void init_ebi(void) __attribute__ ((naked)) \ __attribute__ ((section (".init0"))); void
in „Grafikdisplay mit SSD1289 mit XMEGA, DMA und 16bit Interface sehr schnell“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
Tutorial_Teil_3_Prg_Display.pdf
by nicai- Teil 3 – Display systems Nibo 2 Programmierung Teil 3 – Display Notwendige Programme: AVR Studio 4 ( mit den aktuellen Versionen und Updates ) WinAVR ( in der aktuellen Version ) Nibo Library ( in der aktuellen Version ) Bitte diese Programme nach Anweisung des Herstellers oder des Tutorials
in „Tutorial Programmierung Nibo2“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
UC-Liste-Schukat.pdf
Seite 1 B2455 ATMEL AVR ISP-Flash-Microcontroller Artikel Artikelbezeichnung WE PE ab ab 10 ab 50 VkMin VKmin AT90S1200-12PI ISP-MC 5V 1K-Flash 12MHz E 3,34 1,94 1,24 1 DIP20 ISP-MC 5V 1K-Flash 12MHz E 3,40 2,00 1,30 1 AT90S1200
-
PDF
UC-Liste-Schukat.pdf
Seite 1 B2455 ATMEL AVR ISP-Flash-Microcontroller Artikel Artikelbezeichnung WE PE ab ab 10 ab 50 VkMin VKmin AT90S1200-12PI ISP-MC 5V 1K-Flash 12MHz E 3,34 1,94 1,24 1 DIP20 ISP-MC 5V 1K-Flash 12MHz E 3,40 2,00 1,30 1 AT90S1200
-
Bild
Übersicht Atmel AVR Gehäusearten und Abmessungen
AVR Package Selection ATMEL SOT23 2x3 mm 0.95 mm pitch DFN-10 3x3 mm 0.5 mm pitch QFN-28 4x4 mm 0.45 mm pitch QFN-32 5x5 mm 0.5 mm pitch QFN-44 7x7 mm 0.5 mm pitch DRQFN-44 5x5 mm 0.7 mm pitch DRQFN-64
in „[S] Mikrocontroller in unterschiedlichen Bauformen als Anschauungsobjekt (auch defekt)“ · Markt · · Screenshots
-
Datei
DevilSpi.h
#pragma once #include <avr/io.h> #include "AvrRegister.h" #include <CombiePin.h> using namespace Combie::Pin; OutputPin<2> messPin2; OutputPin<3> messPin3; OutputPin<4> messPin4; // Size of the circular buffer, must be power
in „Syntaxfrage Funktionsdefinition mit Optionen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
#include "u8g.h" #include <avr/interrupt.h> #include <avr/io.h> u8g_t u8g; void u8g_setup(void){ u8g_SetPinInput(PN(3,0)); u8g_SetPinLevel(PN(3,0), 1); u8g_SetPinOutput(PN(3,0)); u8g_SetPinInput(PN(3,1)); u8g_SetPinLevel(PN(3,1), 1); u8g_SetPinOutput(PN(3,1)); u8g_InitI2C(&u8g, &u8g_dev_ssd1306_128x64_i2c, U8G_I2C_OPT_NONE); u8g_SetRot180(&u8g); } void sys_init(void){ CLKPR = 0x80; CLKPR = 0x00; } void u8g_prepare(void){ u8g_SetFont(&u8g, u8g_font_6x10); u8g_SetFontRefHeightExtendedText(&u8g); u8g_SetDefaultForegroundColor
in „Linker ERROR bei U8GLIB auf M32u4“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Encoder_PeDa_Original.ino
: ATmega16 */ /************************************************************************/ #include <avr/io.h> #include <avr/interrupt.h> //#define XTAL 8e6 // 8MHz #define F_TIMER1 100 // Timer 1 frequency /Hz #define ENCODER_PIN PINC #define PHASE_A (1<<PC2) #define PHASE_B (1<<PC4) #define LEDS_DDR
in „Peter Dannegger´s ( PeDa ) Entprellroutine in ein Arduino Sketch einbinden“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Encoder_PeDa_Original.ino
: ATmega16 */ /************************************************************************/ #include <avr/io.h> #include <avr/interrupt.h> //#define XTAL 8e6 // 8MHz #define F_TIMER1 100 // Timer 1 frequency /Hz #define ENCODER_PIN PINC #define ENCODER_PORT PORTC #define ENCODER_DDR DDRC #define PHASE_A
in „Peter Dannegger´s ( PeDa ) Entprellroutine in ein Arduino Sketch einbinden“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
dude54arduino_mit_vvvv.txt
----- ---- ------ ----- ----- --------- signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00 Programmer Type : avr910 Description : Atmel Low Cost Serial Programmer avrdude: Send: S [53] avrdude: Recv: A [41] V [56] R [52] [20] I [49] S [53] P [50] avrdude: Send: V [56] avrdude: Recv: 2 [32] 5 [35] avrdude: Send: v [76] avrdude: Recv: 2 [32] 0 [30] avrdude: Send: p [70] avrdude: Recv: S [53] Found programmer: Id = "AVR ISP"; type = S Software Version = 2.5; Hardware Version = 2.0 avrdude: Send: a [61] avrdude: Recv: Y [59] Programmer supports
in „avrdude - Probleme unter Mac OS X 10.7 (Lion)“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
2007-03-29 17:07:19Z cs $ */ #define F_CPU 12000000L /* evaluation board runs on 4MHz */ #include <avr/io.h> #include <avr/interrupt.h> #include <avr/pgmspace.h> #include <avr/wdt.h> #include "usbdrv.h" #include "oddebug.h" /* ----------------------- hardware I/O abstraction ------------------------
in „V-USB: HIDKeys ignoriert ersten Tastendruck“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
Memory model : Small Internal SRAM size : 512 External SRAM size : 0 Data Stack size : 128 Board: Avr-Ctrl V1.0 http://www.mikrocontroller.com 2002 Holger Buss *********************************************/ #include <90s8535.h> // Alphanumeric LCD Module functions #asm .equ __lcd_port=0x15 #endasm #
-
Datei
main_c.txt
Memory model : Small Internal SRAM size : 512 External SRAM size : 0 Data Stack size : 128 Board: Avr-Ctrl V1.0 http://www.mikrocontroller.com 2002 Holger Buss *********************************************/ #include <90s8535.h> // Alphanumeric LCD Module functions #asm .equ __lcd_port=0x15 #endasm #
in „Port, Pin auf 1 oder null setzen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
test2.c
#include <stdio.h> #include <avr/io.h> #include <io.h> #include <avr/interrupt.h> #include <avr/signal.h> void zeit_ms(unsigned int ms); void lcd_init(void); void wait_busy(void); void busy_Flag_l(void); // rs=0 und rw=1 void befehl_sch
in „Probleme mit Funktionen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
#include <avr/io.h> // Ein/Ausgangsbelegung, Definitionen //#include <math.h> // Mathematikpaket #include <stdint.h> // AVR Integer #include <string.h> #include <avr/interrupt.h> // Interrupt Routinen, Definitionen
in „usart mit interrupt an Atmega8 avr-gcc“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
uart.c
UCSRA #define UART0_CONTROL UCSRB #define UART0_DATA UDR #define UART0_UDRIE UDRIE #elif defined(__AVR_ATmega8__) || defined(__AVR_ATmega16__) ||\ defined(__AVR_ATmega32__) || defined(__AVR_ATmega8515__) ||\ defined(__AVR_ATmega8535__) || defined(__AVR_ATmega323__) /* ATmega with one USART */ #define
in „[AVR-GCC] makefile SRC und #include“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
uart.c
UCSRA #define UART0_CONTROL UCSRB #define UART0_DATA UDR #define UART0_UDRIE UDRIE #elif defined(__AVR_ATmega8__) || defined(__AVR_ATmega16__) || defined(__AVR_ATmega32__) \ || defined(__AVR_ATmega8515__) || defined(__AVR_ATmega8535__) \ || defined(__AVR_ATmega323__) /* ATmega with one USART */ #define
in „ATmega1284p, UART Probleme“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
uart.c
UCSRA #define UART0_CONTROL UCSRB #define UART0_DATA UDR #define UART0_UDRIE UDRIE #elif defined(__AVR_ATmega8__) || defined(__AVR_ATmega16__) || defined(__AVR_ATmega32__) \ || defined(__AVR_ATmega8515__) || defined(__AVR_ATmega8535__) \ || defined(__AVR_ATmega323__) /* ATmega with one USART */ #define
in „ATMega nach ADC BascomPRG stk500 WEG!“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
uart.c
UCSRA #define UART0_CONTROL UCSRB #define UART0_DATA UDR #define UART0_UDRIE UDRIE #elif defined(__AVR_ATmega8__) || defined(__AVR_ATmega16__) || defined(__AVR_ATmega32__) \ || defined(__AVR_ATmega8515__) || defined(__AVR_ATmega8535__) \ || defined(__AVR_ATmega323__) /* ATmega with one USART */ #define
in „ATmega168 Bootloader“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
uart.c
UCSRA #define UART0_CONTROL UCSRB #define UART0_DATA UDR #define UART0_UDRIE UDRIE #elif defined(__AVR_ATmega8__) || defined(__AVR_ATmega16__) || defined(__AVR_ATmega32__) \ || defined(__AVR_ATmega8515__) || defined(__AVR_ATmega8535__) \ || defined(__AVR_ATmega323__) /* ATmega with one USART */ #define
in „fleurys I2C + UART lib halten in Kombination die Hauptschleife an!“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
uart.c
UCSRA #define UART0_CONTROL UCSRB #define UART0_DATA UDR #define UART0_UDRIE UDRIE #elif defined(__AVR_ATmega8__) || defined(__AVR_ATmega16__) || defined(__AVR_ATmega32__) \ || defined(__AVR_ATmega8515__) || defined(__AVR_ATmega8535__) \ || defined(__AVR_ATmega323__) /* ATmega with one USART */ #define
in „Inkonsistentes Verhalten einfachem avr-gcc-codes“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
uart.c
UCSRA #define UART0_CONTROL UCSRB #define UART0_DATA UDR #define UART0_UDRIE UDRIE #elif defined(__AVR_ATmega8__) || defined(__AVR_ATmega16__) || defined(__AVR_ATmega32__) \ || defined(__AVR_ATmega8515__) || defined(__AVR_ATmega8535__) \ || defined(__AVR_ATmega323__) /* ATmega with one USART */ #define
in „RFM70 Timing Problem?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
uart.c
UCSRA #define UART0_CONTROL UCSRB #define UART0_DATA UDR #define UART0_UDRIE UDRIE #elif defined(__AVR_ATmega8__) || defined(__AVR_ATmega16__) || defined(__AVR_ATmega32__) \ || defined(__AVR_ATmega323__) /* ATmega with one USART */ #define ATMEGA_USART #define UART0_RECEIVE_INTERRUPT USART_RXC_vect #
in „UART Auswertung“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
uart.c
UCSRA #define UART0_CONTROL UCSRB #define UART0_DATA UDR #define UART0_UDRIE UDRIE #elif defined(__AVR_ATmega8__) || defined(__AVR_ATmega16__) || defined(__AVR_ATmega32__) \ || defined(__AVR_ATmega323__) /* ATmega with one USART */ #define ATMEGA_USART #define UART0_RECEIVE_INTERRUPT USART_RXC_vect #
in „µC rechnet falsch oder ich finde den Fehler nicht“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
uart.c
UCSRA #define UART0_CONTROL UCSRB #define UART0_DATA UDR #define UART0_UDRIE UDRIE #elif defined(__AVR_ATmega8__) || defined(__AVR_ATmega16__) || defined(__AVR_ATmega32__) \ || defined(__AVR_ATmega323__) /* ATmega with one USART */ #define ATMEGA_USART #define UART0_RECEIVE_INTERRUPT USART_RXC_vect #
in „µC rechnet falsch oder ich finde den Fehler nicht“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
uart.c
UCSRA #define UART0_CONTROL UCSRB #define UART0_DATA UDR #define UART0_UDRIE UDRIE #elif defined(__AVR_ATmega8__) || defined(__AVR_ATmega16__) || defined(__AVR_ATmega32__) \ || defined(__AVR_ATmega8515__) || defined(__AVR_ATmega8535__) \ || defined(__AVR_ATmega323__) /* ATmega with one USART */ #define
in „Float via UART an PC senden“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
uart.c
UCSRA #define UART0_CONTROL UCSRB #define UART0_DATA UDR #define UART0_UDRIE UDRIE #elif defined(__AVR_ATmega8__) || defined(__AVR_ATmega16__) || defined(__AVR_ATmega32__) \ || defined(__AVR_ATmega8515__) || defined(__AVR_ATmega8535__) \ || defined(__AVR_ATmega323__) /* ATmega with one USART */ #define
in „UART bei externer Stromquelle“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
uart.c
UCSRA #define UART0_CONTROL UCSRB #define UART0_DATA UDR #define UART0_UDRIE UDRIE #elif defined(__AVR_ATmega8__) || defined(__AVR_ATmega16__) || defined(__AVR_ATmega32__) \ || defined(__AVR_ATmega323__) /* ATmega with one USART */ #define ATMEGA_USART #define UART0_RECEIVE_INTERRUPT USART_RXC_vect #
in „avr dude Programm zu groß? Eclipse GCC“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
tvtext_v2.asm
) .equ BPSize =32 ;VSync Back Porch in Zeilen (Y Verschiebung) #endif #ifdef gfxmode_2 #define gfxmode #define gfx_w1 #define gfxpix .equ XSize =10 ;Anzahl Bytes/Zeile .equ YSize =64 ;Anzahl Zeilen .equ Height =3 ;Zelenhöhe
in „AVR Videogenerator, 40x25 Zeichen, nur 60% CPU Auslastung !“ · Projekte & Code ·
-
Datei
HSV_RGB_10bitPWM.asm
accu3(H):accu2(L) /2 = /16 rol accu2 ; =16Bit rechts-schieben lsl accu3 ; accu3(H):accu2(L) /2 = /32 rol accu2 ; =16Bit rechts-schieben lsl accu3 ; accu3(H):accu2(L) /2 = /64 rol accu2 ; =16Bit rechts-schieben lsl accu3 ; accu3(H):accu2(L) /2 = /128 rol accu2 ; =16Bit rechts-schieben lsl accu3 ; accu3
in „DMX - PWM generieren“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
iom128.h
/* iom128.h - AVR ATmega128 defines Contributors: Created by Peter Jansen <peter@smartcontainer.net> THIS SOFTWARE IS NOT COPYRIGHTED This source code is offered for use in the public domain. You may use, modify or distribute
in „AVRGCC und neue Megas?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
iom128.h
/* iom128.h - AVR ATmega128 defines Contributors: Created by Peter Jansen <peter@smartcontainer.net> THIS SOFTWARE IS NOT COPYRIGHTED This source code is offered for use in the public domain. You may use, modify or distribute
in „Problem mit Mega128 USART“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
i2c.c
/*! \file i2c.c \brief I2C interface using AVR Two-Wire Interface (TWI) hardware. */ //***************************************************************************** // // File Name : 'i2c.c' // Title : I2C interface using AVR Two-Wire Interface
in „TWI, I2C Master-Slave mit AVR“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
uart.c
UCSRA #define UART0_CONTROL UCSRB #define UART0_DATA UDR #define UART0_UDRIE UDRIE #elif defined(__AVR_ATmega8__) || defined(__AVR_ATmega16__) || defined(__AVR_ATmega32__) \ || defined(__AVR_ATmega8515__) || defined(__AVR_ATmega8535__) \ || defined(__AVR_ATmega323__) /* ATmega with one USART */ #define
in „Zu viele Pointer - brauche Hilfe.“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
uart.c
UCSRA #define UART0_CONTROL UCSRB #define UART0_DATA UDR #define UART0_UDRIE UDRIE #elif defined(__AVR_ATmega8__) || defined(__AVR_ATmega16__) || defined(__AVR_ATmega32__) \ || defined(__AVR_ATmega8515__) || defined(__AVR_ATmega8535__) \ || defined(__AVR_ATmega323__) /* ATmega with one USART */ #define
in „Heizungssteuerung mit ATMEGA 32“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
uart.c
UCSRA #define UART0_CONTROL UCSRB #define UART0_DATA UDR #define UART0_UDRIE UDRIE #elif defined(__AVR_ATmega8__) || defined(__AVR_ATmega16__) || defined(__AVR_ATmega32__) \ || defined(__AVR_ATmega8515__) || defined(__AVR_ATmega8535__) \ || defined(__AVR_ATmega323__) /* ATmega with one USART */ #define
in „Reset bei serieller Kommunikation“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
700185_wiesmeier_christoph_2016.pdf
fiel auf den Mikrocontroller XMEGA128A3U [7] von Atmel. Dieser besitzt einen 8 Bit RISC-Prozessor mit 32 MHz, ist in einem 64 Pin TQFP Gehause und bietet 8 kByte RAM. Damit gehort er zu den starksten 8 Bit Mikrocontrollern. Weiters hat er uberdurchschnittlich viel und leistungsfahige interne Peripherie.
in „2A 1s Li-ion Lader + Protection“ · Analoge Elektronik und Schaltungstechnik ·
-
Datei
Uhr3.asm
Hardwaredefinitionen einbinden .list ;Programm listen .listmac ;Makros listen .equ clock=8000000 ;Taktfrequenz des AVR .equ tim1zu=10000 ;Timer1-Interrupt-Takt .equ teilfaktor=100 ;Zählumfang des Teilers .equ tap=pinb ;Port für die Tasten .equ tli=1 ;Taste links .equ tre=3 ;Taste rechts .equ tho=4 ;Taste hoch .equ tru
in „Batterie unterspannung“ · Analoge Elektronik und Schaltungstechnik ·
-
Datei
main_und_ad7305.txt
################################################### main.c #include <avr/io.h> #include "stdlib.h" #include "intern_adc.h" // intern_ADC-Funktionen #include "ad7305.h" // DAC-Funktionen int main(void) { unsigned char sin_table[255] = { 0x7F,0x82,0x85,0x88,0x8B,0x8E, 0x91,0x94,0x97,0x9B
in „8bit DAC an Mega32“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
mmc_avr.c
) */ #define CMD24 (24) /* WRITE_BLOCK */ #define CMD25 (25) /* WRITE_MULTIPLE_BLOCK */ #define CMD32 (32) /* ERASE_ER_BLK_START */ #define CMD33 (33) /* ERASE_ER_BLK_END */ #define CMD38 (38) /* ERASE */ #define CMD55 (55) /* APP_CMD */ #define CMD58 (58) /* READ_OCR */ static volatile DSTATUS Stat
in „SD-SPI keine Antwort auf CMD0“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
atmega32u2.patch
22:14:49.018155272 +0100 @@ -4199,6 +4199,70 @@ }, { 0 }, // Xmega device descr. }, + // DEV_ATMEGA32U2 + // Get these data from the AVRStudio-Installation + // Atmel/AVR Tools/Partdescriptionfiles + { + "atmega32u2", + 0x958A, + 128, 256, // 32768 bytes flash + 4, 256, // 1024 bytes EEPROM + 29 * 4,
in „avarice und atmega32u2“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
das L am Ende ist wichtig, NICHT UL verwenden! #define F_CPU 16000000L #include <string.h> #include <avr/io.h> #include <avr/interrupt.h> #include <util/delay.h> #define BAUD 115200L #define LED3 (1 << PD6) #define TRIGGER1 (1 << PA1) #define UBRR_VAL ((F_CPU+BAUD*8)/(BAUD*16)-1) #define BAUD_REAL (F_CPU
in „Reaktionszeit“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
telegramm.c
Vorlauf's // der entsprechende Datensatz inkl. 2 CRC-Bytes eingelesen #include <stdlib.h> #include <avr/io.h> #include <stdbool.h> #include <avr/interrupt.h> #include "telegramm.h" #include "uart.h" volatile uint8_t TelegrammFrame [TELEGRAMM_LAENGE]; volatile bool TelegrammReady = false; volatile uint8
in „sporadische Fehler mit Interrupt“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Test.lst
Test.out: file format elf32-avr Sections: Idx Name Size VMA LMA File off Algn 0 .text 0000007e 00000000 00000000 00000054 2**1 CONTENTS, ALLOC, LOAD, READONLY, CODE 1 .debug_aranges 00000020 00000000 00000000 000000d2 2**0 CONTENTS
in „ATmega16 Port Ausgabe Problem“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Leds.asm
cmd_30: ; Right Rotate, Count, Start, Stop cmd_31: mov ZL, cmdStart ld Temp, Z mov ZL, cmdStop cmd_32: ld r0, Z st Z, Temp mov Temp, r0 dec ZL cp ZL, cmdStart brsh cmd_32 brtc cmd_33 rcall Wait cmd_33: subi cmdCount, 1 brcc cmd_31 rjmp DoCmd cmd_40: cpi Temp, 5 brsh cmd_50 ; Left Shift In, Count, Value
in „LED Ansteuerung“ · Mikrocontroller und Digitale Elektronik ·