-
Datei
4x4_keydebouncing_0.3.c
debounce) * * danni@specs.de * * * * IMPORTANT: Edits by Marc L. * * Version 0.3 * * Mikrocontroller: ATmega16 * * Use this code on your own risk! * ************************************************************************* * EDIT: - es soll statt 3x4 eine 4x4-Tastatur ausgelesen werden * * - Repeat-Funktion
in „4x4 Matrixtastatur mit Tasterentprellung“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
*************************************** * * Stromsparende Echtzeituhr mit 32768Hz Uhrenquarz * * ATmega16 mit externen 7,37287 MHz Quarz + 32,768 kHz Quarz ************************************************************************ */ //_________/defines\_________________________________________________
in „Uhrzeit und Datum mit Hilfe der genauen Sekunde“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Timer_1.asm
zeigt!! ;-------------------------------------------------------------------------------- .include "m16def.inc" .device ATmega16 ;Ausgewählter ATmel .equ CLOCK = 16000000 ;f = 16 MHz .def temp = r16 ;Temporärer Register .def C = r17 ;Zähler .org 0x001 ;Startadresse rjmp reset ;Interrupt vom Timer 1 der
in „was ist indiesen timer falsch uund warum zähl er nicht gena“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
CPU_CONNECTORS.CE3.pdf
PA3 (ADC3) 37 11 TO DISPLAY BOARD 12 5 (SS) PB4 PA4 (ADC4) 36 13 2 14 2 6 35 15 (MOSI) PB5 PA5 (ADC5 16 7 34 17 (MISO) PB6 PA6 (ADC6) 18 8 33 19 (SCK) PB7 PA7 (ADC7) 20 9 32 /RESET AREF 10 VCC GND 31 ATMEGA32 / 16 MHz 22p 11 GND AVCC 30 12 29 XTAL2 PC7 (TOSC2) 16 MHz 13 28 XTAL1 PC6 (TOSC1) 22p 14 27 (RXD) PD0 PC5 (TDI) 15 26 (TXD) PD1 PC4 (TDO) 3 3 CLOCK Z0 16 (INT0) PD2 PC3 (TMS) 25 CLOCK X 17 (INT1) PD3 PC2 (TCK) 24 DATA Z0 18 (OC1B) PD4 PC1 (SDA) 23 19 22 DATA X (OC1A) PD5 PC0 (SCL) 20 21 (ICP1) PD6 PD7 (OC2) Z ZERO TO KEY PANEL 1 2 3 X ZERO Z Zero 4 5
in „10stelliges 7-Segment DRO für WABECO Messschieber“ · Projekte & Code ·
-
Datei
avr_adc_timer_test.c
defined in Makefile */ #ifndef F_CPU #define F_CPU 7372800UL #endif #define UART_BAUD_RATE 115200 uint16_t ReadChannel(uint8_t mux_adc_channel); /* ADC-Auslese-Funktion deklarieren */ float PI_Regler(float ek_0); /* Funktion PI-Regler deklarieren */ float yk=0; uint16_t wk=512; uint16_t xk=0; int16_t ek
in „Woher kommt der Timerüberlauf“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
IO_subproc.asm
; ; ; I O s u b p r o c e s s o r ; ; An ATMega16 allows access to its IO resources through a 4-bit bus ; ; Copyright (C) 2016 Klaus Dormann ; ; This program is free software: you can redistribute it and/or modify ; it under the terms of the GNU
in „ATMEGA16 Revision & USART receive buffer“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.c
library Author: Peter Fleury <pfleury@gmx.ch> http://jump.to/fleury File: $Id: lcd.c,v 1.13.2.4 2005/01/16 11:58:09 Peter Exp $ Software: AVR-GCC 3.3 Target: any AVR device, memory mapped mode only for AT90S4414/8515/Mega DESCRIPTION Basic routines for interfacing a HD44780U-based text lcd display Originally
in „Keine Warnung wenn Prog. Speicher voll?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.c
Author: Peter Fleury <pfleury@gmx.ch> http://jump.to/fleury File: $Id: lcd.c,v 1.14.2.1 2006/01/29 12:16:41 peter Exp $ Software: AVR-GCC 3.3 Target: any AVR device, memory mapped mode only for AT90S4414/8515/Mega DESCRIPTION Basic routines for interfacing a HD44780U-based text lcd display Originally based
in „[Atmega8]LCD-Display+UART“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd_new.c
Author: Peter Fleury <pfleury@gmx.ch> http://jump.to/fleury File: $Id: lcd.c,v 1.14.2.1 2006/01/29 12:16:41 peter Exp $ Software: AVR-GCC 3.3 Target: any AVR device, memory mapped mode only for AT90S4414/8515/Mega DESCRIPTION Basic routines for interfacing a HD44780U-based text lcd display Originally based
in „mal wieder ein LCD am Atmega8“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd_new.c
Author: Peter Fleury <pfleury@gmx.ch> http://jump.to/fleury File: $Id: lcd.c,v 1.14.2.1 2006/01/29 12:16:41 peter Exp $ Software: AVR-GCC 3.3 Target: any AVR device, memory mapped mode only for AT90S4414/8515/Mega DESCRIPTION Basic routines for interfacing a HD44780U-based text lcd display Originally based
in „mal wieder ein LCD am Atmega8“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.c
Author: Peter Fleury <pfleury@gmx.ch> http://jump.to/fleury File: $Id: lcd.c,v 1.14.2.1 2006/01/29 12:16:41 peter Exp $ Software: AVR-GCC 3.3 Target: any AVR device, memory mapped mode only for AT90S4414/8515/Mega DESCRIPTION Basic routines for interfacing a HD44780U-based text lcd display Originally based
in „LCD zeigt nur die Hälfte an“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.c
Author: Peter Fleury <pfleury@gmx.ch> http://jump.to/fleury File: $Id: lcd.c,v 1.14.2.1 2006/01/29 12:16:41 peter Exp $ Software: AVR-GCC 3.3 Target: any AVR device, memory mapped mode only for AT90S4414/8515/Mega DESCRIPTION Basic routines for interfacing a HD44780U-based text lcd display Originally based
in „Grafikfähiger LCD Controller für 320x240 LCD mit 4 Graustufen“ · Projekte & Code ·
-
Datei
lcd.c
Author: Peter Fleury <pfleury@gmx.ch> http://jump.to/fleury File: $Id: lcd.c,v 1.14.2.1 2006/01/29 12:16:41 peter Exp $ Software: AVR-GCC 3.3 Target: any AVR device, memory mapped mode only for AT90S4414/8515/Mega DESCRIPTION Basic routines for interfacing a HD44780U-based text lcd display Originally based
in „Kompilieren von C Dateien in Kubuntu“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.c
Author: Peter Fleury <pfleury@gmx.ch> http://jump.to/fleury File: $Id: lcd.c,v 1.14.2.1 2006/01/29 12:16:41 peter Exp $ Software: AVR-GCC 3.3 Target: any AVR device, memory mapped mode only for AT90S4414/8515/Mega DESCRIPTION Basic routines for interfacing a HD44780U-based text lcd display Originally based
in „Kompilieren von C Dateien in Kubuntu“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.c
Author: Peter Fleury <pfleury@gmx.ch> http://jump.to/fleury File: $Id: lcd.c,v 1.14.2.1 2006/01/29 12:16:41 peter Exp $ Software: AVR-GCC 3.3 Target: any AVR device, memory mapped mode only for AT90S4414/8515/Mega DESCRIPTION Basic routines for interfacing a HD44780U-based text lcd display Originally based
in „[AVR] Lcd Init funktioniert aber der Rest nicht“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.c
pfleury@gmx.ch> http://jump.to/fleury Ergänzung Werner Freytag File: $Id: lcd.c,v 1.14.2.1 2006/01/29 12:16:41 peter Exp $ Software: AVR-GCC 3.3 Target: any AVR device, memory mapped mode only for AT90S4414/8515/Mega DESCRIPTION Basic routines for interfacing a HD44780U-based text lcd display Originally based
in „Heizungssteuerung mit ATMEGA 32“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.c
Author: Peter Fleury <pfleury@gmx.ch> http://jump.to/fleury File: $Id: lcd.c,v 1.14.2.1 2006/01/29 12:16:41 peter Exp $ Software: AVR-GCC 3.3 Target: any AVR device, memory mapped mode only for AT90S4414/8515/Mega DESCRIPTION Basic routines for interfacing a HD44780U-based text lcd display Originally based
in „LCD ES DIP204“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.c
Author: Peter Fleury <pfleury@gmx.ch> http://jump.to/fleury File: $Id: lcd.c,v 1.14.2.1 2006/01/29 12:16:41 peter Exp $ Software: AVR-GCC 3.3 Target: any AVR device, memory mapped mode only for AT90S4414/8515/Mega DESCRIPTION Basic routines for interfacing a HD44780U-based text lcd display Originally based
in „LCD-Display zeigt merkwürdige Zeichen an“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.c
Author: Peter Fleury <pfleury@gmx.ch> http://jump.to/fleury File: $Id: lcd.c,v 1.14.2.1 2006/01/29 12:16:41 peter Exp $ Software: AVR-GCC 3.3 Target: any AVR device, memory mapped mode only for AT90S4414/8515/Mega DESCRIPTION Basic routines for interfacing a HD44780U-based text lcd display Originally based
in „Frequenzmessung und Optimierung -Os“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.c
Author: Peter Fleury <pfleury@gmx.ch> http://jump.to/fleury File: $Id: lcd.c,v 1.14.2.1 2006/01/29 12:16:41 peter Exp $ Software: AVR-GCC 3.3 Target: any AVR device, memory mapped mode only for AT90S4414/8515/Mega DESCRIPTION Basic routines for interfacing a HD44780U-based text lcd display Originally based
in „LCD Atmega8535 fehler beim Programm erstellen mit AVR-Studio“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.c
Author: Peter Fleury <pfleury@gmx.ch> http://jump.to/fleury File: $Id: lcd.c,v 1.14.2.1 2006/01/29 12:16:41 peter Exp $ Software: AVR-GCC 3.3 Target: any AVR device, memory mapped mode only for AT90S4414/8515/Mega DESCRIPTION Basic routines for interfacing a HD44780U-based text lcd display Originally based
in „LCD Programmierproblem“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.c
Author: Peter Fleury <pfleury@gmx.ch> http://jump.to/fleury File: $Id: lcd.c,v 1.14.2.1 2006/01/29 12:16:41 peter Exp $ Software: AVR-GCC 3.3 Target: any AVR device, memory mapped mode only for AT90S4414/8515/Mega DESCRIPTION Basic routines for interfacing a HD44780U-based text lcd display Originally based
in „LCD zu wenig Spannung“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.c
Author: Peter Fleury <pfleury@gmx.ch> http://jump.to/fleury File: $Id: lcd.c,v 1.14.2.1 2006/01/29 12:16:41 peter Exp $ Software: AVR-GCC 3.3 Target: any AVR device, memory mapped mode only for AT90S4414/8515/Mega DESCRIPTION Basic routines for interfacing a HD44780U-based text lcd display Originally based
in „LCD funktioniert nicht“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.c
Author: Peter Fleury <pfleury@gmx.ch> http://jump.to/fleury * File: $Id: lcd.c,v 1.14.2.1 2006/01/29 12:16:41 peter Exp $ * Software: AVR-GCC 3.3 * Target: any AVR device, memory mapped mode only for AT90S4414/8515/Mega * * DESCRIPTION * Basic routines for interfacing a HD44780U-based text lcd display * *
in „Displaytech 162 und 162A geht nicht“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.c
Author: Peter Fleury <pfleury@gmx.ch> http://jump.to/fleury File: $Id: lcd.c,v 1.14.2.1 2006/01/29 12:16:41 peter Exp $ Software: AVR-GCC 3.3 Target: any AVR device, memory mapped mode only for AT90S4414/8515/Mega DESCRIPTION Basic routines for interfacing a HD44780U-based text lcd display Originally based
in „Komisches Verhalten mit lcd_puts“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.c
Author: Peter Fleury <pfleury@gmx.ch> http://jump.to/fleury File: $Id: lcd.c,v 1.14.2.1 2006/01/29 12:16:41 peter Exp $ Software: AVR-GCC 3.3 Target: any AVR device, memory mapped mode only for AT90S4414/8515/Mega DESCRIPTION Basic routines for interfacing a HD44780U-based text lcd display Originally based
in „avr dude Programm zu groß? Eclipse GCC“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
sid.lst
stashA = r1 ; used by interrupts to stash data .def stashB = r2 ; .def stashC = r3 ; .def temp = r16 ; temporary register, preserved by interrupts, ; used as argument and/or return value for subroutines .def tmpi = r20 ; temporary register, not preserved by interrupts .def backup = r21 ; backup register
in „Suche jemanden zum compileren“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Fleury_lcd_pollin.c
Peter EEPROM_C_1_1 <pfleury@gmx.ch> http://jump.to/fleury File: $Id: lcd.c,v 1.14.2.1 2006/01/29 12:16:41 peter Exp $ Software: AVR-GCC 3.3 Target: any AVR device, memory mapped mode only for AT90S4414/8515/Mega DESCRIPTION Basic routines for interfacing a HD44780U-based text lcd display Originally based
in „LCD HD44780 mit Atmega32 ansteuern“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd_new.c
Author: Peter Fleury <pfleury@gmx.ch> http://jump.to/fleury File: $Id: lcd.c,v 1.14.2.1 2006/01/29 12:16:41 peter Exp $ Software: AVR-GCC 3.3 Target: any AVR device, memory mapped mode only for AT90S4414/8515/Mega DESCRIPTION Basic routines for interfacing a HD44780U-based text lcd display Originally based
in „HD44780 on Atmega32 with Peter Fleurys library“ · µC & Digital Electronics ·
-
Datei
RP6RobotBaseLib.h
***************************************/ // ADC extern uint8_t adc_conversion_complete; extern uint16_t adc_result; extern uint16_t adcBat; extern uint16_t adcMotorCurrentLeft; extern uint16_t adcMotorCurrentRight; extern uint16_t adcLSL; extern uint16_t adcLSR; extern uint16_t adc0; extern uint16_t
in „PIC < > AVR (mit IIC)“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
testtemp.c
Samplecode in * "Tech Notes - ZACwireTM Digital Output, Rev. 2.3, October 17, 2006" * * Tested with ATMega8, avr-gcc (GCC) 4.3.0 and a TSIC-206 * * see also discussion at http://www.mikrocontroller.net/topic/82087 * ******************************************************************************/ #define
in „AVR TSIC Auswertung => riesen Programm“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
U2f_pw_org_ino.ino
// kurzer Impuls an PB.1 #define FILTER_LAENGE 16 // nach Bedarf volatile uint8_t neue_werte_fertig; // Sync-Flag volatile uint32_t neue_frequenz; // errechnter Wert für f volatile uint16_t neue_pulsweite; // errechneter Wert für PW uint16_t filter_f[FILTER_LAENGE]; // Filter für beide ADC-Kanäle uint16_t filter_pw[FILTER_LAENGE]; uint32_t filter_summe_f; uint32_t filter_summe_pw; uint8_t filter_index; uint16_t lese_adc(uint8_t kanal) { ADMUX = BIT(REFS0)| kanal; // Vcc als Vref, rechtsbuendig ADCSRA
in „spannungsgesteuerter Pulsgenerator 5-30 µs / 0-5kHz“ · Analoge Elektronik und Schaltungstechnik ·
-
PDF
MagicLifeCounter.pdf
20 19LCD1 31 AGND (PCI15/SCK)PB7 8 ISP2 5 6 LCD18 18 17LCD17 +5V (PCI14/MISO)PB6 7 ISP3 ISP2 7 8 LCD16 16 15LCD15 10 VCC (PCI13/MOSI)PB5 6 ISP1 ISP3 9 10 LCD14 14 13LCD13 11 GND (PCI12/OC0B/SS)PB4 5 LCD12 12 11LCD11 (PCI11/AIN1/OC0A)PB3 4 ISP LCD10 10 9 LCD9 GND (PCI10/AIN0/INT2)PB2 3 GND LCD8 8 7 LCD7
in „Schaltplan Review“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
MagicLifeCounter.pdf
31 AGND (PCI15/SCK)PB7 8 ISP2 5 6 LCD18 18 17LCD17 E C3 C4 C5 C6 (PCI14/MISO)PB6 7 ISP3 ISP2 7 8 LCD16 16 15LCD15 R 10 VCC (PCI13/MOSI)PB5 6 ISP1 ISP3 9 10 LCD14 14 13LCD13 3 4 22pF 22pF 0,1µF 0,1µF 11 GND (PCI12/OC0B/SS)PB4 5 LCD12 12 11LCD11 (PCI11/AIN1/OC0A)PB3 4 ISP LCD10 10 9 LCD9 (PCI10/AIN0/INT2
in „Schaltplan Review“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
MagicLifeCounter.pdf
40LCD7 ISP1 3 4 20 19 E 1 2 1 31 AVCC 8 5 6 18 17 S C3 C4 C5 C6 AGND (PCI15/SCK)PB7 7 ISP3 ISP2 7 8 LCD16 16 15LCD15 R 10 (PCI14/MISO)PB6 6 ISP1 ISP3 9 10 LCD14 14 13LCD13 B 3 4 22pF 22pF 0,1µF 0,1µF 11 VCC (PCI13/MOSI)PB5 5 LCD12 12 11LCD11 B GND (PCI12/OC0B/SS)PB4 4 ISP LCD10 10 9 LCD9 ((PCI10/AIN0/INT2
in „Schaltplan Review“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Frequency.c
************************************* #include <avr/io.h> //Library for all registernames of the ATMega //example: PORTA, PB3, DDRB usw. #include <stdint.h> //Library for the variabletyps like: //uint8_t, int8_t, uint32_t, int32_t. #include <avr/interrupt.h> //Library for Interrupt functions. #include "Frequency.h" #include "Timer2Isr.h" /* ** local variable */ static uint16_t int0Flag; static uint16_t int1Flag; static uint8_t actTCNT0=0; static uint16_t actInt0Flag=0; static uint16_t actInt1Flag=0; /* ** local functions */ /**********************************************
in „Problem Frequenzmessung mit Timer0“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
cdc-48.pdf
GND AREF 21 CN1 R3 9 PB6 AVCC 20 XM7B-0442 68 10 PB7 PB5 19 11 18 2 12 PD5 PB4 17 2 C3 13 PD6 PB3 16 104 14 PD7 PB2 15 PB0 PB1 U1 ATMEGA8/48/88 X1 12MHz C1 C2 18p 18p Title: AVR-CDC (ATmega8/48/88) 3 3 Design: Osamu Tamura Date: 2008-08-22 Sheet: 1 of 1 A B C D
in „uart problem“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
symbolliste.txt
char)~_BV(4) #define __WCHAR_MAX__ 32767 #define SPDR _SFR_IO8 (0x2E) #define INT16_MAX 0x7fff #define ACBG 6 #define __LACCUM_IBIT__ 31 #define __DBL_DENORM_MIN__ ((double)1.40129846e-45L) #define __AVR_ATmega88__ 1 #define TIMER1_CAPT_vect _VECTOR(10) #define SREG_C (0) #define SREG_H
in „Prüfen ob -Werror gesetzt (Preprocessor)“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
regelung4.c
// mit Overflow von Timer0 gesteuerter AD-Wandler mit anschl. Berechnungen // // Atmega16 16MHz Takt // AD-Wandlerkanal ADC0, Bereich 0-5V, 8-bit // Ausgabe binär am PortC (für R/2R Netzwerk) // // Timer0 soll jedesmal bei Overflow (jede 128us) den AD-Wandler für eine Einzelwandlung zünden
in „Timer und ADC bei Atmega16 mit WinAVR“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
regelung4.c
// mit Overflow von Timer0 gesteuerter AD-Wandler mit anschl. Berechnungen // // Atmega16 16MHz Takt // AD-Wandlerkanal ADC0, Bereich 0-5V, 8-bit // Ausgabe binär am PortC (für R/2R Netzwerk) // // Timer0 soll jedesmal bei Overflow (jede 128us) den AD-Wandler für eine Einzelwandlung zünden
in „Timer und ADC bei Atmega16 mit WinAVR“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Timer.asm
.include "m32def.inc" ; Definitionen für Atmel ATMEGA32 ; Programm kommt ganz an den Anfang des Speichers .def temp = r16 ; Register für Zwischenspeicherung ist R 16 .org 0 ;Startadresse=0 rjmp RESET ; Reset Handler .org $002 reti ; IRQ0 Handler .org
in „Hilfe zum Timer0 beim Atmega32“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
Schaltplan_HEM_4PA.pdf
Temp.1 A 1X4 1X5 1X6 Pri: 2x 115VAC Sek: 2x 12VAC BR2 AC 30 VA 80V, 1,5A _ + C7 AC 1000uF Sockel ATmega8 1 28 2 27 3 26 4 25 5 24 6 23 K2 K3 K1 C4 7 22 230V, 16A 230V, 16A 230V, 16A 100nF C5 Spule 12VDC Spule 12VDC Spule 12VDC B 8 21 100nF K1 K2 K3 B 9 20 D1 D1 D1 1N4001 1N4001 1N4001 10 19 11 18 C8 12 17 1X13 2000uF 1X12 LED R8 T1 13 16 470 Ohm, 2,5W 2X3 2X4 2X52X6 BC337-25 2X7 2X8 14 15 N Motor, Lüfter L Motor, Lüfter Magnetventil 24 V DC C6 100nF T2 R9 470 Ohm, 2,5W BC337-25 C C 1X9 1X10 R5 R6 R7 Ein Auto 90bar1X11 10 kOhm 10 kOhm
in „Probleme ATmega8“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
SPI.h
ucspi_data_order, uint8_t ucspi_mode, uint8_t ucspi_sck_freq); void SPI_Master_SlaveSelectInit(volatile uint16_t* ucdevice_pins); void SPI_Master_Start(volatile uint16_t* ucdevice_pins); void SPI_Master_Stopp(volatile uint16_t* ucdevice_pins); unsigned char SPI_Master_Write(uint8_t ucdata); //****************
in „Atmega88- Daten von Sensoren auf Flash abspeichern“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
/* * Atmega32u4 PWM in.c * * Created: 21.07.2016 00:19:49 * Author : DraconiX */ #define _DEBUG_UART #include "src/VirtualSerial.h" #include "DracoUSB.h" #include "DracoDECLARE.h" #include "DracoUART.h" volatile uint16_t CounterChannel0 = 0; volatile uint16_t CounterChannel1 = 0; volatile uint16_t CounterChannel2 = 0; void int_to_char (uint16_t a, char* target) { utoa(a,target,10); } void Timer1_start() { TCCR1B =
in „3-Kanäle PWM messen“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
CPU_CONNECTORS.CE3.pdf
PA3 (ADC3) 37 11 TO DISPLAY BOARD 12 5 (SS) PB4 PA4 (ADC4) 36 13 2 14 2 6 35 15 (MOSI) PB5 PA5 (ADC5 16 7 34 17 (MISO) PB6 PA6 (ADC6) 18 8 33 19 (SCK) PB7 PA7 (ADC7) 20 9 32 /RESET AREF 10 VCC GND 31 ATMEGA32 / 16 MHz 22p 11 GND AVCC 30 12 29 XTAL2 PC7 (TOSC2) 16 MHz 13 28 XTAL1 PC6 (TOSC1) ENCODER 22p 14 27 D E (RXD) PD0 PC5 (TDI) 15 26 B S.P.S.T (TXD) PD1 PC4 (TDO) 3 C 3 CLOCK Z0 16 (INT0) PD2 PC3 (TMS) 25 A CLOCK X 17 (INT1) PD3 PC2 (TCK) 24 DATA Z0 18 (OC1B) PD4 PC1 (SDA) 23 19 22 DATA X (OC1A) PD5 PC0 (SCL) 20 21 (ICP1) PD6 PD7 (OC2) Z ZERO 1 2 L 3 E X ZERO Z Zero 4 A 5 P 6 E
in „10stelliges 7-Segment DRO für WABECO Messschieber“ · Projekte & Code ·
-
Datei
main.c
// ### Projekt: Mexlebot ### // ### Autoren: A. Oguz, T. Kaya ### // ### Hardware: ATMega328PB ### // ### Software: Entwicklungsumgebung: Atmel Studio Ver. 7.0 ### // ### Funktion: Steuerung TMG4903 ### // ### Notiz: Der Code ist an Atmega328PB angepasst und muss ### // ### für andere AVR
in „Farbsensor TMG4903 mit Atmega328PB“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
boot.c
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
in „bootloader section in c“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
LED-Tech-DMX-Assembler.asm
/*LED-Tech-DMX-Assembler.asm ATmega32 8MHz Interrupt INT0,INT1, (INT2) INT1 = Read & Show DMX-Address & send via TXD to SW USART = config for DMX-Signals & Address Low/High-Byte Bernd Benninghofen / LED-Tech.de Last Update: 15.12.2010
in „EEPROM-Datenverlust“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ds18x20lib.c
########################################################### /* Library to use ds18x20 with ATMEL Atmega family. For short ds18x20 wires there is no need for an external pullup resistor. If the wire length exceeds one meter you should use a 4.7k pullup resistor on the data line. This library does not work for parasite power. You can just use one ds18x20 per Atmega Pin. Copyright (C) 2010 Stefan Sicklinger For support check out http://www.sicklinger.com This library is free software: you can redistribute it and/or modify it under the terms of the GNU General
in „undefined referece in AtmelStudio 6“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ds18x20lib.c
########################################################### /* Library to use ds18x20 with ATMEL Atmega family. For short ds18x20 wires there is no need for an external pullup resistor. If the wire length exceeds one meter you should use a 4.7k pullup resistor on the data line. This library does not work for parasite power. You can just use one ds18x20 per Atmega Pin. Copyright (C) 2010 Stefan Sicklinger For support check out http://www.sicklinger.com This library is free software: you can redistribute it and/or modify it under the terms of the GNU General
in „Temepratursensor DS18B20“ · Mikrocontroller und Digitale Elektronik ·