-
Datei
stk500boot.c
_AVR_ATmega128__) #define SIGNATURE_BYTES 0x1E9702 #elif defined (__AVR_ATmega1280__) #define SIGNATURE_BYTES 0x1E9703 #elif defined (__AVR_ATmega2560__) #define SIGNATURE_BYTES 0x1E9801 #elif defined (_
in „[AVR] Register R0 und R1 direkt in C oder Inline Assembler“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
log.txt
http://www.bdmicro.com/ Copyright (c) 2007-2009 Joerg Wunsch System wide configuration file is "C:\2560\avrdude.conf" Using Port : COM4 Using Programmer : stk500v2 Overriding Baud Rate : 19200 AVR Part : ATMEGA2560 Chip Erase delay : 9000 us PAGEL : PD7 BS2 : PA0 RESET disposition : dedicated RETRY pulse
in „Bootloader mega2560“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
log.txt
http://www.bdmicro.com/ Copyright (c) 2007-2009 Joerg Wunsch System wide configuration file is "C:\2560\avrdude.conf" Using Port : COM4 Using Programmer : stk500v2 Overriding Baud Rate : 115200 AVR Part : ATMEGA2560 Chip Erase delay : 9000 us PAGEL : PD7 BS2 : PA0 RESET disposition : dedicated RETRY pulse
in „Bootloader mega2560“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
AD-Converter.c
/* * AD_Converter.c * * Created: 03.01.2014 15:35:08 * Author: Rene */ #include <avr/io.h> #include <stddef.h> #include <avr/pgmspace.h> //XMEGA128A§ definiert #define F_CPU 32000000UL //CPU Geschwindigkeit = 32MHz #include <util/delay.h> //definiere Delay im Programm #define Led1 PORTE_OUTSET
in „ADC am Xmega“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
Preview_of__io.h_.pdf
<avr/io90pwm3b.h> #elif defined (__AVR_AT90PWM216__) # include <avr/io90pwm216.h> #elif defined (__AVR_AT90PWM316__) # include <avr/io90pwm316.h> #elif defined (__AVR_AT90PWM81__) # include <avr/io90pwm81
in „µC am Mac mit C programmieren“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Netzmessung_TWI.cpp
| defined(__AVR_ATmega1280__) || defined(__AVR_ATmega2560__) || defined(__AVR_AT90USB1286__) ADMUX = _BV(REFS0) | _BV(MUX4) | _BV(MUX3) | _BV(MUX2) | _BV(MUX1); ADCSRB &= ~_BV(MUX5); // Without this the function always returns -1 on the ATmega2560 http://openenergymonitor.org/emon/node/2253#comment-11432 #elif defined (__AVR_ATtiny24__) || defined(__AVR_ATtiny44__) || defined(__AVR_ATtiny84__) ADMUX = _BV(MUX5) | _BV(MUX0); #elif defined (__AVR_ATtiny25
in „AVR Frequenzmessung, DS18S20“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
spminterface.h
__) #define funcaddr___bootloader__do_spm 0x1e08c #elif defined (__AVR_ATmega2560__) #define funcaddr___bootloader__do_spm 0x3e0e4 #elif defined (__AVR_ATmega2561__) #define funcaddr___bootloader__do_spm 0x3e0cc #else #error "unknown MCU - where is bootloader__do_spm located
in „[ATMega] Programm aus externem EEprom laden“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
platform.local.txt
#Pfadangabe der Datei: C:\Arduino IDE Portable\Mega2560\arduino-1.8.19\portable\packages\arduino\hardware\avr\1.8.6 #compiler.path=C:\avrToolchain\avr-gcc-10.3.0_mingw32_binutils2.36.1/bin/ #compiler.path=C:\avrToolchain\avr-gcc-11.1.0_mingw32_binutils2.36.1
in „Was ist mit dem avr-gcc 12.x passiert? Internal Compiler Errors“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
MK3_2560_LCD.h
//----------------------------------------------------------------------------- // MK3_2560_LCD // Version 1.7 // 24.05.2012 / UB // "www.Mikrocontroller-4U.de" // mc-4u(@)t-online.de //----------------------------------------------------------------------------- // Fuer das myAVR MK3 Board
in „SHT11 an ATmega2560 Es funktioniert nicht“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
Arduino_Ausgabe.pdf
Users\JakobsenD.G02\Desktop\Ordner\FFP\Projekte\arduino-1.0.1-windows\arduino- 1.0.1\hardware/tools/avr/bin/avrdude - CC:\Users\JakobsenD.G02\Desktop\Ordner\FFP\Projekte\arduino-1.0.1-windows\arduino- 1.0.1\hardware/tools/avr/etc/avrdude.conf -v -v -v -v -patmega2560 -cstk500v2 -P\\.\COM5 -e - Ulock:w
in „ATMega2560 Fuses - ausgesperrt (internal clock)“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
wiring.c
defined(TCCR0B) && defined(CS01) && defined(CS00) // this combination is for the standard 168/328/1280/2560 sbi(TCCR0B, CS01); sbi(TCCR0B, CS00); #elif defined(TCCR0A) && defined(CS01) && defined(CS00) // this combination is for the __AVR_ATmega645__ series sbi(TCCR0A, CS01); sbi(TCCR0A, CS00); #else #error
in „Sekunden,Minuten zählen mit der Funktion Millis()“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
harman_kardon_avr507_sm.pdf
2SB1647 Q654 BVT2SB1647-OKM T.R , POWER 2SB1647 Q655 BVT2SB1647-OKM T.R , POWER 2SB1647 Q657 BVT2SD2560-OKM T.R , POWER 2SD2560 Q658 BVT2SD2560-OKM T.R , POWER 2SD2560 Q659 BVT2SD2560-OKM T.R , POWER 2SD2560 Q660 BVT2SD2560-OKM T.R , POWER 2SD2560 Q661 BVT2SB1647-OKM T.R , POWER 2SB1647 Q670 BVT2SD2560-OKM T.R , POWER 2SD2560 Q803 BVT2SD2560-OKM T.R , POWER 2SD2560 AVR507 MAIN 14/16 Pos Part number 1st part name 2nd part name Q804 BVT2SB1647-OKM T.R , POWER 2SB1647 Q805 BVT2SD2560-OKM T.R , POWER 2SD2560 Q807 BVT2SB1647-
in „Harman Kardon geht nicht an (hängt im Standby fest)“ · Analoge Elektronik und Schaltungstechnik ·
-
Datei
Arduino_wdt.h
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ /* $Id$ */ /* avr/wdt.h - macros for AVR watchdog timer */ #ifndef _AVR_WDT_H_ #define _AVR_WDT_H_ #include <avr/io.h> #include <stdint.h> /** \file */ /** \defgroup avr_watchdog <avr/wdt.h>: Watchdog timer handling
in „aktuelle AVR µC - wdt.h - kein RAMPD / CTRL / Enable Bit“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Fehler.ino
#include <avr/io.h> using Register = volatile unsigned char *; #if defined(__AVR_ATmega328P__) constexpr Register portList[] = {&PORTD,&PORTD,&PORTD,&PORTD,&PORTD,&PORTD,&PORTD,&PORTD,&PORTB,&PORTB,&PORTB,&PORTB,
in „[AVR] Unerwarteter Compilerfehler mit constexpr“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
AVR-Studio_4.19_Release_Notes.pdf
supported devices and tools here. The following additional devices are supported by simulator2 in AVR Studio 4.19: * ATtiny24 / ATtiny24A * ATtiny44 / ATtiny44A * ATtiny84 / ATtiny84A * ATtiny26 * ATmega8 / ATmega8A * ATmega16 / ATmega16A * ATmega32 / ATmega32A * ATmega64 / ATmega64A * ATmega2560 *
in „Plugins für AVR-Studio 4 Was“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
filemon-winavr-20060125.log.txt
SUCCESS Offset: 78848 Length: 512 99 19:27:56 Avr-gcc:FFE5124B Read D:\WINAVR\BIN\AVR-GCC.EXE SUCCESS Offset: 105472 Length: 2560 100 19:27:56 Avr-gcc:FFE5124B Read D:\WINAVR\BIN\AVR-GCC.EXE SUCCESS Offset: 50176 Length: 4096 101 19:27:56 Avr-gcc:FFE5124B
in „avr-gcc: _spawnv: No such file or directory“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
usb-isp_installation_de.pdf
EEPROM, Fusebits, Lockbits schreiben und lesen, Chip erase, OSCCAL-Register lesen Protokoll - STK500v2 (AVR-Studio bis Version 4.18 anwendbar) Softwareunterstützung - AVR-Studio (COM1...COM9) maximal bis Version 4.18 - AVRDUDE - Bascom mit der Einstellung Options ->Programmer = STK500 C:\Programme\Atmel\AVR Tools\STK500\stk500.exe (STK500 native driver) und installiertem AVR-Studio 4.18 Schalterstellung für normale Programmierung in einer Anwenderschaltung = beide Schalter auf OFF falls Spannungsversorgung des Target nötig ist: - für einzelnen AVR-Controller nur ohne eigene
in „Atmega läuft nur mit Programmer“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
usb-isp_installation_de.pdf
EEPROM, Fusebits, Lockbits schreiben und lesen, Chip erase, OSCCAL-Register lesen Protokoll - STK500v2 (AVR-Studio bis Version 4.18 anwendbar) Softwareunterstützung - AVR-Studio (COM1...COM9) maximal bis Version 4.18 - AVRDUDE - Bascom mit der Einstellung Options ->Programmer = STK500 C:\Programme\Atmel\AVR Tools\STK500\stk500.exe (STK500 native driver) und installiertem AVR-Studio 4.18 Schalterstellung für normale Programmierung in einer Anwenderschaltung = beide Schalter auf OFF falls Spannungsversorgung des Target nötig ist: - für einzelnen AVR-Controller nur ohne eigene
in „Diamex USB ISP Programmer“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
AVR-Studio_4.19.txt
Welcome to AVR Studio 4.19 (09/2011) Prerequisites: Note that the AVR Studio 4.19 is a complete installation and contains all previous service Packs (SP). The following new parts have been added to AVR Studio since
in „AT90S2312 und Atmel Studio 6 ?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
adc.h
__) || \ defined(__AVR_ATmega1284__) || \ defined(__AVR_ATmega1284P__) || \ defined(__AVR_ATmega644__) || \ defined(__AVR_ATmega640__) || \ defined(__AVR_ATmega1280__) || \ defined(__AVR_ATmega2560__) typedef enum { aref
in „Library für alle AVRs erstellen“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
TempSensorKTY81-120.pdf
RPTC ADC Aref RPTCR 1 2) Insgesamt sollte durch den PTC nicht mehr als 1 mA fließen.U Aref,ist beim AVR 2,56 V. U R= => Rmin R1 PTC=2560Ohm I Bei -30 Grad Celsius besitzt der KTY81-100 einen minimalen Widerstand von 609 Ohm. R1=2560Ohm−609Ohm=1951Ohm R =2kOhm 1 3) Der Widerstand im Bezug zur Temperatur
in „Wieviel Strom kann ich aus Aref beziehen?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Code.txt
received printf("Conversation finished\r"); //Ausgabe ADC0=ADCH0*256+ADCL0; ADC1=ADCH1*256+ADCL1; U0=2560*ADC0*1000/1024000; U1=2560*ADC1*1000/1024000; printf("U0=%i\r",U0); printf("U1=%i\r",U1); } // TWI interrupt service routine interrupt [TWI] void twi_isr(void) { switch (TWSR & 0b11111000) //masks Status
in „Master/Slave TWI von mega32 auf mega8 kopieren“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
A300_DS_DIAMEX-AVR_REF1.pdf
DIAMEX-AVR USB ISP-Programmer für ATMEL AVR, STK500, ATmega, ATtiny, AT90 USB ISP-Programmer für Atmel Prozessoren zum Discountpreis - Made in Germany - Wenn mal wieder der ISP-Programmer abgeraucht ist, weil
in „Universeller RC5-Fernbedienungsempfänger“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
io.h
/iom128rfr2.h> #elif defined (__AVR_ATmega2564RFR2__) # include <avr/iom2564rfr2.h> #elif defined (__AVR_ATmega256RFR2__) # include <avr/iom256rfr2.h> #elif defined (__AVR_ATmega2560__) # include <avr/iom2560.h> #elif defined (__AVR_ATmega2561
in „direkt in ein Register des Tiny5 schreiben“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
avrdude.pdf
AVR109 Boot Loader avr910 Atmel Low Cost Serial Programmer avr911 Atmel AppNote AVR911 AVROSP avrftdi FT2232D based generic programmer avrisp Atmel AVR ISP avrisp2 Atmel AVR ISP mkII avrispmkII Atmel AVR
in „AVRDude als Tool in AVR Studio 4 einbinden“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
AVRStrudio4.11b401_Release_Notes.txt
independently of the STK500 oscillator on the Board tab. New simulator part support ATtiny45 ATmega2560 ATmega2561 AT90PWM2 AT90PWM3 A new simulator help is made and the contents are updated with generic and part specific known issues. New tools and features AVR Assembler 2 (AVRASM2) is now the default assembler in AVR Studio, but the old assembler is still provided and can be selected in AVR Studio (Assembler Options). Note that the old assembler is now UNSUPPORTED and will not be updated with support for new AVR
in „AVRStudio4 v4.11 Build 401 Beta freigegeben“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
mmc.h
/* * Doku, siehe http://www.mikrocontroller.net/articles/AVR_FAT32 * Neuste Version: http://www.mikrocontroller.net/svnbrowser/avr-fat32/ * Autor: Daniel R. */ #ifndef _MMC_H #define _MMC_H #define MMC_Write PORTB //Port an der die MMC/SD-Karte angeschlossen
in „MMC SD library FAT16 FAT32 read write“ · Projekte & Code ·
-
Datei
WProgram.h
WProgram_h #define WProgram_h #include <stdlib.h> #include <string.h> #include <math.h> #include <avr/interrupt.h> #include "wiring.h" #ifdef __cplusplus #include "WString.h" #include "HardwareSerial.h" uint16_t makeWord(uint16_t w); uint16_t makeWord(byte h, byte l); #define word(...) makeWord(__VA_ARGS
in „Arduino + GSM-GPRS-GPS-Shield“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
WProgram.h
WProgram_h #define WProgram_h #include <stdlib.h> #include <string.h> #include <math.h> #include <avr/interrupt.h> #include "wiring.h" #ifdef __cplusplus #include "WString.h" #include "HardwareSerial.h" uint16_t makeWord(uint16_t w); uint16_t makeWord(byte h, byte l); #define word(...) makeWord(__VA_ARGS
in „Arduino + GSM-GPRS-GPS-Shield“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
paul.h
//Thomas Eckmann Informationstechnik //G:\Softwareprojekte\AVR\test2560\paul.h //Created: 26.04.2014, 22:03:40 //Last Change: 26.04.2014, 22:05:54 #ifndef F_CPU #error F_CPU not defined. #endif #ifndef PAUL_H #define PAUL_H #include <avr/io.h> #define Init PORTB
in „Zwei bis drei Fehler im Programmcode“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Arduino.h
define LSBFIRST 0 #define MSBFIRST 1 #define CHANGE 1 #define FALLING 2 #define RISING 3 #if defined(__AVR_ATtiny24__) || defined(__AVR_ATtiny44__) || defined(__AVR_ATtiny84__) #define DEFAULT 0 #define EXTERNAL 1 #define INTERNAL1V1 2 #define INTERNAL INTERNAL1V1 #elif defined(__AVR_ATtiny25__) || defined
in „Sekunden,Minuten zählen mit der Funktion Millis()“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
sketch_jun10a.ino
#define __AVR_ATmega2560__ //#include <avr/io.h> #include <avr/iomxx0_1.h> #include <stdio.h> #include <stdlib.h> #include <stdint.h> //definiert den Datentyp uint8_t #include <avr/wdt.h> ////////////////////////
in „Arduino IO-File Problem“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
VersuchArduinoMega.txt
#define __AVR_ATmega2560__ //#include <avr/io.h> #include <avr/iomxx0_1.h> #include <stdio.h> #include <stdlib.h> #include <stdint.h> //definiert den Datentyp uint8_t #include <avr/wdt.h> ////////////////////////
in „Arduino IO-File Problem“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Bootloader.c
#include <avr/io.h> #include <avr/interrupt.h> #include <avr/pgmspace.h> #include <stdlib.h> #include <stdbool.h> #include <util/delay.h> #include <avr/boot.h> #include <avr/signature.h> #include <avr/eeprom.h> #
in „GCC Optimierung, unterschiedliche Codelänge“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
AvrRegister.h
#pragma once using reg8 = const uint8_t; using reg16 = const uint16_t; #if defined (__AVR_ATmega328P__) || (__AVR_ATmega2560__) constexpr struct Bitmaske { // SPCR reg8 SPI_SPIE = 0x80; reg8 SPI_SPE = 0x40; reg8 SPI_DORD = 0x20; reg8 SPI_MSTR = 0x10; reg8 SPI_CPOL = 0x08; reg8 SPI_CPHA =
in „Syntaxfrage Funktionsdefinition mit Optionen“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
i2c.pdf
\ defined(__AVR_ATmega1284P__) || \ defined (__AVR_ATmega324A__) || defined (__AVR_ATmega324P__) || defined (__AVR_ATmega324PA__) || \ defined (__AVR_ATmega644__) || defined (__AVR_ATmega644A__) || defined (__AVR_ATmega644P__) || defined (__AVR_ATmega644PA__) || \ defined (__AVR_ATmega1284P__) || \ defined (__AVR_ATmega2560__) #if PSC_I2C != 1 && PSC_I2C != 4 && PSC_I2C != 16 && PSC_I2C != 64 #error "Wrong prescaler for TWI !" #elif SET_TWBR
in „Programm läuft nur mit JTAG Fuse“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
avr.h
; \ if (avr_pc_size == 2) \ builtin_define ("__AVR_2_BYTE_PC__"); \ if (avr_pc_size == 3) \ builtin_define ("__AVR_3_BYTE_PC__"); \ if (avr_enhanced_p) \ builtin_define ("__AVR_ENHANCED__"); \ if (avr_mega_p) \
in „ATtiny24 - ISR wird nie gerufen __vectors> fehlt“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
usart.c
/* * usart.c * * Funktionen sind g�ltig f�r ATMega2560 * * Created: 30.11.2012 * Author: Axel Giernas */ //#include "usart.h" #include <stdint.h> #include <avr/io.h> #include <avr/interrupt.h> #include <stdlib.h> #include <stdio.h> /*Die UART-Schnittstellen
in „Atmega2560 USART Interrupt“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Temp_LCD.c
#include <stdlib.h> #include <stdio.h> #include <avr/io.h> #include <avr/pgmspace.h> #include <avr/delay.h> #include <lcd.h> #include <lcd.c> #include <ds18s20.c> #define ADC0 0xC0 #define ADC1 0xC1 #define ADC2 0xC2 #define ADC3 0xC3 #define ADC4 0xC4
in „DS18B20 + LCD + ATmega will nicht funktionieren“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
AVR4100.pdf
Ensure that XTAL/TOSC leads do not touch the socket. Space between MCU/crystal pins and socket 10 AVR4100 Atmel-8333E-AVR-03/2015 AVR4100 Figure 4-4. SMD crystal soldered directly to MCU by using pin extensions. Figure 4-5. 100-pin TQFP package (e.g ATmega6490, ATmega2560, ATxmega128A1) with narrow
in „Passende Kondensatoren für Uhrenquarz gesucht“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
uarth.txt
/* * Doku, siehe http://www.mikrocontroller.net/articles/AVR_FAT32 * Autor: Daniel R. */ #ifndef _UART_H #define _UART_H //#define F_CPU 10000000UL #define F_CPU 1000000UL #define BAUD 9600UL //#define UBRR_VAL ((F_CPU+BAUD*8)/(BAUD*16)-1) // clever runden #define UBRR_VAL ((F_CPU+BAUD*8UL)/(BAUD*16UL)-1UL) // clever runden #if defined (__AVR_ATmega2560__) #define UDR UDR0 #define UCSRA UCSR0A #define UDRE UDRE0 #define UCSRB UCSR0B #define RXC RXC0 #define UCSRC UCSR0C #define UCSZ0 UCSZ00 #define UCSZ1 UCSZ01 #define RXEN RXEN0 #define
in „Mein UART geht nicht sendet kommische Zeichen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
uart.h
/* * Doku, siehe http://www.mikrocontroller.net/articles/AVR_FAT32 * Autor: Daniel R. */ #ifndef _UART_H #define _UART_H //#define F_CPU 10000000UL #define F_CPU 1000000UL #define BAUD 9600UL //#define UBRR_VAL ((F_CPU+BAUD*8)/(BAUD*16)-1) // clever runden #define UBRR_VAL ((F_CPU+BAUD*4UL)/(BAUD*8UL)-1UL) // clever runden #if defined (__AVR_ATmega2560__) #define UDR UDR0 #define UCSRA UCSR0A #define UDRE UDRE0 #define UCSRB UCSR0B #define RXC RXC0 #define UCSRC UCSR0C #define UCSZ0 UCSZ00 #define UCSZ1 UCSZ01 #define RXEN RXEN0 #define
in „Mein UART kann keine zeichen empfangen.“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
PortBitList.h
händisch ändern // Der Index ist jeweils die Arduino Pinnummer // UNO, Nano, Pro Mini usw. #if defined(__AVR_ATmega328P__) | defined(__AVR_ATmega328__) | defined(__AVR_ATmega168P__) | defined(__AVR_ATmega168__) constexpr uint8_t portBit[] = {0,1,2,3,4,5,6,7,0,1,2,3,4,5,0,1,2,3,4,5}; constexpr uint8_t pinMaske
in „C++ Klassenbibliothek für AVR“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
mlib-gen-3.diff
(atmega2560) -AM_CONDITIONAL(HAS_atmega2560, test "x$HAS_atmega2560" = "xyes") - -CHECK_AVR_DEVICE(atmega2561) -AM_CONDITIONAL(HAS_atmega2561, test "x$HAS_atmega2561" = "xyes") - -CHECK_AVR_DEVICE(atmega2564rfr2
in „Fork: avr-libc version 3, für xtiny“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
HardwareSerial.h
pull in write(str) and write(buf, size) from Print }; extern HardwareSerial HWSerial; #if defined(__AVR_ATmega1280__) || defined(__AVR_ATmega2560__) extern HardwareSerial HWSerial1; extern HardwareSerial HWSerial2; extern HardwareSerial HWSerial3; #endif #endif
in „Arduino + GSM-GPRS-GPS-Shield“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
config.h
****************** */ /* MCU clock */ #define CPU_FREQ F_CPU /* * ATmega 328/328P */ #if defined(__AVR_ATmega328__) #include "config_328.h" /* * ATmega 324P/324PA/644/644P/644PA/1284/1284P */ #elif defined(__AVR_ATmega324P__) || defined(__AVR_ATmega644__) || defined(__AVR_ATmega1284__) #include "config_644.h" /* * ATmega 640/1280/2560 */ #elif defined(__AVR_ATmega640__) || defined(__AVR_ATmega1280__) || defined(__AVR_ATmega2560__) #include "config_1280.h" /* * missing or unsupported MCU */ #else #error <<< No or wrong MCU type selected
in „ComponentTester-1.42m problem“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ADC.c
#include <avr/io.h> #include <avr/interrupt.h> #include "types.h" #include "ADC.h" #include <avr\pgmspace.h> #define AD_MUXCHANNELMASK 0x07 /* Referenzspannung Selection */ #define AD_VOLTAGEREF 0xC0 AdcVal_t AdcVal
in „ATmega16: ADC-Multiplexing geht nicht“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
wiring_analog.c
; } int analogRead(uint8_t pin) { uint8_t low, high; #if defined(analogPinToChannel) #if defined(__AVR_ATmega32U4__) if (pin >= 18) pin -= 18; // allow for channel or pin numbers #endif pin = analogPinToChannel(pin); #elif defined(__AVR_ATmega1280__) || defined(__AVR_ATmega2560__) if (pin >= 54) pin -= 54; // allow for channel or pin numbers #elif defined(__AVR_ATmega32U4__) if (pin >= 18) pin -= 18; // allow for channel or pin numbers #elif defined(__AVR_ATmega1284__) || defined(__AVR_ATmega1284P__) || defined(__AVR_ATmega644__) || defined(__AVR_ATmega644A
in „Arduino IDE mit Atmega32 - AD Wandler sind nicht benutzbar“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Charlieplexing_5x.c
#include <avr/io.h> #include <avr/interrupt.h> #include <util/delay.h> volatile uint32_t lights = 0b11111111111111111111; volatile uint8_t phase_DDR[4]; volatile uint8_t phase = 0; volatile uint8_t port = 1; volatile
in „(1 << b) geht nur wenn b < 16?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
TwoDevices.ino
/* Devil-Elec Arduino IDE 1.8.12 avr-gcc 9.3.0 Arduino Mega2560 28.04.2020 License: GNU GPLv3 CombiePin Library hat User combie zur Verfügung gestellt */ #include <util/atomic.h> #include "AvrRegister.h" #include "DevilSpi.h" #include
in „Syntaxfrage Funktionsdefinition mit Optionen“ · Mikrocontroller und Digitale Elektronik ·