-
Datei
avroutput.txt
avrdude: Recv: 0 [30] 0x30 avrdude: Recv: 0 [30] 0x30 avrdude: Recv: _ [5f] 0x5f avrdude: Recv: 2 [32] 0x32 avrdude: Recv: . [02] 0x02 avrdude: stk500v2_getsync(): found STK500 programmer AVR Part : ATmega8 Chip Erase delay : 10000 us PAGEL : PD7 BS2 : PC2 RESET disposition : dedicated RETRY pulse :
in „STK500 Programming, initialization failed, rc=-1 - STK Geschrottet?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Angaben.txt
_____________________ ;************************************************************************* ; AVR - I2C-EEPROM ; ; Copyright: ralph.dillhardt@web.de ; ; Germany-Date: 02-01-2004 ; Datei: i2c_eeprom.asm ; Microcontoller: ATmega161 mit 8MHz Taktfrequenz ; ; Ansteuerung eines 64k EEPROM - 24LC65 ;
in „Crashkurs in Sachen I²C-Bus“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
PWM_test_2.c
**************************************************************************************** #include <avr\io.h> //AVR Register und Konstantendefinitionen #include <avr\interrupt.h> //AVR Interrupt Vektoren #include <stdlib.h> #include <inttypes.h> #define top 1249 // Maximalwert ICR1 volatile unsigned int
in „Skalierung von Integerwerten“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
AVR911.pdf
program and verify the data contained in program.hex to an attached Atmega128 device. avrosp –dATmega32 –re –oedump.hex –ae0,ff –cCOM2 The above example will read the first 256 bytes of the Atmega32’s EEPROM memory to the file dump.hex. Only COM2 will be used. avrosp –dATmega64 –O#a0 –Se0 –lc0 4 AVR911 2568A-AVR-07/04 AVR911 The above example will write the custom oscillator calibration value A0 hex into EEPROM address 0 hexand then protect the Atmega64’s memory by writing the lock byte to C0hex Note: When
in „AVR911: Das Ende aller Leiden?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
usb_serial.c
SIZE 16 #define CDC_ACM_ENDPOINT 2 #define CDC_RX_ENDPOINT 3 #define CDC_TX_ENDPOINT 4 #if defined(__AVR_AT90USB162__) #define CDC_ACM_SIZE 16 #define CDC_ACM_BUFFER EP_SINGLE_BUFFER #define CDC_RX_SIZE 32 #define CDC_RX_BUFFER EP_DOUBLE_BUFFER #define CDC_TX_SIZE 32 #define CDC_TX_BUFFER EP_DOUBLE_BUFFER #else #define CDC_ACM_SIZE 16 #define CDC_ACM_BUFFER EP_SINGLE_BUFFER #define CDC_RX_SIZE 64 #define CDC_RX_BUFFER EP_DOUBLE_BUFFER #define CDC_TX_SIZE 64 #define CDC_TX_BUFFER EP_DOUBLE_BUFFER #endif static const uint8_t PROGMEM endpoint_config_table[] = { 0, 1, EP_TYPE_INTERRUPT_IN, EP_SIZE
in „Problem mit unterschiedlichen Prescalern“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
usb_serial.c
SIZE 16 #define CDC_ACM_ENDPOINT 2 #define CDC_RX_ENDPOINT 3 #define CDC_TX_ENDPOINT 4 #if defined(__AVR_AT90USB162__) #define CDC_ACM_SIZE 16 #define CDC_ACM_BUFFER EP_SINGLE_BUFFER #define CDC_RX_SIZE 32 #define CDC_RX_BUFFER EP_DOUBLE_BUFFER #define CDC_TX_SIZE 32 #define CDC_TX_BUFFER EP_DOUBLE_BUFFER #else #define CDC_ACM_SIZE 16 #define CDC_ACM_BUFFER EP_SINGLE_BUFFER #define CDC_RX_SIZE 64 #define CDC_RX_BUFFER EP_DOUBLE_BUFFER #define CDC_TX_SIZE 64 #define CDC_TX_BUFFER EP_DOUBLE_BUFFER #endif static const uint8_t PROGMEM endpoint_config_table[] = { 0, 1, EP_TYPE_INTERRUPT_IN, EP_SIZE
in „usb_serial - Interrupt - Problem“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
PinKlasse_klassisch_toggle.ino.elf.txt
Worker\AppData\Local\Temp\arduino_build_9702\PinKlasse_klassisch_toggle_Forum.ino.elf: file format elf32-avr Disassembly of section .text: 00000000 <__vectors>: 0: 0c 94 51 00 jmp 0xa2 ; 0xa2 <__ctors_end> 4: 0c 94 79 00 jmp 0xf2 ; 0xf2 <__bad_interrupt> 8: 0c 94 79 00 jmp 0xf2 ; 0xf2 <__bad_interrupt>
in „Buchempfehlung C++ und MCUs“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
bootloader.lst.txt
bootloader.elf: file format elf32-avr Disassembly of section .text: 00000000 <__vectors>: 0: 17 c0 rjmp .+46 ; 0x30 <__ctors_end> 2: 1e c0 rjmp .+60 ; 0x40 <__bad_interrupt> 4: 1d c0 rjmp .+58 ; 0x40 <__bad_interrupt> 6: 1c c0 rjmp .
in „2 Programme in einem AVR“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
SIMPLE_STEPP.txt
Wird der Schrittmotor in die jeweilige richtung bewegt 'Die Anweisung bestimmt Controllertyp, hier AVR Mega 32 $regfile = "m644def.dat" 'Stackanweisungen, die eigentlich nur bei größeren Programmen $framesize = 64 $swstack = 128 $hwstack = 64 'Die Frequenz des verwendeten Quarzes $crystal = 18432000
in „AVR + Schrittmotor + Bascom verständnisproblem“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
code.txt
= 0; volatile byte subteiler = 0; volatile byte subteilercnt = 0; volatile byte textcnt = 0; void avr_init(void) { // u.a. // Spaltencounter TCCR1A = 0; TCCR1B = (1 << WGM12) | (1 << CS10) | (1 << CS11); TCNT1 = 0; OCR1A = (uint16_t) ((uint32_t)255); TIMSK |= (1 << OCIE1B); } SIGNAL(SIG_OUTPUT_COMPARE1B) // CS10+CS11 = Vort. = 64 // Spaltencounter { if(subteiler) { subteilercnt++; // damit bei zu geringer Umdrgeschw. der Teiler noch wirkt ... if(subteilercnt >= subteiler) { subteilercnt = 0; } else return; } if(spaltenpos >=
-
Datei
sd_spi_stm32.c
-------------------------------------------*/ /* MMC/SDSC/SDHC (in SPI mode) control module for STM32 Version 1.1.6 */ /* (C) Martin Thomas, 2010 - based on the AVR MMC module (C)ChaN, 2007 */ /*-----------------------------------------------------------------------*/ /* Copyright (c) 2010, Martin Thomas
in „STM32 - SPI Schnittstelle empfängt mal korrekt und dann wieder nicht“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Key_Panel.c
===================================================================== #include <stdio.h> #include <avr/interrupt.h> #include <avr/pgmspace.h> #include <stdint.h> #include <avr/io.h> #include "Key_Panel.h" #define F_CPU 8000000UL // =====================================================================
in „Entprellung Ziffern-Tastenfeld“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
Powermeter.pdf
input and lowest amplifier setting the peak-to-peak value of sampled data is 1023. After prescaling (x32) and DC removal, the amplitude of the sampled signal is: 17 2566A-AVR-07/04 Equation 20. Amplitude After HPF. i =255×1023 = ±130432 2 After scaling (1/64) and taking the square of each sample, the amplitude
in „230V Leistung erfassen mit ATmega128“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
volt230.pdf
input and lowest amplifier setting the peak-to-peak value of sampled data is 1023. After prescaling (x32) and DC removal, the amplitude of the sampled signal is: 17 2566A-AVR-07/04 Equation 20. Amplitude After HPF. i =255×1023 = ±130432 2 After scaling (1/64) and taking the square of each sample, the amplitude
in „Netzteil ohne Trafo“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
energymeter.pdf
input and lowest amplifier setting the peak-to-peak value of sampled data is 1023. After prescaling (x32) and DC removal, the amplitude of the sampled signal is: 17 2566A-AVR-07/04 Equation 20. Amplitude After HPF. i =255×1023 = ±130432 2 After scaling (1/64) and taking the square of each sample, the amplitude
in „Leistungsmessung über Shunt?“ · Analoge Elektronik und Schaltungstechnik ·
-
PDF
doc2566.pdf
input and lowest amplifier setting the peak-to-peak value of sampled data is 1023. After prescaling (x32) and DC removal, the amplitude of the sampled signal is: 17 2566A-AVR-07/04 Equation 20. Amplitude After HPF. i =255×1023 = ±130432 2 After scaling (1/64) and taking the square of each sample, the amplitude
in „Cadsoft Eagle“ · Platinen ·
-
PDF
dogs102doku.pdf
char on); 29 void DrawMyLogo(unsigned char PosX, unsigned char Page); 30 void DOGS102_Fill(void); 31 32 33 34 #endif 1 #include <avr/io.h> 2 #include <util/delay.h> 3 #include "dogs102.h" 4 5 //***************************************************************************** 6 // TODO: Dogs102 SPI Command
-
Datei
ISP_Programmer_avr910.asm
;*************************************************************************** ;* ;* Title : AVR ISP (Auto adr inc, 19200bps) ;* Version : 2.2 ;* Last updated : May 31 2000 (pkastnes) ;* Target : AT90S1200 ;* File : avr910.asm ;* Author(s) : Ole Saether, Terje Frostad, ;* Ingar Fredriksen, Morten
in „RS232 <--> RS485“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
AVR910-m8.txt
;*************************************************************************** ;* ;* Title : AVR ISP (Auto adr inc, 19200bps) ;* Version : 2.2 ;* Last updated : May 31 2000 (pkastnes) ;* Target : AT90S1200 ;* File : avr910.asm ;* Author(s) : Ole Saether, Terje Frostad, ;* Ingar Fredriksen, Morten
in „Wer wandelt ASM ---> Hex ?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ISP_AVR910.ASM.txt
;*************************************************************************** ;* ;* Title : AVR ISP (Auto adr inc, 19200bps) ;* Version : 2.2 ;* Last updated : May 31 2000 (pkastnes) ;* Target : AT90S1200 ;* File : avr910.asm ;* Author(s) : Ole Saether, Terje Frostad, ;* Ingar Fredriksen, Morten
in „ISP Adapter für Atmel über RS232“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
Anbindung_von_SD-Karten.pdf
MMC MMC secure SD miniSD microSD plus mobile MMC (TransFlash) Pins 7 7 13 13 7 9 11 8 Größe B/L/H 24/32/1,4 24/18/1,4 24/32/1,4 24/18/1,4 24/32/1,4 24/32/2,1 20/21,5/1,4 11/15/1 SPI mode ja ja ja ja ja ja ja ja 1-Bit-mode ja ja ja ja ja ja ja ja 4-Bit mode nein nein ja ja nein ja ja ja 8-Bit mode nein
in „SD Karte Initialisieren -> Error“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd_tools.h
PC0-PC3 = D4-D7 * R/W ist n.c. * * 03/2005 Florian Schäffer, http://www.blafusel.de * */ #include <avr/io.h> #include <avr/delay.h> #define delay(us) _delay_loop_2 (((F_CPU/4000)*us)/1000) // wartet µs // Enable-Leitung toggeln void lcd_flash_e () { PORTC = PORTC | ( 1<<DDC5 ) ; // Enable = HIGH delay
in „LCD Problem mit blafusel´s Routinen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
n5110.h
: GPL v3.0 * Îïòèìèçàöèÿ : kobzar aka kobraz äëÿ http://cxem.net/ maodzedun@gmail.com */ #include <avr/pgmspace.h> #include <avr/interrupt.h> #ifndef _N5110_H_ #define _N5110_H_ // çàêîììåíòèðóéòå ýòó äèðåêòèâó, åñëè âàø äèñïëåé îðèãèíàëüíûé //#define CHINA_LCD // Ïîðò ê êîòîðîìó ïîäêëþ÷åí LCD (çäåñü
in „Atxmega 128a1“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
boot.c
PORTC = ~0x02; do { asm volatile("nop"); } while(1); } /* --------- do.bat --------- echo compile... avr-gcc -g -Os -mmcu=atmega16 -c boot.c echo link... avr-gcc -g -mmcu=atmega16 -Wl,-Map,boot.map,--cref,--section-start=.bootloader=0x1c00 -o boot.elf boot.o echo creating lst file... avr-objdump -h -S -d boot.elf > boot.lst echo creating hex file... avr-objcopy -j .text -j .data -j .bootloader -O ihex boot.elf rom.hex ******************* eof *********************/ /* boot.elf: file format elf32-avr Sections: Idx Name Size VMA LMA File off Algn 0 .bootloader
in „bootloader section in c“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
uart.h
define F_CPU 8000000L #endif #define UART_BAUD 9600L // UART_BUFFSIZE_EXP: 0=>1 1=>2 2=>4 3=>8 4=>16 5=>32 6=>64 7=>128 8=>256 #define UART_BUFFSIZE_EXP 5 // Ende User-Konfiguration #define UART_BUFFSIZE (1 << UART_BUFFSIZE_EXP) #define UART_BUFFNDX_MASK (UART_BUFFSIZE-1) // 01000 => 00111 typedef struct
in „AVR Einstieg / Probleme mit Programm Interrupt“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Timer_ISR.ino
atomic.h> volatile uint16_t cnt16; volatile bool flag_500ms; // Timer ISR, must be adapted for Non-AVR Arduinos ISR( TIMER1_COMPA_vect ) { static uint8_t cnt; cnt++; cnt16++; if (cnt == 50) { cnt = 0; flag_500ms = true; } } int init_timer(int prescaler, uint16_t f_timer) { uint32_t tmp; uint8_t pre = 0; tmp = (F_CPU / ((uint32_t)prescaler * f_timer))-1; if (tmp > 65535) return 1; TCCR1A = 0; switch (prescaler) { case 1: pre = 1; break; case 8: pre = 2; break; case 64: pre = 3; break; case 256: pre = 4; break; case 1024: pre
in „Arduino: digitalRead in Interrupt ist unzuverlässig“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
iom324pb.h
_SFR_MEM8(0x64) #define PRADC 0 #define PRUSART0 1 #define PRSPI0 2 #define PRTIM1 3 #define PRUSART1 4 #define PRTIM0 5 #define PRTIM2 6 #define PRTWI0 7 #define __AVR_HAVE_PRR0 ((1<<PRADC)|(1<<PRUSART0)|(1<<PRSPI0)|(1<<PRTIM1)|(1<<PRUSART1)|(1<<PRTIM0)|(1<<PRTIM2)|(1<<PRTWI0)) #define __AVR_HAVE_PRR0_PRADC #define __AVR_HAVE_PRR0_PRUSART0 #define __AVR_HAVE_PRR0_PRSPI0 #define __AVR_HAVE_PRR0_PRTIM1 #define __AVR_HAVE_PRR0_PRUSART1 #define __AVR_HAVE_PRR0_PRTIM0 #define __AVR_HAVE_PRR0
in „ATMega324PB: Header?“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
EPJ9_web.pdf
JOURNAL - EMBEDDED-PROJECTS.NET Software Die Software ist in C geschrieben (mit WINAVR). #include <avr/io.h> #include <avr/interrupt.h> #include <avr/sleep.h> #include <avr/pgmspace.h> #include "main.h" //Sinus-Array const uint8 _ t PROGMEM SINUS _ ARRAY[118] = {54, 60, 64, 67, 75, 75, 75, 75, 67, 64
in „Embedded Projects Journal: 9. Ausgabe erschienen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
httpdc.h
file * httpd.c * * \author Ulrich Radig & W.Wallucks #include "config.h" #include <stdio.h> #include <avr/io.h> #include <avr/pgmspace.h> #include "httpd.h" #include "stack.h" #include "base64.h" #include "analog.h" #include "webpage.h" #include "translate.h"*/ #if 0//USE_MMC #include "sdkarte/fat16.h"
in „Anpassung U.Radig-Webserver mit UDP für ARM CORTEX“ · Projekte & Code ·
-
Datei
ICP_UART_162_01.c
Holger Brenner und dem USART Beispiel aus dem Artikel Interrupt */ #include <inttypes.h> #include <avr/interrupt.h> #include <avr/io.h> #include <stdint.h> #include <stdlib.h> #include <string.h> #include <avr/io.h> #include <avr/pgmspace.h> #ifndef TRUE #define TRUE 1 #define FALSE 0 #endif #define
in „Wie lange dauert ein Prozessschritt?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
162_test_Overflows_UART.c
Holger Brenner und dem USART Beispiel aus dem Artikel Interrupt */ #include <inttypes.h> #include <avr/interrupt.h> #include <avr/io.h> #include <stdint.h> #include <stdlib.h> #include <string.h> #include <avr/io.h> #include <avr/pgmspace.h> #ifndef TRUE #define TRUE 1 #define FALSE 0 #endif #define
in „Overflows im Interrupt zählen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main01.c
/* * HalloweenaugenServo_II.c * * Created: 02.01.2024 16:42:32 * Author : xxx */ #define F_CPU 9600000 //CPU auf 9,6MHz #include <avr/io.h> #include <stdlib.h> #include <avr/interrupt.h> #include <avr/pgmspace.h> //Augen-Zeitvariablen: volatile uint8_t zeitAugenFst
in „AVR ATTiny13A Problem mit Servo + LED-Ansteuerung“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main02.c
/* * HalloweenaugenServo_II.c * * Created: 02.01.2024 16:42:32 * Author : xxx */ #define F_CPU 9600000 // ---CKDIV8-Fuse muss deaktiviert sein !!!--- #include <avr/io.h> #include <stdlib.h> #include <avr/interrupt.h> #include <avr/pgmspace.h> #include <stdbool.h
in „AVR ATTiny13A Problem mit Servo + LED-Ansteuerung“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main03.c
/* * HalloweenaugenServo_II.c * * Created: 02.01.2024 16:42:32 * Author : xxx */ #define F_CPU 9600000 // ---CKDIV8-Fuse muss deaktiviert sein !!!--- #include <avr/io.h> #include <stdlib.h> #include <avr/interrupt.h> #include <avr/pgmspace.h> #include <stdbool.h
in „AVR ATTiny13A Problem mit Servo + LED-Ansteuerung“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
init.txt
Hardwaredefinitionen einbinden .list ;Programm listen .listmac ;Makros listen .equ clock=3686400 ;Taktfrequenz des AVR .equ telda=5 ;Telegrammdauer, Anzahl Wiederholungen .equ souda=10 ;Signaldauer Soundsteuerung .equ timer0ein=3 ;Bitmuster Timer0 mit Vorteiler 64 (LCD-Sync) .equ timer0swku=256-(clock/64/2000) ;Startwert
in „atmega 8 als schnitstelle“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Zentrale_V1.4.asm
add YL,r18 ; Zeiger weiterstellen um Offset 16 ld r9,Y ; A 16, 17, 18 .... 31 add YL,r18 ld r8,Y ; A 32, 33, 34 .... 47 add YL,r18 ld r7,Y ; A 48, 49, 50 .....63 add YL,r18 ld r6,Y ; A 64, 65, 66 .....79 add YL,r18 ld r5,Y ; A 80, 81, 82 .....95 add YL,r18 ld r4,Y ; A 96, 97, 98 ..... 111 ldi r22,1 ; Schreib-Prüf-Bit
in „UART im Interrupt, Daten direkt in EEProm speichern“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
stk500_1200.asm
SPI_Send_Byte ; 0x54 1b6: 10 e2 ldi r17, 0x20 ; 32 1b8: 47 df rcall VariableDelay ; 0x48 1ba: 96 c0 rjmp Send_CR ; 0x2e8 ;; 'R' : Read_Flash_Word: 1bc: 42 35 cpi r20, 0x52 ; 82 1be: b9 f4 brne Set_Mem_Address ; 0x1ee 1c0: 38 e2 ldi r19, 0x28 ; 40 1c2
in „AVRISP => Hex-Datei vom 1200er“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
TimerRegs.h
#include <ioreg.h> // IO_REG_WRAPPERT #include <bitmask_.h> // enable bitmask operations #include <AVR/Avr8/Avr8_.h> // #include <AVR/base/Clock_.h> // adj.osc|sys clock div|delay //#include <AVR/base/TimerC_.h> // Timer0 // include after TimerRegs //#include <AVR/base/TimerI_.h> // Timer1 // include
in „C++ Klassenbibliothek für AVR“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
Tankanzeige2 * * Created: 1/9/2023 8:09:52 PM - Feb. 2023 * Author: Wulf D. */ #include <xc.h> #include <avr/interrupt.h> #include <avr/eeprom.h> #include <avr/pgmspace.h> #define Tank 0 // PWM Ausgang fuer die analoge Tankuhr #define UbTaster 4 // Doppelfunktion: Betriebsspannung messen (KL15 aus) und Tasterabfrage
in „Benzintank Füllstand mittels Drucksensor“ · Analoge Elektronik und Schaltungstechnik ·
-
Datei
FixpointApfel.c
fixpointSqr (fixpoint x) { return fixpointMult (x, x); } fixpoint fixpointSqrt (fixpoint x) { uint32_t r = 0; uint32_t hi = 0; uint32_t lo = x; uint32_t c = 15 + (pixpointFractShift >> 1); uint32_t d; do { hi = (hi << 2) | (lo >> 30); lo <<= 2; r <<= 1; d = (r << 1) + 1; if (hi >= d) { hi -= d; r +=
-
PDF
MyPC_sch.pdf
XTALI 18 ETH_SI 5 DI Ray VS_CS 23 CS 7 -HOLD V rDO 2 VS_DCS 13 DCS VCO 15 3 -WP NA GND PC_SCK 29 SCLK 32 R29 1.8V 3.3V 4 PC_MOSI 30 SI TEST 3 10k 8 0FM25-S PC_MISO SO 6 100k 3 3 . R 1 VS_DREQ 8 IOVCC0 14 R4 3 3 GND V DREQ IOVCC1 19 IC7 ETH_SO . R5 26 IOVCC2 XMEGA128A1 3 VS_TX 27 RX 5 AVR_RST 90 95 PA0 100k
in „Bitte Schaltplan&Layout checken“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
TFT_ILI9163C.cpp
#if defined(SPI_HAS_TRANSACTION) SPI.endTransaction(); #endif } void TFT_ILI9163C::setBitrate(uint32_t n) { #if !defined(SPI_HAS_TRANSACTION) uint32_t divider = 1; while (divider < 255) { if (n >= 84000000 / divider) break; divider = divider - 1; } SPI.setClockDivider(divider); #endif } #elif defined
in „Maiskolben Lötstation Display steht Kopf“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Disassembly.txt
1<<LED3 ) | ( 1<<LED4 ) | 0000002B SER R24 Set Register 0000002C OUT 0x0A,R24 Out to I/O location 32: DEBUG_DIR = ( 1<<DEBUG_PIN ); 0000002D LDI R24,0x20 Load immediate 0000002E OUT 0x07,R24 Out to I/O location 35: INP_DIR &= ~( ( 1<<SENSOR_TOP ) | (1<<SENSOR_BOTTOM) ); 0000002F IN R24,0x04 In from
in „Atmega88P, Blinklicht in AtmelStudio 7 simulieren“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
rn_propellerclock_1.11.pdf
------RN-Mega128 übliche ------------------ $regfile = "m128def.dat" ' Bei Mega 128 " $framesize = 64 $swstack = 64 $hwstack = 64 $crystal = 16000000 'Quarzfrequenz Config Pine.3 = Output Motorboard_richtung Alias Porte.3 Config Pina.1 = Output Motorboard_reset Alias Porta.1 Config Pine.4 = Output Motorboard_pwm
in „Programm für Propellerclock“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
#include <avr/io.h> #include <util/delay.h> #include <avr/pgmspace.h> #define RED OCR2 #define GREEN OCR1B #define BLUE OCR1A uint16_t pwmtable_8C[45] PROGMEM = { 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 15, 16, 17, 19, 21, 23, 25, 27, 29, 32, 35, 38, 41, 45, 49, 54, 58, 64, 70, 76, 83, 90, 98, 107, 117, 127, 139, 152, 165, 180, 196, 214, 234, 255}; void farbe(volatile uint16_t *farbe,uint8_t wert, uint8_t delay) { if(wert == 44) { for(uint8
in „Kleiner LED RGB Fader, Codeprobleme“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
fsqrt16.txt
/* * fsqrt16.asm * Created: 07.09.2011 15:24:06 * Author: Marko Surup * AVR-Studio5, 8bit-AVR * Register r1:r0 Arbeitsregister (fix) * r19:r18 Arbeitsregister (nur r31:r16 wegen cpc-Befehl) * r17:r16 Zahl (r31:r2) * r20 Ergebnis,Integeranteil (r31:r2) * Laufzeit 63 Takte !!
in „AVR: 16bit Quadratwurzel in 63 Takten, fsqrt16.asm“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.h
LCD_PORT /**< port for Enable line */ #define LCD_E_PIN 6 /**< pin for Enable line */ #elif defined(__AVR_AT90S4414__) || defined(__AVR_AT90S8515__) || defined(__AVR_ATmega64__) || \ defined(__AVR_ATmega8515__)|| defined(__AVR_ATmega103__) || defined(__AVR_ATmega128__) || \ defined(__AVR_ATmega161__) || defined(__AVR_ATmega162__) || defined(__AVR_ATmega32__) /* * memory mapped mode is only supported when the device has an external data memory interface */ #define LCD_IO_DATA 0xC000 /* A15=E=1, A14=RS=1 */ #define
in „LCD Problem“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
WordClock4.c
ifndef F_CPU #define F_CPU 8000000UL #endif #include "Outshort.h" #include <util/delay.h> #include <avr/io.h> #include <stdint.h> #include <avr/interrupt.h> #include <stdlib.h> #include <string.h> int select[121]; // Variable für Matrix int selectuhr; // UHR wird mnitangezeigt (Es Ist Acht UHR) int stundeplus
in „Atmega16 PortD“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ASCII_GENERATOR__C.txt
und = 0x41, 0x22, 0x14, 0x08, 0x00, 0x00, 0x02, 0x01, 0x51, 0x09, 0x06, 0x00, // > und ? // Zeichen 64 bis 71 0x32, 0x49, 0x79, 0x41, 0x3e, 0x00, 0x7e, 0x09, 0x09, 0x09, 0x7e, 0x00, // @ und A 0x7f, 0x49, 0x49, 0x49, 0x36, 0x00, 0x3e, 0x41, 0x41, 0x41, 0x22, 0x00, // B und C 0x7f, 0x41, 0x41, 0x22, 0x1c
in „LED_Laufschrift mit Mega 32 und MAX 7219“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ascii-set-4.h
und = 0x41, 0x22, 0x14, 0x08, 0x00, 0x00, 0x02, 0x01, 0x51, 0x09, 0x06, 0x00, // > und ? // Zeichen 64 bis 71 0x32, 0x49, 0x79, 0x41, 0x3e, 0x00, 0x7e, 0x09, 0x09, 0x09, 0x7e, 0x00, // @ und A 0x7f, 0x49, 0x49, 0x49, 0x36, 0x00, 0x3e, 0x41, 0x41, 0x41, 0x22, 0x00, // B und C 0x7f, 0x41, 0x41, 0x22, 0x1c
in „EEPROM schreiben,lesen“ · Mikrocontroller und Digitale Elektronik ·