-
Datei
main.c
/* * main.c * * Created on: 12.10.2012 * Author: Johannes */ /* * für ATmega16 mit LFUSE 0xE3 und HFUSE 0xD9 * interner Oszillator mit 4 MHz */ #include <avr/io.h> #include <avr/iom16.h> #include <util/delay.h> #include <util/twi.h> #include <stdint.h> #include <pca9685.h>
in „I2C/TWI zwischen ATmega16 und PCA9685 funktioniert nicht“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
test.c
/* für AVR-gcc / WinAVR ATmega32 @ 14.318.000 Hz Bitte mit Compileroption "unsigned chars" übersetzen. ------------------------------------------------------- Portzuordnung: PA5: Display RS PA6: Display R/W PA7: Display E PC0..7
in „LCD will nicht funktionieren“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
test_m88_pwm.asm
; ATmega88 .include "m88adef.inc" .def temp =r16 .def pwm =r17 rjmp RESET ; Reset Handler reti ;rjmp EXT_INT0 ; IRQ0 Handler reti ;rjmp EXT_INT1 ; IRQ1 Handler reti ;rjmp TIM2_COMP ; Timer2 Compare Handler
in „Mega88 Timer1 & 0“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
SoftwareSerial.h
Stoffregen (http://www.pjrc.com) -- 20MHz processor support by Garrett Mace (http://www.macetech.com) -- ATmega1280/2560 support by Brett Hagman (http://www.roguerobotics.com/) This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as
in „string an Funktion übergeben - Problem Speicherverbrauch RAM“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
untitled...pdf
MICROKONTROLLER VCC 2 R6 R7 G 51 PA0 RESET 20 1 RESET 50 PA1 VCC 21 49 PA2 VCC 52 U1 GND 1 2 48 PA3 AVCC 64 47 PA4 AREF 62 T E 46 PA5 AGND 63 h p U S 45 PA6 2 2 C 2 O E D 44 PA7 XTAL2 23 Q 3 p 3.8V GND 3 N C 2 N G 10 PB0(SS) XTAL1 24 H 11 PB1(SCK) 1 2 3 8 4 5 6 7 I S 12 PB2(MOSI) PG0 33 G G G G G G G G 13
-
Datei
images.cpp
ignored while verifying the fuses after writing them. All (and // only) bits that are unused for this atmega chip should be zero // here. {0x00, 0x00, 0x00, 0x00}, // {lock, low, high, extended} // size of chip flash in bytes 8192, // size in bytes of flash page (paragraph 20.4 and table 20-8 in datasheet) 64, // The actual image to flash. This can be copy-pasted as-is from a // .hex file. If you do, replace all lines below starting with a // colon, but make sure to keep the start and end markers {R"( and
in „Identischer Befehl liefert in for-Schleife falschen Wert“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
Timer_1_Fast_Mode_erklaert.pdf
Frequenz bestimmende Register ist OCR1A und das Duty Cycle Register ist OCR1B. Der Timer 1 beim ATmega328P hat nur zwei OCR1x Register. A und B. Einen verwenden wir als TOP, nämlich OCR1A, damit bleibt nur OCR1B übrig für den Hardware Timerausgangspin oder ISR. Die LED Frequenz ist auf 100Hz festgelegt
in „Timer Arduino Einsatzgebiete“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
MD_NMRA_DCC.h
combi) and direct mode. You can also read cv's! EXAMPLE HERE FOR: 2F outputs 2Switches Brake module ATMEGA168 */ //FIRST: /* 1. Change the 8 defines if not ok 2. Check dcc_init and change if not ok 3. cv_specific_decoder_values_t make your implementation 4. _decoder make additional bit fields (in front
in „FULL NMRA DCC Library, Encoder, Generator, Bremsmodul“ · Projekte & Code ·
-
Datei
fat.c
DOS_WRITE U8 FATStatus=0; // only for FAT write buffering #endif #endif U8 secPerCluster=0; #ifdef USE_64k_CLUSTERS U32 BytesPerCluster=0; //bytes per cluster #else U16 BytesPerCluster=0; //bytes per cluster #endif //U32 RootDirSectors=0; // to big ! //U16 RootDirSectors=0; // maybe U8 is enough. U8 RootDirSectors
in „ATmega32 + SD-Karte (Klabunde-Lib)“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
fat.c
USE_FATBUFFER U8 fatbuf[BYTE_PER_SEC]; //buffer for FAT sectors #endif U8 secPerCluster=0; #ifdef USE_64k_CLUSTERS U32 BytesPerCluster=0; //bytes per cluster #else U16 BytesPerCluster=0; //bytes per cluster #endif //U32 RootDirSectors=0; // to big ! //U16 RootDirSectors=0; // maybe U8 is enough. U8 RootDirSectors
in „AVR Studio: Großes Projekt aus mehreren kleinen erstellen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
fat.c
USE_FATBUFFER U8 fatbuf[BYTE_PER_SEC]; //buffer for FAT sectors #endif U8 secPerCluster=0; #ifdef USE_64k_CLUSTERS U32 BytesPerCluster=0; //bytes per cluster #else U16 BytesPerCluster=0; //bytes per cluster #endif //U32 RootDirSectors=0; // to big ! //U16 RootDirSectors=0; // maybe U8 is enough. U8 RootDirSectors
in „AVR Studio: Großes Projekt aus mehreren kleinen erstellen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
HSVtoRGB_Controller.asm
------------------------------------------- ;HSB -> RGB Wandler, in AVR-Assembler, für ATiny und ATmega ;Kurzfeatures: (Details und ausführliche Erläuterungen im Quelltext) ;------------------------------------------------------------------- ;*Codegrösse nur ca.300 Words auf Atiny, ca.280 auf ATmega
in „[ASM] DMX512 oder SPI zu RGB Led Controller use HSV Farbraum“ · Projekte & Code ·
-
Datei
foo.dwarf-3.txt
3.40282347e+38L" .LASF857: .string "SCNdPTR SCNd16" .LASF1343: .string "TWAM4 5" .LASF327: .string "__AVR_ATmega168__ 1" .LASF489: .string "INT64_C(value) __CONCAT(value, LL)" .LASF1167: .string "PRTIM2 6" .LASF103: .string "__INT64_C(c) c ## LL" .LASF1384: .string "INT1_vect_num 2" .LASF543: .string "ULFRACT_MAX
in „Simple C Frage zum Typ enum“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
source-code.txt
//////////////////////////// //Diplomarbeit Hexapod: //for Win32.Devbug //Microcontroller: Atmel ATMEGA 8-16PU //Programmierer: Ralph Ankele //Programmiersprache: C //Title: Ultraschallsensoren.c //Datum 08.03.2009 //Version 1.0 ////////////////////////////////////////////////////////////////////////
in „timer1compare interrupt wird ausgelöst obwohl der timer gestoppt ist“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
source-code.txt
//////////////////////////// //Diplomarbeit Hexapod: //for Win32.Devbug //Microcontroller: Atmel ATMEGA 8-16PU //Programmierer: Ralph Ankele //Programmiersprache: C //Title: Ultraschallsensoren.c //Datum 08.03.2009 //Version 1.0 ////////////////////////////////////////////////////////////////////////
in „externern interrupt löst von selbst aus“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Temp.asm
* ; mit diesem Programm kann man ein Signal aufzeichnen und ; über RS232 an den PC senden ; Beim atmega8 wird das Signal an ICP1 (PIN 14) angelegt ; Die gemessenen Pulsbreiten werden im SRAM gespeichert und ; auf Knopfdruck an den PC gesendet ; Taster an PB5, LED an PD2 zur Statusanzeige, LED an PD3
in „wer hilft mir, den fehler zu finden? atmega8“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Propelleruhr_ok2_fertig23.txt
Diode.SYM3001 15 D4 D1 Diode.SYM3001 16 IC1 78L05 Standard.SYM3001 17 IC2 TSOP1736 Conrad.SYM3001 18 IC3 ATMEGA16-16AC Conrad.SYM3001 19 JP1 PINHD-1X3 Pinhead.SYM3001 20 K1 K1X6 Standard.SYM3001 21 LED1 LA E67B led.SYM3001 22 LED2 LA E67B led.SYM3001 23 LED3 LA E67B led.SYM3001 24 LED4 LA E67B led.SYM3001 25
-
Datei
RIBU_M8_LCD_MCP9801.bas
**************************************** 30.06.2005 *********** '* A V R - B E I S P I E L E für ATMega8-Testboard * '* Copyright 1988-2005 RIBU Elektronik Versand * '* * '* Dieses Beispiel liest den Wert vom Temperatursensor MCP9801 aus und zeigt * '* den Werte auf dem LCD-Display an. * '***********
in „Nicht nachvollziehbares Verhalten beim Programmieren“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Phasenabschnitt_10.c
abgewarten und der Ausgang auf HIGH gesetzt - Reti, warte auf nächste fallende Flanke... Prozessor: ATMEGA8 Takt: 3,2768MHz Tasten: PB0 -> UP * PB1 -> DOWN !!!!!!!!!!!Beschreibung nicht aktuell!!!!!!!!!!! Interner Quarz, 8MHz, Timer 1 mit Vorgabe 4000 */ #include <avr/io.h> #include <avr/interrupt.h> #define
in „Phasenabschnittsdimmer“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Error.txt
jan@JANS-LAPTOP:~/Roboter/AVR/RN_Control_1.4$ make avr-gcc -mmcu=atmega32 -Wall -gdwarf-2 -std=gnu99 -DF_CPU=1000000UL -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -MD -MP -MT RNCtrl.o -MF dep2/RNCtrl.o.d -c RNCtrl.c RNCtrl.c: In Funktion »setportaon
in „Mikrocontrollerprogrammierung mit Ubuntu (AVRISPmkII/ATMega32)“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
m8_hef4094.c
-------------- Versuche zur seriellen Datenuebertragung mittels Schieberegister Hardware : - MCU ATmega8 - Schieberegister HEF4094 Compiler : AVR-GCC 4.7.2 IDE : GEANY PINS HEF4094 16 9 ------------------------------------ | Vdd EO O4 O5 O6 O7 /OS OS | | STR DAT CLK O0 O1 O2 O3 GND| -----------------
in „Blinkende Spardose“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
fibonacci.c
calculating Fibonacci numbers // by 'jurs' for Mikrocontroller.net forum // tested with Arduino UNO (Atmega328, 2KB RAM) and Arduino v1.0.5 // internal data type (byte array) to represent "very big" numbers // use a size of 855 or less for Arduino UNO with 2KB RAM // each byte of the array represents two
in „Daten>32Bit auf AVR“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
* 0 0 0 No clock source / timer stopped * 0 1 No prescaling * 0 1 0 Prescaler 8 * 0 1 1 Prescaler 64 mehr dazu im Datasheet auf Seite 173 */ TCCR0B |= (0 << CS02) | (0 << CS01) | (1 << CS00); /************************************************************************/ /* Ab hier Timer/Counter 2 */ /**
in „ATMEGA328 Led-Fader Projekt instabil“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
AVR_Addressing_Indirect.pdf
.....................................................................4 Operand Locations and the ATmega328P Memory Model ..................................................................................................................................................................5 The X-register,
in „Little Endian“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
wecker.c
: Fritz Ganter <ganter@ganter.at> Date: March 2004 Software: AVR-GCC 3.3.1 Hardware: Tested with ATmega8 at 8 Mhz Description: Universal Wecker zum Kochen usw. $Log: wecker.c,v $ Revision 1.11 2004/03/21 13:25:59 ganter playing on delay Revision 1.10 2004/03/21 13:09:20 ganter removed uhrzent Revision
in „Interrupts und 16bit Variablen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
SinCosGenerator.asm
************************************************ ;* Sin/Cos Generator with CORDIC Algorithm * ;* ATmega48, 20 MHz xtal, PWM-output OCR1a/b, * ;* Christoph Kessler 2009 db1uq_at_t-online_dot_de * ;*************************************************************************** .nolist .include "m48def.inc"
in „Cordic-Algorithmus in AVR-Assembler“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
test.c
Driver for SII L4042 LC-Display based on SAMSUNG KS0066 LCD Controller # // # Designed for ATMEL ATMega16 and compatible µ-controllers # // # # // # T.H., May 2007, Berlin, Germany # // # http://www.sound-inside.de, testicals@gmx.de # // # # // ########################################################
in „KS0066U in C ansteuern“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
dcf77clk-lcd.asm
;Low-power LCD clock with DCF77 reception ;ATMega8515 @ 32768 Hz (external crystal) ; ;PORTS: ; PA0-7 = LCD segments { g1, f1, a1, b1, g2, f2, a2, b2 } ; PC0-7 = LCD segments { e1, d1, c1, dp1, d2, d2, c2, dp2 } ; PC0-7 = LCD segments { a4, f4, g4
in „Anfängerproblem“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Konstanz_AVR.c
Reusing the Konstanz 41902 Hardware originally equipped with a AT89S8252 * by replacing it with a ATMega 8515 * The Konstanz Box comes with a 20*2 LCD LCM2002 and 5 Buttons connected to Port 2.0 - 2.4 * furthermore theres a MAX232 connected to the serial port and its been exposed to a 9pin SubD female
in „Rechteckgenerator mit Atmega8 nicht so einfach (Anfänger)“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
dds-seq.asm
====================================================== ; dds-seq.asm - Schrittsequenzer fuer den ATmega8-Funktionsgenerator von 2003 ; ; Eigenstaendige Quelle. Der Generator von damals (Wellenformtaste, vier ; Stimmtasten, Frequenzanzeige) ist hier nicht mehr enthalten - das Geraet ist ; ein reiner Achtschritt-Sequenzer
in „Claude Code trifft AVR-Assembler: vom Chip in den Browser mit einem Prompt“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
Arbeit.pdf
Aufspielen der ethersex- Software auf den Chip. Das geht nicht über das Netzwerk, da der benutzte Chip ATMega32 zu wenig Speicher hat, um mit der bereits installierten Firmensoftware das ethersex-System zu speichern. Um dieses zu installieren, muss der Speicher des Chips überschrieben werden. Das funktioniert
-
PDF
Arduino_Project_Handbook_25_Practical_Projects_to_Get_You_Started.pdf
3). Pin 1 is below this indentation, and the pins are numbered 1–28 counterclockwise from there. ATMEGA Arduino ATMEGA Arduino Table 25-1: Pin Function Pin Function The ATmega chip’s pins and their corresponding 1 Reset 15 Pin 9 Arduino pins 2 Pin 0 16 Pin 10 3 Pin 1 17 Pin 11 4 Pin 2 18 Pin 12 5 Pin
in „LED Driver mit µC“ · Analoge Elektronik und Schaltungstechnik ·
-
Datei
FFT.asm
pop AL reti ;----------------------------------------------------------; ; Initialize peripherals (ATmega8 @ 18,432MHz) reset: clr _0 ;Zero reg. ldiw Z, RAMTOP ;Clear all variables ldiw X, RAMEND-RAMTOP+1 ; st Z+, _0 ; sbiw XL, 1 ; brne PC-2 ;/ sbiw ZL, 1 ;SP ú » outw SP, Z ;/ outi PORTB, 0b00101000 ;Port
in „FFT auf dem AVR“ · Projekte & Code ·
-
Datei
wr88_rzm_2.c
Raumzeigermodulation Copyright by Axel Jeromin http://www.jeromin.privat.t-online.de Atmel Prozessor ATMEGA 88 bei 20 MHz Pulsfrequenz 2500 Hz Ausgangsfrequenz 2 bis 86 Hz Eine Periode einer kompletten Sinusschwingung wird in 6 Sektoren von jeweils 60 Grad (Omega) Länge geteilt. Im Programm läuft ein Zähler
in „3 x PWM ATmega8“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
FFT232b.asm
pop AL reti ;----------------------------------------------------------; ; Initialize peripherals (ATmega8 @ 18,432MHz) reset: clr _0 ;Zero reg. ldiw Z, RAMTOP ;Clear all variables ldiw X, RAMEND-RAMTOP+1 ; st Z+, _0 ; sbiw XL, 1 ; brne PC-2 ;/ sbiw ZL, 1 ;SP ú » outw SP, Z ;/ outi PORTB, 0b00101000 ;Port
in „Schnelle FFT in Assembler“ · Digitale Signalverarbeitung / DSP / Machine Learning ·
-
Datei
tn13Adef.asm
FLASHEND: equ 0x01ff ; Note: Word address IOEND: equ 0x003f SRAM_START: equ 0x0060 SRAM_SIZE: equ 64 RAMEND: equ 0x009f XRAMEND: equ 0x0000 E2END: equ 0x003f EEPROMEND: equ 0x003f EEADRBITS: equ 6 ; #pragma AVRPART MEMORY PROG_FLASH 1024 ; #pragma AVRPART MEMORY EEPROM 64 ; #pragma AVRPART MEMORY INT_SRAM SIZE 64 ; #pragma AVRPART MEMORY INT_SRAM START_ADDR 0x60 ; ***** BOOTLOADER DECLARATIONS ****************************************** PAGESIZE: equ 16 ; ***** INTERRUPT VECTORS *******************************
in „Gerät bauen, welches Rauschen produziert (kein Scherz)“ · Analoge Elektronik und Schaltungstechnik ·
-
Datei
main.c
74,74,73,73,73,73,72,72,72,71,71,71,71,71,71,71, 70,70,70,69,69,69,69,69,70,70,70,69,68,68,67,67, 67,67,66,66,66,65,65,65,65,65,65,65,65,64,64,63, 63,64,64,65,65,65,65,65,65,65,64,64,64,64,64,64, 64,64,65,65,65,66,67,68,69,71,72,73 }; const uint8_t SINE_WAVE_FROM_ZERO[] PROGMEM = { //sine 256 values, start from 0 0x00,0x00,0x00,0x00,0x00
in „PWM-Ausgabe stimmt nicht bei AVR DDS“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ulstr2.asm
AVR: 4 MHz # ;# # ;# CS-SOFT # ;########################################### ;.include "m8def.inc" ;Atmega8 .include "tn2313def.inc" ; Viele definierte Register werden nicht gebraucht .DEF rd1l = R0 ; LSB Divident Multiplikator 1 (8 Bit) .DEF rd1h = R1 ; LSB Divident Multiplikator 1 (8 Bit) .DEF rd2l =
in „Ultraschall Überlegungen für Software“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Encoder_PeDa_Original.ino
/ /* one, two and four step encoders supported */ /* */ /* Author: Peter Dannegger */ /* target: ATmega16 */ /************************************************************************/ #include <avr/io.h> #include <avr/interrupt.h> //#define XTAL 8e6 // 8MHz #define F_TIMER1 100 // Timer 1 frequency /
in „Peter Dannegger´s ( PeDa ) Entprellroutine in ein Arduino Sketch einbinden“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Encoder_PeDa_Original.ino
/ /* one, two and four step encoders supported */ /* */ /* Author: Peter Dannegger */ /* target: ATmega16 */ /************************************************************************/ #include <avr/io.h> #include <avr/interrupt.h> //#define XTAL 8e6 // 8MHz #define F_TIMER1 100 // Timer 1 frequency /
in „Peter Dannegger´s ( PeDa ) Entprellroutine in ein Arduino Sketch einbinden“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
Z180.pdf
37 A0 A0 2 19 A8 68 A14 28 WE DQ5 20 PA0 1D 1Q PHI A13 DQ6 B D0 19 PC0 PA1 36 A1 A1 3 2D 2Q 18 A9 64 E A12 27 12 A0 DQ7 21 B D1 20 PC1 PA2 35 A2 A2 4 3D 3Q 17 A10 A11 26 11 A1 D2 21 34 A3 A3 5 16 A11 3 25 10 D3 22 PC2 PA3 33 A4 A4 6 4D 4Q 15 A12 4 XTAL A10 24 9 A2 D4 23 PC3 PA4 32 A5 A5 7 5D 5Q 14 A13
in „CP/M auf ATmega88“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
/********************************************* Project : Heizung ATmega32 Version : 2.0 Date : 09.12.2003 // AT90C8535 Date : 08.01.2006 // ATMEGA32 Date : 29.11.2006 // Fehler im Taktgenerator (Uhr ging falsch) Author : (c) Holger Buss http://www.mikrocontroller.com --> Bauanleitungen Chip type : ATmega32 Program type : Application Clock frequency : 8,000000 MHz Memory model : Small External SRAM size : 0 Data Stack size : 512 *********************************************/ #define EXTRA_MENU //#define
in „AVR-CTRL - Einstellung speichern“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
Akkulader_Beschreibung.pdf
Schleifenanfang als Rcksprungadresse auf den Stapel push rmp ldi rmp,HIGH(loop) push rmp ; Prüfe die 64 Hz Tick Flagge von Timer 0 sbrc rFlg,b64Hz ; ein Tick? Akkulader, Beschreibung 23 info@avr-asm-tutorial.net rjmp Tick64Hz ; lese Tasten und werte sie aus ; Prüfe ob 32 Messzyklen komplett sind und 4
in „2A 1s Li-ion Lader + Protection“ · Analoge Elektronik und Schaltungstechnik ·
-
PDF
ZigBit_OEM_Module_Product_Datasheet.pdf
regions where the directive is enforced July 1, 2006. VCC (1.8 – 3.6V) The ZigBit contains Atmel’s ATmega1281V Microcontroller[1] and AT86RF230 RF Transceiver [2]. The module features 128kb flash memory and 8 kb RAM. The ZigBit already contains a complete RF/MCU-related IRQ UART ATmega1281 design with
-
Datei
WCU_Kilobot_Schematic.txt
C13.1 2 0 11300 6100 11300 6000 @@@D17 T6.C 3 0 11300 6100 13300 6100 13300 5600 *SIGNAL* $$$3571 64 0 M1.1 T5.E 2 0 13300 7400 13300 7500 *SIGNAL* $$$3620 64 0 R24.2 T6.B 2 0 12800 5300 12900 5300 *SIGNAL* PD3 0 0 R24.1 @@@O31 2 0 12200 5300 12200 5300 *SIGNAL* $$$3648 64 0 M2.1 T6.E 2 0 13300 4900
-
PDF
DOGM162_DOGM163_4Bit_SPI_3V3_5V0_Initialize.pdf
DOGM162 / DOGM163 ; : Wirings: 4Bit / SPI ; : Supply Voltages: 3.3V / 5.0V ; : SPI with 256 kHz ; : 64 kHz at PB1 (Pin 15) ; : Display of 64 different Contrast Settings ; : For temporary Stop: PC0 (Pin 23) = Low ;-----------------------------------------------------------------------------------------
-
Datei
main.c
*/ /* Variable */ /******************************************************************/ char answer[64]; char crc1,eot; // Key Parameter nach Tabelle 23 uint8_t KP_Baud_Rate = 0xFA; //19200 uint16_t KP_Flash_Page_size; uint8_t KP_EEPROM_page_size; uint8_t KP_Hardware_Version = 0xC0; // Defines the current
in „AVR JTAG Programmierung“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
include <avr/io.h> #include <avr/interrupt.h> #include <avr/eeprom.h> #include <util/delay.h> // CPU: ATmega8 //------------------------------------------------------------------------ #define XTAL 8e6 // 8MHz #define LEDS_PORT PORTB // 7-Segment PORT #define ENCODER_PORT PORTC // Encoder PORT #define SCHALTER_PORT
in „Drehencoder reagiert ohne Abfrage“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Optrex_LCD_F-51320.asm
************************************************ ;* Ansteuerung des OPTREX LCDs F-51320 * ;* 128 x 64 * ;************************************************************ ; ; ATMega16 ; +--+-+--+ ; (XCK/TO)PB0 | |_| | PA0(ADC0) ; (T1)PB1 | | PA1(ADC1) ; (INT2/AIN0)PB2 | | PA2(ADC2) ; (OC0/AIN1)PB3 | | PA3
in „Pollin Grafik LCD-Modul OPTREX F-51320AE“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
can.h
defgroup can_interface Universelles CAN Interface * \brief allgemeines CAN Interface für AT90CAN32/64/128, MCP2515 und SJA1000 * * \author Fabian Greif <fabian.greif@rwth-aachen.de> * \author Roboterclub Aachen e.V. (http://www.roboterclub.rwth-aachen.de) * * can_sleep() and can_wakeup() functions by
in „CAN Kommuikation ATmega328P“ · Mikrocontroller und Digitale Elektronik ·