-
Datei
owdevice_ATT13_DS18B20.c
/* * owdevice.c * * Created: 24.01.2012 14:11:43 * Author: Tobias Mueller, mail(at)tobynet.de */ #include <avr/io.h> #include <avr/interrupt.h> #ifdef __AVR_ATmega32__ #include "uart.h" #include <util/delay.h> #endif //DEVICES #ifdef
in „1-Wire Slave auf AVR“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
t13-charlieplexing.asm
Schmidt * ; *********************************** ; .nolist .include "tn13adef.inc" ; Define device ATtiny13A .list ; ; ********************************** ; H A R D W A R E ; ********************************** ; ; Device: ATtiny13A, Package: 8-pin-PDIP_SOIC ; ; ; ; / | 100n ; o--|RESET VCC|--o----||---
in „Attiny13a stürzt ab“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
AVR910JS_2313_v3_3_STK500.asm
AT90S2343 ; .db 0x4C,0 ;From 0x4d-0x4f unused yet ; ;0x50,0x51 used. From 0x52-0x54 unused yet ; ; ; ;ATtiny12 ; .db 0x55,0 ; ;ATtiny15 ; .db 0x56,0 ;0x57 unused yet ; ;ATtiny19 ; .db 0x58,0 ;From 0x59-0x5b unused yet ; ;ATtiny28 ; .db 0x5C,0 ;0x5d unused yet ; ;ATtiny26 ; .db 0x5E,'P' ;0x5f unused yet ;
in „STK500 spinnt“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
AVR910JS_2313_v3_3.asm
yet ;AT90S2343 .db 0x4C,0 ;From 0x4d-0x4f unused yet ;0x50,0x51 used. From 0x52-0x54 unused yet ; ;ATtiny12 .db 0x55,0 ;ATtiny15 .db 0x56,0 ;0x57 unused yet ;ATtiny19 .db 0x58,0 ;From 0x59-0x5b unused yet ;ATtiny28 .db 0x5C,0 ;0x5d unused yet ;ATtiny26 .db 0x5E,'P' ;0x5f unused yet ; ;ATmega161 .db 0x60
in „AVR - suche Datei avr910.asm von Atmel“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
definition_tn2313.txt
" ;* Title : Register/Bit Definitions for the ATtiny2313 ;* Date : 2005-01-11 ;* Version : 2.14 ;* Support E-mail : avr@atmel.com ;* Target MCU : ATtiny2313 ;* ;* DESCRIPTION ;* When including this file in the assembly program file, all I/O register
in „Attiny2313 programmieren“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
tn85def.inc
" ;* Title : Register/Bit Definitions for the ATtiny85 ;* Date : 2009-12-11 ;* Version : 2.35 ;* Support E-mail : avr@atmel.com ;* Target MCU : ATtiny85 ;* ;* DESCRIPTION ;* When including this file in the assembly program file, all I/O register ;* names
in „LCD über nur einen IO-Pin ansteuern“ · Projekte & Code ·
-
Datei
tn2313def.inc
" ;* Title : Register/Bit Definitions for the ATtiny2313 ;* Date : 2010-08-20 ;* Version : 2.35 ;* Support E-mail : avr@atmel.com ;* Target MCU : ATtiny2313 ;* ;* DESCRIPTION ;* When including this file in the assembly program file, all I/O register
in „Welche .def ist die richtige?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
tn2313def.inc
" ;* Title : Register/Bit Definitions for the ATtiny2313 ;* Date : 2005-10-01 ;* Version : 2.20 ;* Support E-mail : avr@atmel.com ;* Target MCU : ATtiny2313 ;* ;* DESCRIPTION ;* When including this file in the assembly program file, all I/O register
in „AVR000: Register and Bit-Name Definitions“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
tn2313def.inc
" ;* Title : Register/Bit Definitions for the ATtiny2313 ;* Date : 2005-11-04 ;* Version : 2.21 ;* Support E-mail : avr@atmel.com ;* Target MCU : ATtiny2313 ;* ;* DESCRIPTION ;* When including this file in the assembly program file, all I/O register
in „ATTINY2313 16Mhz“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Bootloader.bas
Version '****** MCU Einstellungen ******************************* $crystal = 8000000 '$regfile = "attiny45.dat" 'AVR Controller 'Const Avr_setting = "tiny45" $regfile = "m328pdef.dat" Const Avr_setting = "mega328p" 'Benutzerdefinierter AVR: '$regfile = "attiny45.dat" 'Const Avr_setting = "user" 'Const
in „Probleme mit Bootloader bei ATmega328p“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
doc8005.pdf
AVR442: PC Fan Control using ATtiny13 Features 8-bit • Variable speed based on: Microcontrollers - Temperature sensor (NTC). - External PWM input. • Stall detection with alarm output. • Implementation in C code to ease modification.
in „BLCD Motor via PWM steuern“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
AVR442_PC_Fan_Control_using_ATtiny13.pdf
AVR442: PC Fan Control using ATtiny13 Features 8-bit • Variable speed based on: Microcontrollers - Temperature sensor (NTC). - External PWM input. • Stall detection with alarm output. • Implementation in C code to ease modification.
-
Datei
wiring.c
volatile unsigned long timer0_millis = 0; static unsigned char timer0_fract = 0; #if defined(__AVR_ATtiny24__) || defined(__AVR_ATtiny44__) || defined(__AVR_ATtiny84__) SIGNAL(TIM0_OVF_vect) #else SIGNAL(TIMER0_OVF_vect) #endif { // copy these to local variables so they can be stored in registers // (volatile
in „IRMP - Infrared Multi Protocol Decoder“ · Projekte & Code ·
-
PDF
AVR051.pdf
Applicability Application This application note applies to all AVRs with External RC Oscillator except ATtiny11, Note ATtiny12, ATtiny28, ATmega163, and ATmega323. For these devices, please refer to the device datasheets. Introduction This application note describes how to use the external RC oscillator for
in „AtMega32 mit Quarz betreiben. [siehe Bild]“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
SolderingStation.asm
with tabs set to 8 .NOLIST ; Disable listfile generation ; please uncomment for the desired MC ; ATTiny 25 ;.include "tn25def.inc" ; ATTiny 45 ;.include "tn45def.inc" ; ATtiny 85 .include "tn85def.inc" .LIST ; ; constants 1 Mhz clk (8 mhz /8) , PB 0-1 outputs ,PB 2-4 input ; ; today : a soldering iron
in „Erfahrungen mit DIY-Lötstationen“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
Arduino_Interrupts_by_Nick_Gammon.pdf
1f 92 push r1 (2) 184: 0f 92 push r0 (2) 186: 0f b6 in r0, 0x3f (1) 188: 0f 92 push r0 (2) 18a: 11 24 eor r1, r1 (1) 18c: 2f 93 push r18 (2) 18e: 3f 93 push r19 (2) 190: 4f 93 push r20 (2) 192: 5f 93 push r21 (2) 194: 6f 93 push r22 (2) 196: 7f 93 push r23 (2) 198: 8f 93 push r24 (2) 19a: 9f 93 push
in „Verständnis AVR Interrupts“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
RFM01-V8.asm
;RFM01-V8.asm ;Stand: 10.01.2010 ;Empfangsroutine für RFM01 ;Hardware: ATTiny2313 und RFM01 ;Autor Andreas Montnacher ;Fusebits: Takt 8 MHz intern, kein Taktvorteiler ;Assembler: GAVRASM, http://www.avr-asm-tutorial.net/avr_de/index.html .DEVICE ATTiny2313 .def ctrl=R1 ; Puffer
in „Beispielprogramm für RFM12 433MHz Funk-Module“ · Projekte & Code ·
-
Datei
diff-20100825.txt
/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 @@ static inline void lcd_write4 (uint8_t d // RW setup time t_AS: min 40ns (60ns) - considered already set LCDC_PORT |= (1<<LCD_E); // Total E high PW_EH: min
in „Reziproker Frequenzzähler+ Optimierte 64bit uint Routinen“ · Projekte & Code ·
-
Datei
Bootloader.bas
Version '****** MCU Einstellungen ******************************* $crystal = 8000000 '$regfile = "attiny45.dat" 'AVR Controller 'Const Avr_setting = "tiny45" $regfile = "m328pdef.dat" Const Avr_setting = "mega328p" 'Benutzerdefinierter AVR: '$regfile = "attiny45.dat" 'Const Avr_setting = "user" 'Const
in „Probleme mit Bootloader bei ATmega328p“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Bootloader.bas
Version '****** MCU Einstellungen ******************************* $crystal = 8000000 '$regfile = "attiny45.dat" 'AVR Controller 'Const Avr_setting = "tiny45" $regfile = "m328pdef.dat" Const Avr_setting = "mega328p" 'Benutzerdefinierter AVR: '$regfile = "attiny45.dat" 'Const Avr_setting = "user" 'Const
in „Probleme mit Bootloader bei ATmega328p“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
I2Cslave_ATtiny13_Elektor.BAS
sends prepared byte to the master 'else, waits for next START/STOP $crystal = 9600000 $regfile = "ATtiny13.dat" $hwstack = 16 $swstack = 0 $framesize = 24 Dim I2c_address As Byte , I2c_b1 As Byte , I2c_b2 As Byte , I2c_stop As Byte Dim Data_for_master As Byte , Address As Byte , Address_ee As Eram Byte
in „ATTINY13 I2C to Uart converter“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Original.c.c
/*************************************************************************************** Titel: ATtiny TPS Author: Christian Hottum File: ATtiny461A_TPS.c Version: 0.1 Datum: 09.01.2015 Software: AVR-GCC 4.3.3 Target: ATtiny461A DESCRIPTION Firmware für einen Tasten Programierbare Steuerung auf Basis
in „Ttiny 461a isp schaltung“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Fan.asm
; fq 2013-12-15 10:30 ; version 0.2 ; target: ATtiny10 ; ; This program reads the frequency of the input signal at PB1 ; and provides a similar signal at PB2 with frequency which ; has been increased by 33 % (if fq < 90 Hz). ; operating range: 0.02 Hz
in „Frequenz eines Rechtecksignal manipulieren“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
tn461def.inc
" ;* Title : Register/Bit Definitions for the ATtiny461 ;* Date : 2007-02-28 ;* Version : 2.24 ;* Support E-mail : avr@atmel.com ;* Target MCU : ATtiny461 ;* ;* DESCRIPTION ;* When including this file in the assembly program file, all I/O register ;*
in „tn461def.inc : woher, schnell und einfach“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd_clock.bas
/Kanalbusdriver '' * - - * - * * - - - - - - - - - - - - - - - - - - - - - - - - - - $regfile = "attiny2313.dat" $crystal = 8000000 $baud = 19200 Declare Sub Lover_text() Config Pind.2 = Input ' Display konfiguieren Config Pind.3 = Input Config Pind.4 = Input Config Pind.6 = Output Portd.2 = 1 Portd.3
in „Bascom AVR 2.0.5.0 Frage zu Quarzen“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
AvrBoard.pdf
Externe Bauteile für verschiedene Experimente: 1 Quarz 32768Hz Fürs RTC-Experiment mit Timer2 1 ATtiny12 Oder beliebiger anderer AVR, möglichst mit aktivierten internem RC- Oszillator. Dieser AVR wird als Slave für SPI-Experimente verwendet. 1 24C128 I2C-EEPROM der 24er-Serie, z.B. 24LC256, 24C128, 24C16, 24C08 u.s.w. Der EEPROM wird für I2C-Experimente verwendet. 2 1,8 kΩ Widerstand 1,8 kΩ − 0,6W. Für I2C-Abschluß. 1 AVR-Butterfly Nicht unbedingt nötig, wird aber kurz beschrieben (Preis beachten!
-
PDF
AvrBoard.pdf
Externe Bauteile für verschiedene Experimente: 1 Quarz 32768Hz Fürs RTC-Experiment mit Timer2 1 ATtiny12 Oder beliebiger anderer AVR, möglichst mit aktivierten internem RC- Oszillator. Dieser AVR wird als Slave für SPI-Experimente verwendet. 1 24C128 I2C-EEPROM der 24er-Serie, z.B. 24LC256, 24C128, 24C16, 24C08 u.s.w. Der EEPROM wird für I2C-Experimente verwendet. 2 1,8 kΩ Widerstand 1,8 kΩ − 0,6W. Für I2C-Abschluß. 1 AVR-Butterfly Nicht unbedingt nötig, wird aber kurz beschrieben (Preis beachten!
in „LED flackern“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
AvrBoard__1_.pdf
Externe Bauteile für verschiedene Experimente: 1 Quarz 32768Hz Fürs RTC-Experiment mit Timer2 1 ATtiny12 Oder beliebiger anderer AVR, möglichst mit aktivierten internem RC- Oszillator. Dieser AVR wird als Slave für SPI-Experimente verwendet. 1 24C128 I2C-EEPROM der 24er-Serie, z.B. 24LC256, 24C128, 24C16, 24C08 u.s.w. Der EEPROM wird für I2C-Experimente verwendet. 2 1,8 kΩ Widerstand 1,8 kΩ − 0,6W. Für I2C-Abschluß. 1 AVR-Butterfly Nicht unbedingt nötig, wird aber kurz beschrieben (Preis beachten!
in „portpin PD.3 liefert kein signal“ · Mikrocontroller und Digitale Elektronik ·
-
Bild
Schaltplan mit Mikrocontroller und Operationsverstärkern
D2 1N414BW, D4 SMD ZD 3.0, D5 1N414BW, D6 1N414BW, R11 22k, R15 10k, C15 100n, C19 470, C20 150p, R24 100, U33 LM324, C22 470p, C24 470p, U34, R25 1k, R26 100, R22 1k, R20 47, R21 47, PA7, PA6, PA5, PA4, PA3, PA2, PA1, PA0, RESET/PA0, U2 ATtiny1614-SS, PB0 bis PB7, PB1 bis PB7, GND, 3v3, 3v3, GND, GND
in „[VS] Platine RFID - Leser“ · Markt · · Schaltpläne
-
Datei
8_Taster_2.asm
;Impulsformer und Entprellung für 8 Tasten mit ATTiny2313 ;Siehe http://www.mikrocontroller.net/topic/214865#2138197 ;Pinbelegung ATTiny2313: ;Eingänge an PortD und PA0 ;Ausgänge an PortB .include "tn2313def.inc" ;Namen von Adressen und Konstanten vereinbaren
in „Schalter zu Taster“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
Bedienung.pdf
Stufen erfolgen kann. Das hängt von der Mindesthelligkeit ab. I2C: VieleWerte werden im SRAM des ATTiny4313 gespeichert und können über den I2C - Bus direkt abgefragt und geändert werden. Es ist eine Schaltuhr mit 24 bzw. 32 Schaltzeiten integriert, die über I2C gesetzt werden kann. 24 Zeiten können
in „4-fach Dimmer 2Stromstoßschalter Schaltuhr“ · Projekte & Code ·
-
Datei
tn4313def.inc
" ;* Title : Register/Bit Definitions for the ATtiny4313 ;* Date : 2010-08-20 ;* Version : 2.35 ;* Support E-mail : avr@atmel.com ;* Target MCU : ATtiny4313 ;* ;* DESCRIPTION ;* When including this file in the assembly program file, all I/O register
in „Woher kriege ich die Datei t4313def.inc?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
wiring.c
volatile unsigned long timer0_millis = 0; static unsigned char timer0_fract = 0; #if defined(__AVR_ATtiny24__) || defined(__AVR_ATtiny44__) || defined(__AVR_ATtiny84__) SIGNAL(TIM0_OVF_vect) #else SIGNAL(TIMER0_OVF_vect) #endif { // copy these to local variables so they can be stored in registers // (volatile
in „IRMP - Infrared Multi Protocol Decoder“ · Projekte & Code ·
-
Datei
Strom_25A.bas
* * '* Strom Sensor * '* max. 25A / 16V * '* * '************************************ $regfile = "attiny85.dat" $crystal = 8000000 $hwstack = 32 $swstack = 10 $framesize = 24 Config Pinb.2 = Input 'SCL Config Pinb.0 = Input 'SDA Config Portb.1 = Output 'Spannungsregler Enable Portb.1 = 1 Waitms 10 If
in „Fehler in Bascom?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ACI-Timer.bas
--------------------------------------------------------------- ' Chip deklarationen $regfile = "attiny85.dat" $hwstack = 32 ' 32 $swstack = 8 ' 8 $framesize = 24 ' 24 ' -----------------------------------------------------------------------------------------------------------------------------------
in „Tiny85 ACI + Timer zur Datenaufzeichnung“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
bom-v1-0.pdf
€ C11, C21, C22, C26, C50, C51, C60, C61, C62, 18100nF 0805 X7R-G0805 100N 0,04 € 0,72 € C10, C14 24.7µF 25V KEM X5R0805 4,7U 0,10 € 0,20 € C23 11µF KEM X5R0805 1,0U 0,07 € 0,07 € C24 110nF X7R-G0805 10N 0,04 € 0,04 € C25 1470nF KEM X7R0805 470N 0,07 € 0,07 € C130 14.7µF KEM X5R0805 4,7U 0,10 € 0,10
in „Universalplatine für STM32, grobe Fehler vor der Herstellung?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
FPWM_Mode7.asm
*********************************************************** ;* Programm FPWM_Mode7.ASM ;* ;* Für ATtiny13 im Auslieferungszustand ( High = $FF ; Low = $6A ) ;* ;* ;* Am PWM-Pinn 6 ( OC0B ) wird eine PWM im Mode 7 ausgegeben, ;* die mittels zweier Potentiometer eingestellt wird. ;* Wobei ein Poti Pinn
in „ATtiny13 Fast PWM-Mode mit OCR0A und extremwerten“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.asm
/* ******************************************************************************** Funktion: ATtiny13a (4.8MHz) empfängt ROM und ROM Daten von DS18B20 oder DS18S20 im 5 Sekunden-Takt. Die Daten werden umgerechnet und per I2C über PCF8574 zum LCD1602/2004 übertraben. Line1: Anzeige DS18B20 oder DS18S20
in „AVR ATtiny13 DS18B20/DS18S20 I2C PCF8574 LCD Temperaturanzeige“ · Projekte & Code ·
-
Datei
IR8_V12_SAA3008.asm
/* Alternativ-Firmware für IR8-Bausatz Version 1.2 von Pollin Der ATTiny2313 sollte im Originalzustand gefust sein, also mit aktiviertem internen 8MHz-RC-Oszillator. Achtung: Der zum Bausatz gehörende ATTiny2313 ist auf 4MHz gefust. Der Zustand der CKDIV8-Fuse ist egal,
in „Quellcode für den Pollin Fernsteuer Bausatz“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
AVR053.pdf
Grouped by oscillator version. Oscillator version Device RC oscillator frequency [MHz] CKDIV PRSCK 1.1 ATtiny12 1.2 1.2 ATtiny15 1.6 2.0 ATmega163 1.0 2.0 ATmega323 1.0 3.0 ATmega8 1.0, 2.0, 4.0, and 8.0 3.0 ATmega16 1.0, 2.0, 4.0, and 8.0 3.0 ATmega32 1.0, 2.0, 4.0, and 8.0 (1) 3.1 ATmega64 1.0, 2.0, 4.0,
in „OSCCAL für 8MHz ?!? be ATTiny26“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
AVR053.PDF
Grouped by oscillator version. Oscillator version Device RC oscillator frequency [MHz] CKDIV PRSCK 1.1 ATtiny12 1.2 1.2 ATtiny15 1.6 2.0 ATmega163 1.0 2.0 ATmega323 1.0 3.0 ATmega8 1.0, 2.0, 4.0, and 8.0 3.0 ATmega16 1.0, 2.0, 4.0, and 8.0 3.0 ATmega32 1.0, 2.0, 4.0, and 8.0 (1) 3.1 ATmega64 1.0, 2.0, 4.0,
in „Osccal für EEPROM bei mega8535 mit Quarz“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
PollinSpiel_Nachbau.bas
$framesize = 24 $swstack = 24 $hwstack = 24 $regfile = "ATtiny2313.dat" $crystal = 1000000 Lcd_db4 Alias Portb.0 Lcd_db5 Alias Portb.1 Lcd_db6 Alias Portb.2 Lcd_db7 Alias Portb.3 Lcd_e Alias Porta.0 Lcd_rs Alias Porta
in „Messgeraetchen aus Pollin Spiel bauen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
mpx_2digit_demo.c
-------- mpx_2digit_demo.c 2 stellige gemultiplexte 7-Segmentanzeige mit gemeinsamer Anode MCU : attiny84 F_CPU : 8000000 07.02.2022 by R. Seelig ------------------------------------------------------------ */ #include <util/delay.h> #include <avr/io.h> #include <util/delay.h> #include <avr/interrupt.h> #include "mpx_2conc.h" /* ATtiny 24 / 44 / 84 Anschlusspins IC +-----------+ Vcc | 1 A 14 | GND PB0 - PCINT8 - XTAL1 - SCI - CLKI | 2 T 13 | PA0 - ADC0 - AREF - PCINT0 PB1 - PCINT9 - XTAL2 | 3 t 12 | PA1 - ADC1 - AIN0 - PCINT1 PB3
in „7 Segment Anzeige auf verschiedenen Ports“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
mpx_2digit_demo.c
-------- mpx_2digit_demo.c 2 stellige gemultiplexte 7-Segmentanzeige mit gemeinsamer Anode MCU : attiny84 F_CPU : 8000000 07.02.2022 by R. Seelig ------------------------------------------------------------ */ #include <util/delay.h> #include <avr/io.h> #include <util/delay.h> #include <avr/interrupt.h> #include "mpx_2conc.h" /* ATtiny 24 / 44 / 84 Anschlusspins IC +-----------+ Vcc | 1 A 14 | GND PB0 - PCINT8 - XTAL1 - SCI - CLKI | 2 T 13 | PA0 - ADC0 - AREF - PCINT0 PB1 - PCINT9 - XTAL2 | 3 t 12 | PA1 - ADC1 - AIN0 - PCINT1 PB3
in „7 Segment Anzeige auf verschiedenen Ports“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Voltmeter_tiny24.bas
'**************************VOLTMETER-TEST von PAUL BAUMANN $regfile = "atTiny24.dat" 'ATTiny24-Deklarationen $crystal = 1000000 'Interner Takt benutzt ' variablen für die display routine Dim Tempstr As String * 3 Dim Y As Byte Dim Tempbyte As Byte ' Variable für Digitansteuerung
in „Problem mit ADC-Umrechnung bei Attiny24“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
mg.asm
-4, -3, -2, 0, 1, 2, 3, 2, 0, -2, -6, -11, -15, -18 .db -19, -19, -16, -11, -5, 1, 8, 15, 20, 23, 24, 23, 20, 17, 13, 10 .db 7, 6, 6, 8, 10, 13, 16, 18, 20, 20, 20, 19, 18, 18, 18, 18 .db 19, 21, 24, 26, 27, 28, 27, 25, 22, 17, 11, 5, 0, -5, -9, -12 .db -13, -13, -11, -9, -5, -1, 1, 4, 6, 6, 4, 0, -
in „Sequencer Prinzip ELM - Wavetable Melody Generator (ASM)“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
test.c
/* testprogramm for generating a PWM - Singal */ // Microcontroller ATTINY44A #include <avr/io.h> #include <avr/interrupt.h> #include <util/delay.h> #include "AttinyPWM.h" #include "Typedef.h" #define divider 1 volatile uint8_t pwm_flag; int main(void) { // first square sinwave
in „PWM mit Interrupts steuern“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Synth.asm
.nolist .include "tn2313def.inc" ; Define device ATtiny2313 .list .macro WriteSram ; (register, const) ldi XL, low(SRAM_START) ldi XH, high(SRAM_START) ldi rmp, 0 j0: cpi rmp, @1 breq j1 st X+, @0 inc rmp rjmp j0 j1: ldi XL, low(SRAM_START) ldi XH, high
in „Attiny2313 Timer16 Bit, Normal Mode, unsauber“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
flacker.asm
.nolist .include "tn13adef.inc" ; Define device ATtiny13A .list ; Hinweise ; Verwendet den internen 128KHz-Oszillator ; ; ; Device: ATtiny13A, Package: 8-pin-PDIP_SOIC ; ; _________ ; 1 / |8 ; o--|RESET VCC|--o--\ ; o--|PB3 PB2|--o | ; Taster--------o-
in „Fehlersuche AVR-assembler“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
push_mathe.inc
_16 (muß nicht separat erlaubt werden) ; pushmul_16_16 Multipliziert zwei 16Bit Zahlen ; pushmul_8_24 Multipliziert eine 8Bit Zahl mit einer 24Bit Zahl ; pushmul_24_8 Multipliziert eine 24Bit Zahl mit einer 8Bit Zahl, benutzt pushmul_8_24 (muß nicht separat erlaubt werden) ; pushdiv_32_16 Dividiert eine
in „ATtiny45 - Timer 'Problem' - Assembler“ · Mikrocontroller und Digitale Elektronik ·