-
Datei
profibus.h
define UART_BAUD_187500 7 // Tested and working #define UART_BAUD_93750 15 #define UART_BAUD_45450 32 // Baud error: + 0.01% #define UART_BAUD_19200 77 // + 0.16% Keep data sizes moderate to avoid errors! #define UART_BAUD_9600 32 // + 0.16% Same as above. #define UART_BAUD UART_BAUD_187500 #define LED_ERROR_AN
-
Datei
TempDisplay.c
PD6) #define RS (1<<PD0) #define CSB (1<<PD1) #define DQ (1<<PD5) #define F_CPU 16000000UL #include <avr/io.h> #include <util/delay.h> #include <avr/interrupt.h> //Global variable temp int temp; /************************************************************************/ /* Bit-field /* Consists out of struct
in „Temperaturauswertung 1-WIRE AVR“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
AVRprogDeviceCodes.txt
codes listed only. The rest of the 256 codes were not recognized. These values may be used in appnote AVR910(as a HW programmer interface) or in bootloaders in individual AVRs. AVRprog(part of AVRStudio) should be used as windows application interface for both uses. DeviceCode,RecognizedAs -------------
in „Bootloader Programmierung“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
RFM_01_test_868_neu.bas
################################################################## ' # RF01-Test Bascom ' # Pollin AVR-Evo Board mit RFM01 auf Add-on board ' ######################################################################## $regfile = "m8def.dat" $hwstack = 32 $swstack = 10 $framesize = 40 $crystal = 12000000
-
Datei
15_4_MC_T13_PCF_LCD_2004.asm
------------- ;* [.cseg] 0x000000 0x00017c 380 0 380 1024 37.1% ;* [.dseg] 0x000060 0x000060 0 0 0 64 0.0% ;* [.eseg] 0x000000 0x000000 0 0 0 64 0.0% ;* LCD write whole display within 87 msec for LCD C0802-04 2 line,8 characters ;* used display C0802-4 2 lines 8 column ;* **** original source code I2c
in „AVR ATtiny13 I2C PCF8574 LCD Display Ansteuerung“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Windsensor.c
/* * Windsensor.c * * Created: 01.02.2013 07:11:28 * Author: Moe */ #include <avr/io.h> #include <avr/interrupt.h> #include "lcd-routines.h" //Globale variable volatile unsigned int windtime = 0; // Prototypen double measure_windspeed (); int main (void) { // I/O konfigurieren DDRB
in „Frage zu einem Windsensor“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
AVRGCC1.c
#include <avr/io.h> #include <avr/interrupt.h> #include <stdio.h> #include "em4095.h" /*DEFINES UART*/ //#define F_CPU 8000000 // 8,000 Mhz #define UART_BAUD_RATE 9600 #define UART_BAUD_CALC(UART_BAUD_RATE,F_CPU)
in „Pollin RFID Entwicklungsboard“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Nokia3310.h
Date : 11.05.2015 * Font size in bytes : 3526 * Font width : 7 * Font height : -8 * Font first char : 32 * Font last char : 128 * Font used chars : 96 * * The font data are defined as * * struct _FONT_ { * uint16_t font_Size_in_Bytes_over_all_included_Size_it_self; * uint8_t font_Width_in_Pixel_for_fixed_drawing
-
Datei
ATmega8.xml
TEXT36> <MASK>0x3F</MASK> <VALUE>0x19</VALUE> <TEXT>Ext. Low-Freq. Crystal; Start-up time: 1K CK + 64 ms; [CKSEL=1001 SUT=01]</TEXT> </TEXT36> <TEXT37> <MASK>0x3F</MASK> <VALUE>0x29</VALUE> <TEXT>Ext. Low-Freq. Crystal; Start-up time: 32K CK + 64 ms; [CKSEL=1001 SUT=10]</TEXT> </TEXT37> <TEXT38> <MASK
in „AVR Code Wizard“ · Projekte & Code ·
-
Datei
mosi_miso_loopback.txt
100 CmdexeDelay : 25 SyncLoops : 32 ByteDelay : 0 PollIndex : 3 PollValue : 0x53 Memory Detail : Block Poll Page Polled Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack ----------- ---- ----- ----- ---- ------
in „AVR Mega32 auf Pollin Board lässt sich nicht schreiben“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
FloatApfel.c
return erg; } } char* floattoa (float x, char* str) { int16_t ie = 0; bool lessOne = false; float y; int32_t z; int32_t zz; char mant [11]; size_t len; uint8_t n; int16_t m; char* res = str; if (x == 0.0) { *str++ = '0'; } else { //--- Ggf. negieren, x muss im folgenden positiv sein --- if (x < 0) { *str+
-
PDF
AVR_Stamp_sheet_V1_1.pdf
A C3 24 XTAL1 (AD3)PA3 48 A3 1 1 +3V3 22p C4 49 A2 ARESET 2 2 +5V 62 (AD2)PA2 50 A1 3 3 A18 / PE4 64 AREF (AD1)PA1 51 A0 D0 4 4 A17 PE3 100n AVCC (AD0)PA0 D1 A16 PE2 63 AGND 5 5 (OC0A/OC1C/PCINT7)PB7 17 PB7 D2 6 6 A15 VCC 16 PB6 D3 7 7 A14 21 (OC1B/PCINT6)PB6 15 PB5 D4 8 8 A13 52 VCC (OC1A/PCINT5)PB5
in „Z180-Stamp Modul“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
fonts.c
0x00,0x00,0xF4,0x00,0x00, // 0x21 0x00,0xC0,0x00,0xC0,0x00, // 0x22 0x2C,0x38,0x6C,0x38,0x68, // 0x23 0x00,0x64,0xFE,0x4C,0x00, // 0x24 0x4C,0xB0,0x78,0x34,0xC8, // 0x25 0x18,0x64,0xB4,0x48,0x14, // 0x26 0x00,0x00,0xC0,0x00,0x00, // 0x27 0x00,0x38,0x44,0x82,0x82, // 0x28 0x82,0x82,0x44,0x38,0x00, // 0x29 0x00,0x50,0xA0,0x50,0x00
in „Problem mit struct“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
RFM_01_test_868MHz.bas
############################################################# ' # RF01-Test Bascom ' # Pollin Funk-AVR Board - RFM01 ' ######################################################################## $regfile = "m8def.dat" $hwstack = 32 $swstack = 10 $framesize = 40 $crystal = 12000000 $baud = 19200 Baud = 19200
-
Datei
testrx.bas
############################################################# ' # RF01-Test Bascom ' # Pollin Funk-AVR Board - RFM01 ' ######################################################################## $regfile = "m8def.dat" $hwstack = 32 $swstack = 10 $framesize = 40 $crystal = 12000000 $baud = 19200 Baud = 19200
-
Datei
kofi.c
entprellte_tasten'. Compiler: icca90 Alle Angaben ohne Gewaehr. Michael Nowak, www.mino-elektronik.de */ #include <avr/io.h> #include <avr/io8515.h> #include <avr/ina90.h> #define MAX_BITS 8 // hier nur ein Port-Byte #define TASTENWERT unsigned char // auch short oder long #define T0_NACHLADEWERT -39 // fuer ca. 100
in „taster auf 2 arten abfragen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Pulsweitenmessung.txt
Pulsweite von der Fehrnsteuerung und erzeugt ein PWM Signal für den Motortreiber Chip type : ATmega32 Clock frequency : 8,000000 MHz Memory model : Small Internal RAM size: 512 External RAM size: 0 Data Stack size : 128 ***************************************/ #include <avr/io.h> #include <avr/interrupt.h
in „Pulsweitenmessung“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
irsnd.c
# endif // IRSND_OCx #elif defined (__AVR_ATmega16__) || defined (__AVR_ATmega32__) // ATmega16|32 uses OC0 = PB3 or OC2 = PD7 # if IRSND_OCx == IRSND_OC2 // OC2 # define IRSND_PORT_LETTER D # define IRSND_BIT_NUMBER 7 # elif IRSND_OCx == IRSND_OC0
in „IR Fernbedienung mit IRSND“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
global.h
#include <avr/io.h> #define F_CPU 20000000u #include <avr/interrupt.h> #include <util/delay.h> #include <math.h> #include <stdlib.h> #include <stdarg.h> #include <stdint.h> #include "util/atomic.h" #define sbi(port
in „RTOS UART Semaphore“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
multitasking_timer.c
/* Multitasking Demo, dritter Versuch ATmega32 @ 3,6468 MHz LED + 1KOhm Vorwiderstand an PB0 und PB1 Taster nach GND an PA0 UART an RXD und TXD */ #define F_CPU 3686400 // Baudrate, das L am Ende ist wichtig, NICHT UL verwenden! #define BAUD 9600L #include "avr/io.h" #include "util/delay.h" #include "avr/interrupt.h" // Berechnungen // clever runden #define UBRR_VAL ((F_CPU+BAUD*8)/(BAUD*16)-1) // Reale Baudrate #define BAUD_REAL (F_CPU/(16*(UBRR_VAL+1)))
in „Timer mit 1 ms und ISR ?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
minidds.asm
,0x0e,0x10,0x12,0x14,0x16,0x18,0x1a,0x1c,0x1e .byte 0x20,0x22,0x24,0x26,0x28,0x2a,0x2c,0x2e,0x30,0x32,0x34,0x36,0x38,0x3a,0x3c,0x3e .byte 0x40,0x42,0x44,0x46,0x48,0x4a,0x4c,0x4e,0x50,0x52,0x54,0x56,0x58,0x5a,0x5c,0x5e .byte 0x60,0x62,0x64,0x66,0x68,0x6a,0x6c,0x6e,0x70,0x72,0x74,0x76,0x78,0x7a,0x7c,0x7e
in „assembler kompilieren“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
miniDDS.asm
0x0c,0x0e,0x10,0x12,0x14,0x16,0x18,0x1a,0x1c,0x1e .db 0x20,0x22,0x24,0x26,0x28,0x2a,0x2c,0x2e,0x30,0x32,0x34,0x36,0x38,0x3a,0x3c,0x3e .db 0x40,0x42,0x44,0x46,0x48,0x4a,0x4c,0x4e,0x50,0x52,0x54,0x56,0x58,0x5a,0x5c,0x5e .db 0x60,0x62,0x64,0x66,0x68,0x6a,0x6c,0x6e,0x70,0x72,0x74,0x76,0x78,0x7a,0x7c,0x7e .
in „Atmel Studio 7: Assembler“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Firmware_v1.2.c
=0) Temp = Temp + 8; if((PINC & (1<<1))==0) Temp = Temp + 16; if((PINC & (1<<0))==0) Temp = Temp + 32; if((PINB & (1<<5))==0) Temp = Temp + 64; if((PINB & (1<<4))==0) Temp = Temp + 128; if((PINB & (1<<3))==0) Temp = Temp + 256; //DIP-Switches einlesen *ENDE* if (Temp != 0) { DmxAddress= Temp; if (!(UCSRB
in „DMX steuerbaren RGB LED PAR oder Pinnspot selber bauen“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
MyPC_sch.pdf
23 XTALI ETH_SI 7 DI Ray 2 VS_CS 13 CS 15 3 -HOLD NArDO VS_DCS 28 DCS VCO -WP GND PC_MOSI 29 SCLK 32 R29 1.8V 3.3V FM25-S 4 PC_MISO 30 SI TEST . 10k V 8 0 SO 6 100k 3 . . R 1 VS_DREQ 8 IOVCC0 14 R4 3 3 GND V DREQ IOVCC1 19 IC7 ETH_SO . R5 26 IOVCC2 XMEGA128A1 3 100k VS_TX 27 TX 5 AVR_RST 90 /Reset_PDI
in „Bitte Schaltplan&Layout checken“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
thread.S
---------------------------------------------------+ | | | Simple threading implementation for the AVR Microcontroller | | | +------------------------------------------------------------------------------+ | | | Copyright (C) 2009 Harald Freudenberger (haraldfreude@arcor.de) | | | | This program is free
-
Datei
main.c
*******************************************/ #define F_CPU 8000000UL #include <stdlib.h> #include <avr/io.h> #include <util/delay.h> #include <avr/interrupt.h> #include "HD44780.c" #define XTAL 8e6 // 8MHz #define ENCODER_PIN PINC #define PHASE_A (1<<PC1) #define PHASE_B (1<<PC3) // #define LEDS_DDR
-
Datei
main.c
*******************************************/ #define F_CPU 8000000UL #include <stdlib.h> #include <avr/io.h> #include <util/delay.h> #include <avr/interrupt.h> #include "HD44780.c" #define XTAL 8e6 // 8MHz #define ENCODER_PIN PINC #define PHASE_A (1<<PC1) #define PHASE_B (1<<PC3) // #define LEDS_DDR
-
Datei
mylcd.c
#include <avr/io.h> #include <util/delay.h> #include "mylcd.h" // ################################################################################################## // # # // # Name: mylcd.c # // # Author: Andre
in „LCD falsch herum“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
HausAutoTest.pdf
Shield_1 R2 23 VBUS PC03 34 TWCK_SCL PA21 17 CS_EEProm 17 6 5 33 TWD_SDA PA20 18 PD12 18 GND PC02 AVR-JTAG-10 63 CAN1_TX PA19 19 PD11 19 GND 10 9 TDI PB01 PA16 20 CS_SDKarte 20 8 7 32 PB31 PB00 62 CAN1_RX nTRST NC p C z PA09 21 SCK0 21 nSRST 6 5 TMS 2 1 H PA23 22 PA23 PA08 22 MISO0 22 VREF 4 3 TDO Y
in „AT32UC3C2 Schaltplan“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
HausAutoTest.pdf
Shield_1 R2 23 VBUS PC03 34 TWCK_SCL PA21 17 CS_EEProm 17 6 5 33 TWD_SDA PA20 18 PD12 18 GND PC02 AVR-JTAG-10 63 CAN1_TX PA19 19 PD11 19 GND 10 9 TDI PB01 PA16 20 CS_SDKarte 20 8 7 32 PB31 PB00 62 CAN1_RX nTRST NC p C z PA09 21 SCK0 21 nSRST 6 5 TMS 2 1 H PA23 22 PA23 PA08 22 MISO0 22 VREF 4 3 TDO Y
in „AT32UC3C2 Schaltplan“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
/* * Author: Manuel Koch * Modbus Test Configuration * µC: Atmega 32 * Read & Write Holding registers */ #include "avr/io.h" #include "avr/signal.h" #include "avr/interrupt.h" #include "stdio.h" #include "stdint.h" #include "util/delay.h" #include <avr/pgmspace.h> //Defines #define F_CPU 14745600UL #define slaveadress 17 #define rxbuffersize 32 #define txbuffersize 32 //CRC16 table for crc calculation static uint8_t table_crc_hi[] = { 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x01, 0xC0, 0x80, 0x41, 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0,
in „AVR mit Modbus automatischer Reset“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
httpd.c
+ 8; break; case ('E'): PORT_tmp_C = PORT_tmp_C + 16; break; case ('F'): PORT_tmp_C = PORT_tmp_C + 32; break; case ('G'): PORT_tmp_C = PORT_tmp_C + 64; break; case ('H'): PORT_tmp_C = PORT_tmp_C + 128; break; #if USE_PORTD_SCHALT // RoBue: // Schaltanweisungen von PORTD2-7 auslesen // und in PORT_tmp_D
-
Datei
httpd.c
+ 8; break; case ('E'): PORT_tmp_C = PORT_tmp_C + 16; break; case ('F'): PORT_tmp_C = PORT_tmp_C + 32; break; case ('G'): PORT_tmp_C = PORT_tmp_C + 64; break; case ('H'): PORT_tmp_C = PORT_tmp_C + 128; break; #if USE_PORTD_SCHALT // RoBue: // Schaltanweisungen von PORTD2-7 auslesen // und in PORT_tmp_D
-
PDF
Dokumentation_MBHATM128-0206.pdf
Fehlfunktionen oder Kurzschlüssen führen. Ausstattung: Hardware-Eigenschaften und Ausstattung • ATmega128 AVR Mikrocontroller von Atmel • 16Mhz Quarz / Prozessortakt • 32,768Khz Quarz / RTC • 128Kbyte Flash Programmspeicher • 4 Kbytes EEPROM/ nichtflüchtiger Datenspeicher • 4 Kbytes SRAM • 2 x 8Bit Timer/Counter
in „atmega128 modul“ · Markt ·
-
Datei
DOGM162_Test.c
/* * DOGM-162 Test mit ATMega164PA * * Created: 08.11.2013 * Author: rriedel */ #include <avr/io.h> #include <avr/interrupt.h> #include <avr/sleep.h> volatile uint8_t timer0_counter = 0; volatile uint8_t display_data[2][16] = {"Display Test ", // 0x00 - 0x0f "---------> 000 "}; // 0x40 - 0x47
in „DOGM162 an ATMega164PA“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ADC_mit_LEDs.c
/* * ADC_mit_LEDs.c * * Created: 21.06.2013 21:19:31 * Author: Edgar Brucke */ #include <avr/io.h> #include <avr/interrupt.h> #define F_CPU 8000000 //ADC initialisieren void init_ADC(int Ref_source){ uint8_t Prescaler,dummy; //Taktgeschwindigkeit auslesen //Eingang für Referenzspannung auswählen
in „Probleme mit dem ADC beim ATmega48“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
H_Encoder_PeDA_ATmega2560__C_net.txt
: ATmega16 */ /************************************************************************/ #include <avr/io.h> #include <avr/interrupt.h> //#define XTAL 8e6 // 8MHz #define F_TIMER1 100 // Timer 1 frequency /Hz #define ENCODER_PIN PINC #define PHASE_A (1<<PC2) #define PHASE_B (1<<PC4) #define LEDS_DDR
in „Peter Dannegger´s ( PeDa ) Entprellroutine in ein Arduino Sketch einbinden“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ODM100.c
****************************************************************************** * Processor : ATmega32 @ 8 MHz * Compiler : IAR (V4.30D) & GCC (WinAVR Version 10-01-2010) * Dot Matrix : 128 RGB x 128 * Driver IC : SSD1351 (Solomon Systech) * Interface : 8-bit 8080 Parallel ****************************
in „Frage zum ODM100 OLED Bausatz von ELV“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
oled1.c
****************************************************************************** * Processor : ATmega32 @ 8 MHz * Compiler : IAR (V4.30D) & GCC (WinAVR Version 10-01-2010) * Dot Matrix : 128 RGB x 128 * Driver IC : SSD1351 (Solomon Systech) * Interface : 8-bit 8080 Parallel ****************************
in „AVR Oled Display odm 100-Wie ansteuern?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
oled.c
****************************************************************************** * Processor : ATmega32 @ 8 MHz * Compiler : IAR (V4.30D) & GCC (WinAVR Version 10-01-2010) * Dot Matrix : 128 RGB x 128 * Driver IC : SSD1351 (Solomon Systech) * Interface : 8-bit 8080 Parallel ****************************
in „ODM100 OLED bleibt schwarz“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ODM100.c
****************************************************************************** * Processor : ATmega32 @ 8 MHz * Compiler : IAR (V4.30D) & GCC (WinAVR Version 10-01-2010) * Dot Matrix : 128 RGB x 128 * Driver IC : SSD1351 (Solomon Systech) * Interface : 8-bit 8080 Parallel ****************************
in „SSD 1351 - OLED ansteuern“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
iomxx0_1.h
define CLKPS2 2 #define CLKPS1 1 #define CLKPS0 0 /* Reserved [0x62..0x63] */ #define PRR0 _SFR_MEM8(0x64) #define PRTWI 7 #define PRTIM2 6 #define PRTIM0 5 #define PRTIM1 3 #define PRSPI 2 #define PRUSART0 1 #define PRADC 0 #define __AVR_HAVE_PRR0 ((1<<PRADC)|(1<<PRUSART0)|(1<<PRSPI)|(1<<PRTIM1)|(1<<PRTIM0)|(1<<PRTIM2)|(1<<PRTWI)) #define __AVR_HAVE_PRR0_PRADC #define __AVR_HAVE_PRR0_PRUSART0 #define __AVR_HAVE_PRR0_PRSPI #define __AVR_HAVE_PRR0_PRTIM1 #define __AVR_HAVE_PRR0_PRTIM0 #define __AVR_HAVE_PRR0_PRTIM2 #define __AVR_HAVE_PRR0_PRTWI
in „Tasterverarbeitung mit dem ARDUINO“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
CodeAuswertung.lst
Generator.elf: file format elf32-avr Sections: Idx Name Size VMA LMA File off Algn 0 .text 000000ea 00000000 00000000 000000b4 2**0 CONTENTS, ALLOC, LOAD, READONLY, CODE 1 .data 00000000 00800060 000000ea 0000019e 2**0 CONTENTS, ALLOC
in „Probleme mit dem EEPROM vom ATtiny26“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
ttester.pdf
8-bit AVR with 4/8/16/32KBytes In-System Programmable Flash - ATme- ga48 - ATmega328,. Manual, 8271D-AVR-05/11, 2011 [4] Atmel Corporation Atmel AVR126: ADC of megaAVR in Single Ended Mode,. Application Note,
-
PDF
ttester.pdf
8-bit AVR with 4/8/16/32KBytes In-System Programmable Flash - ATme- ga48 - ATmega328,. Manual, 8271D-AVR-05/11, 2011 [4] Atmel Corporation Atmel AVR126: ADC of megaAVR in Single Ended Mode,. Application Note,
-
PDF
ttester.pdf
8-bit AVR with 4/8/16/32KBytes In-System Programmable Flash - ATme- ga48 - ATmega328,. Manual, 8271D-AVR-05/11, 2011 [4] Atmel Corporation Atmel AVR126: ADC of megaAVR in Single Ended Mode,. Application Note,
-
Datei
spi_lib.c
notice. //! //! @brief This file contains the library of functions of: //! - SPI //! - AT90CAN128/64/32 //! //! This file can be parsed by Doxygen for automatic documentation generation. //! This file has been validated with AVRStudio-413528/WinAVR-20070122. //! //! @version $Revision: 3.20 $ $Name:
in „Probleme mit AT90CAN64 SPI Übertragung“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
intTest.lst
gavrasm Gerd's AVR assembler version 4.1 (C)2018 by DG4FAC ---------------------------------------------------------- Quelldatei: C:\ATtiny85 Lernpaket\Assembler-Files\intTest\intTest.asm Hexdatei: C:\ATtiny85 Lernpaket
in „attiny85 interrupt-behandlung“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Code.txt
Auf ATmega32: Master: ------------------------------------------------------------------------------------------------- /***************************************************** This program was produced by the CodeWizardAVR
in „Master/Slave TWI von mega32 auf mega8 kopieren“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
forum.c
#ifndef F_CPU #define F_CPU 4000000UL #endif #include <avr/io.h> #include <util/delay.h> #include <stdlib.h> #include <string.h> #include <avr/interrupt.h> #include "lcd_drv.h" #define PHASE_A (PIND & 1<<PD2) #define PHASE_B (PIND & 1<<PD3) volatile int8_t
in „Drehgeber mit Mega8 - zu wenige Timer?!“ · Mikrocontroller und Digitale Elektronik ·