-
Datei
uart_async.c
/* * Library to provide serial access on atmega328p and compatible parts. * * This library uses buffers to allow the data to be sent from the serial port * asynchronously, rather than tying up the microcontroller whilst the data is * sent slowly
in „ATMEGA328 Led-Fader Projekt instabil“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
senden.c
/** \file main.c MCU: ATmega328p, 3.3V , intern 8Mhz , extern 32.768Khz sensor: SHT15, DATA with external 10k pullup connected to PD4, SCK connected to PD3 */ #include "config.h" //IMPORTANT: it contains F_CPU definition, so include
in „Atmega328p Sleep-Modus, ich komme nicht weiter“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
senden.c
/** \file main.c MCU: ATmega8L, 8MHZ intern, 32.768KHZ extern für Timer2 sensor: SHT15 HFUSE/LFUSE: 0xD9/0xE4 */ #include "config.h" //IMPORTANT: it contains F_CPU definition, so include it before delay.h #include <stdlib.h> #
in „Atmega328p Sleep-Modus, ich komme nicht weiter“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
rpn_boris_A328_v2.7.bas
K_f_offset ' 120 - COSINUS "8" Const K_tangens = 57 + K_f_offset ' 121 - TANGENS "9" Const K_zweit = 128 ' Const K_dp_disp = 128 ' ' ======================================================================== ' ======================================================================== ' Hauptprogramm ' ====
in „Noch ein Taschenrechner auf ATMega Basis“ · Projekte & Code ·
-
Datei
rpn_boris_A328_v2.8.bas
K_f_offset ' 120 - COSINUS "8" Const K_tangens = 57 + K_f_offset ' 121 - TANGENS "9" Const K_zweit = 128 ' Const K_dp_disp = 128 ' ' ======================================================================== ' ======================================================================== ' Hauptprogramm ' ====
in „Noch ein Taschenrechner auf ATMega Basis“ · Projekte & Code ·
-
PDF
84123_usb_i2c_km-2.pdf
für analoge/digitale Signale, Temperaturwerte usw. konfigurierbar. IntelligenteChipsanzweiDrähten 128 Geräte am I²C-Bus können nun über einen relativ einfa- chen Befehlsalgorithmus direkt mit dem PC kommunizieren. DerI²C-BusgenießtunterElektronik-Entwicklerneinenguten Auf diese Weise lassen sich sehr
in „Hygrosens I2C Tmp Modul antwortet nicht“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
88DDS.txt
112,112,113,113,114,114,115,115,116,116,117,117,118,118,119,119 .db 120,120,121,121,122,122,123,123,124,124,125,125,126,126,127,127 .db 128,128,129,129,130,130,131,131,132,132,133,133,134,134,135,135 .db 136,136,137,137,138,138,139,139,140,140,141,141,142,142,143,143 .db 144,144,145,145,146,146,147,147,148,148,149,149,150,150,151,151 .db
in „DDS Sinus erzeugung“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Steuerung.c
www.hpinfotech.com Project : Version : Date : 23.10.2010 Author : Company : Comments: Chip type : ATmega128 Program type : Application Clock frequency : 16,000000 MHz Memory model : Small External RAM size : 0 Data Stack size : 1024 *****************************************************/ #include <mega128
in „ATMega128 lässt sich programmieren aber tut nix“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
Fuses.pdf
Sheet1 Atmega 48 8 88 8515 8535 16 Lock7 Lock6 Lock5 BLB12 BLB12 BLB12 BLB12 BLB12 Lock4 BLB11 BLB11 BLB11 BLB11 BLB11 Lock3 BLB02 BLB02 BLB02 BLB02 BLB02 Lock2 BLB01 BLB01 BLB01 BLB01 BLB01 Lock1 LB2 LB2 LB2 LB2
in „RSTDISBL und ISP bei ATmegas?“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
Fuses.pdf
Sheet1 Atmega 48 8 88 8515 8535 16 Lock7 Lock6 Lock5 BLB12 BLB12 BLB12 BLB12 BLB12 Lock4 BLB11 BLB11 BLB11 BLB11 BLB11 Lock3 BLB02 BLB02 BLB02 BLB02 BLB02 Lock2 BLB01 BLB01 BLB01 BLB01 BLB01 Lock1 LB2 LB2 LB2 LB2
in „bug in avr isp“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
new_1.c
4+3] - 0x30)); // 10er Stelle x = x + (DataIN[i*4+4] - 0x30); // 1er Stelle if ( x > 127 ) { x = x-128;} //Beschränkung auf 127 Serial.print("x ") , Serial.println(x); Serial.println(); ledzahl[i] = x; //Information in Array speichern (x= Welche LED von Allen 128 wird angesprochen?) ExpanderNr[i] = ledzahl
in „Unerklärliche Fehlermeldung in einem Arduino-Programm“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
swBalancer.pdf
DISPLAY-OLED-128X64-I2C 128x64 OLED 3 +3V3 +3V3 U$4 3 + Konstantstrommodus nach https://www.mikrocontroller.net/topic/444512 A L C D D C C N MWSA1004-220MT R57 R56 S S V G +3V3 L2 10k 10k TME DE0703-22 R5 D7 4 3 2 1
in „SuperCap Balancer mittels µC“ · Analoge Elektronik und Schaltungstechnik ·
-
PDF
AVR_Roboter_Dokumentation.pdf
increment flag und Register 1 – PSC0 = 0 Frequenz Vorteiler 0 = 1/152 – PWM0 = 0x80 Tastverhältnis 0 = 128/256 – PSC1 = 0 Frequenz Vorteiler 1 = 1/152 – PWM1 = 0x80 Tastverhältnis 1 = 128/256 – LS0 = 0x33 Led0,Led2 = PWM, Led1,Led3 = (HiZ) 1 10 DA 0,$11,0,$80,0,$80,0,$33 Daten festlegen 20 IC $C6,0,7 7 Bytes
in „Anfängerprobleme“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
rpn_boris_A328_v2.9.bas
K_f_offset ' 120 - COSINUS "8" Const K_tangens = 57 + K_f_offset ' 121 - TANGENS "9" Const K_zweit = 128 ' Const K_dp_disp = 128 ' ' ======================================================================== ' ======================================================================== ' Hauptprogramm ' ====
in „Noch ein Taschenrechner auf ATMega Basis“ · Projekte & Code ·
-
Datei
main.c
e-mail:office@hpinfotech.ro Project : Version : Date : 21.02.2004 Company : Comments: Chip type : ATmega128L Program type : Application Clock frequency : 12,000000 MHz Memory model : Small Internal SRAM size : 4096 External SRAM size : 0 Data Stack size : 1024 *********************************************/ #include <mega128.h> #include <delay.h> // Portbelegungen #define P_CHIP1 PORTB.3 #define P_CHIP2 PORTB.4 #define P_RESET PORTB.5 #define P_RW PORTB.1 #define P_DI PORTB.0 #define P_ENABLE PORTB.2 #define DATA PORTD
-
Datei
adxl345_atmega168.c
200 1000 100 500 50 250 25 125 12,5 625 6,25 312 3,13 156 1,56 78 0,78 39 0,39 19 0,20 9 0,1 */ // atmega168 #ifndef SS #define SS 2 #endif #ifndef SCK #define SCK 5 #endif #ifndef MOSI #define MOSI 3 #endif #ifndef MISO #define MISO 4 #endif #define FEHLER 0 //PC0 #define VDD 1 //PC1 #define OK 2 //PC2
in „ADXL345 & SPI Kommunikationsproblem“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
test_korr.asm
Controller * ;* * ;* * ;**************************************************************************** ; ; ATMega8 ; +--+-+--+ ; (!RESET)PC6 | |_| | PC5(ADC5 SCL) ; (RXD)PD0 | | PC4(ADC4 SDA) ; (TXD)PD1 | | PC3(ADC3) ; (INT0)PD2 | | PC2(ADC2) ; (INT1)PD3 | | PC1(ADC1) ; (XCK T0)PD4 | | PC0(ADC0) ; VCC | | GND
in „Pollin LCD ohne Datenblatt“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
simple.c
------------------------------------------------------------------- // Title :Rahmen für ein AVR ATmega128 C-Programm mit LCD // Date :10.04.2005 // Version :1.0 // Autor :Denis Jakel //--------------------------------------------------------------------------- #define F_CPU 14745600UL //#define baud
in „sprintf(string,"%1.3lf",123.456) avrcc“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Tatenabfrage_10.c
avr/io.h> #include <stdlib.h> //#include <util/delay.h> //#include<avr/delay.h> /* USART-Init beim ATmega16 */ #ifndef F_CPU #define F_CPU 16000000 /* Oszillator-Frequenz in Hz */ #endif // Hilfsmakro zur UBRR-Berechnung ("Formel" laut Datenblatt) #define UART_UBRR_CALC(BAUD_,FREQ_) ((FREQ_)/((BAUD_)*16L
in „PWM geht nicht mehr“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
LabVIEWInterfaceh.txt
*************************/ #define FIRMWARE_MAJOR 02 #define FIRMWARE_MINOR 00 #if defined(__AVR_ATmega1280__) || defined(__AVR_ATmega2560__) #define DEFAULTBAUDRATE 9600 // Defines The Default Serial Baud Rate (This must match the baud rate specifid in LabVIEW) #else #define DEFAULTBAUDRATE 115200 #
in „Arduino 2560 PWM Frequenz ändern auf 100Hz“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
Transistortester093k.pdf
hFE= geändert (spart Platz bei der Darstellung). 11. Die Unterschiede in den Referenzspannungen derAtmega8,Atmega88,Atmega168 undAtmega328 werden jetzt nach Datenblatt berücksichtigt. Es besteht aber nach wie vor die Möglichkeit, per Schalter in der Makefile „WITH_AUTO_REF“ das Programm so zu kompilieren
-
Datei
gamer.txt
stored directly to r31 ; next reads value for register or mode ; Author = Werner Braun ; Target = ATmega8 ; Date = 2012-02-04 ; ; PC6 = RESET ; PC5 = SCL TWI ; PC4 = SDA TWI ; PC3 = addon capacitor for filter ; PC2 = addon capacitor for filter ; PC1 = addon capacitor for filter ; PC0 = Glitch capacitor
in „DDS normal ?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
AVR8_Burn_O_Mat_Config.xml
caption="4.0V (3.6V - 4.2V)" Fuse1="0" Fuse2="0"/> </BrownOutDetection> <OscillatorOptions Type="ATmega8" /> </AVR> <AVR name="m128" caption="ATmega128"> <Fuse name="UNUSED_E7" bit="7" fuseByte="efuse" default="1" desc="unused" mode="expert"/> <Fuse name="UNUSED_E6" bit="6" fuseByte="efuse" default="
in „Pollinboard Ponyprog. Probleme mit 644P“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
fraktal_speedtest_avr.c
fraktal_speedtest.c Testprogramm um festzustellen, wie schnell ein Apfelmaennchen berechnet werden kann MCU : ATmega328p Takt : 15.04.2025 R. Seelig ------------------------------------------------------ */ /* ------------------------------------------------------- In tftdisplay.h wird angegeben, wie das Display
in „CH32V003, float wirklich langsam?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
HSV_RGB_10bitPWM.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 „DMX - PWM generieren“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.c
#define DDR(x) (*(&x - 1)) /* address of data direction register of port x */ #if defined(__AVR_ATmega64__) || defined(__AVR_ATmega128__) /* on ATmega64/128 PINF is on port 0x00 and not 0x60 */ #define PIN(x) ( &PORTF==&(x) ? _SFR_IO8(0x00) : (*(&x - 2)) ) #else #define PIN(x) (*(&x - 2)) /* address
in „Keine Warnung wenn Prog. Speicher voll?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.c
#define DDR(x) (*(&x - 1)) /* address of data direction register of port x */ #if defined(__AVR_ATmega64__) || defined(__AVR_ATmega128__) /* on ATmega64/128 PINF is on port 0x00 and not 0x60 */ #define PIN(x) ( &PORTF==&(x) ? _SFR_IO8(0x00) : (*(&x - 2)) ) #else #define PIN(x) (*(&x - 2)) /* address
in „[Atmega8]LCD-Display+UART“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd_new.c
#define DDR(x) (*(&x - 1)) /* address of data direction register of port x */ #if defined(__AVR_ATmega64__) || defined(__AVR_ATmega128__) /* on ATmega64/128 PINF is on port 0x00 and not 0x60 */ #define PIN(x) ( &PORTF==&(x) ? _SFR_IO8(0x00) : (*(&x - 2)) ) #else #define PIN(x) (*(&x - 2)) /* address
in „mal wieder ein LCD am Atmega8“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd_new.c
#define DDR(x) (*(&x - 1)) /* address of data direction register of port x */ #if defined(__AVR_ATmega64__) || defined(__AVR_ATmega128__) /* on ATmega64/128 PINF is on port 0x00 and not 0x60 */ #define PIN(x) ( &PORTF==&(x) ? _SFR_IO8(0x00) : (*(&x - 2)) ) #else #define PIN(x) (*(&x - 2)) /* address
in „mal wieder ein LCD am Atmega8“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.c
#define DDR(x) (*(&x - 1)) /* address of data direction register of port x */ #if defined(__AVR_ATmega64__) || defined(__AVR_ATmega128__) /* on ATmega64/128 PINF is on port 0x00 and not 0x60 */ #define PIN(x) ( &PORTF==&(x) ? _SFR_IO8(0x00) : (*(&x - 2)) ) #else #define PIN(x) (*(&x - 2)) /* address
in „LCD zeigt nur die Hälfte an“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.c
#define DDR(x) (*(&x - 1)) /* address of data direction register of port x */ #if defined(__AVR_ATmega64__) || defined(__AVR_ATmega128__) /* on ATmega64/128 PINF is on port 0x00 and not 0x60 */ #define PIN(x) ( &PORTF==&(x) ? _SFR_IO8(0x00) : (*(&x - 2)) ) #else #define PIN(x) (*(&x - 2)) /* address
in „Grafikfähiger LCD Controller für 320x240 LCD mit 4 Graustufen“ · Projekte & Code ·
-
Datei
lcd.c
#define DDR(x) (*(&x - 1)) /* address of data direction register of port x */ #if defined(__AVR_ATmega64__) || defined(__AVR_ATmega128__) /* on ATmega64/128 PINF is on port 0x00 and not 0x60 */ #define PIN(x) ( &PORTF==&(x) ? _SFR_IO8(0x00) : (*(&x - 2)) ) #else #define PIN(x) (*(&x - 2)) /* address
in „Kompilieren von C Dateien in Kubuntu“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.c
#define DDR(x) (*(&x - 1)) /* address of data direction register of port x */ #if defined(__AVR_ATmega64__) || defined(__AVR_ATmega128__) /* on ATmega64/128 PINF is on port 0x00 and not 0x60 */ #define PIN(x) ( &PORTF==&(x) ? _SFR_IO8(0x00) : (*(&x - 2)) ) #else #define PIN(x) (*(&x - 2)) /* address
in „Kompilieren von C Dateien in Kubuntu“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.c
#define DDR(x) (*(&x - 1)) /* address of data direction register of port x */ #if defined(__AVR_ATmega64__) || defined(__AVR_ATmega128__) /* on ATmega64/128 PINF is on port 0x00 and not 0x60 */ #define PIN(x) ( &PORTF==&(x) ? _SFR_IO8(0x00) : (*(&x - 2)) ) #else #define PIN(x) (*(&x - 2)) /* address
in „[AVR] Lcd Init funktioniert aber der Rest nicht“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.c
#define DDR(x) (*(&x - 1)) /* address of data direction register of port x */ #if defined(__AVR_ATmega64__) || defined(__AVR_ATmega128__) /* on ATmega64/128 PINF is on port 0x00 and not 0x60 */ #define PIN(x) ( &PORTF==&(x) ? _SFR_IO8(0x00) : (*(&x - 2)) ) #else #define PIN(x) (*(&x - 2)) /* address
in „Heizungssteuerung mit ATMEGA 32“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.c
#define DDR(x) (*(&x - 1)) /* address of data direction register of port x */ #if defined(__AVR_ATmega64__) || defined(__AVR_ATmega128__) /* on ATmega64/128 PINF is on port 0x00 and not 0x60 */ #define PIN(x) ( &PORTF==&(x) ? _SFR_IO8(0x00) : (*(&x - 2)) ) #else #define PIN(x) (*(&x - 2)) /* address
in „LCD ES DIP204“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.c
#define DDR(x) (*(&x - 1)) /* address of data direction register of port x */ #if defined(__AVR_ATmega64__) || defined(__AVR_ATmega128__) /* on ATmega64/128 PINF is on port 0x00 and not 0x60 */ #define PIN(x) ( &PORTF==&(x) ? _SFR_IO8(0x00) : (*(&x - 2)) ) #else #define PIN(x) (*(&x - 2)) /* address
in „LCD-Display zeigt merkwürdige Zeichen an“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.c
#define DDR(x) (*(&x - 1)) /* address of data direction register of port x */ #if defined(__AVR_ATmega64__) || defined(__AVR_ATmega128__) /* on ATmega64/128 PINF is on port 0x00 and not 0x60 */ #define PIN(x) ( &PORTF==&(x) ? _SFR_IO8(0x00) : (*(&x - 2)) ) #else #define PIN(x) (*(&x - 2)) /* address
in „Frequenzmessung und Optimierung -Os“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.c
#define DDR(x) (*(&x - 1)) /* address of data direction register of port x */ #if defined(__AVR_ATmega64__) || defined(__AVR_ATmega128__) /* on ATmega64/128 PINF is on port 0x00 and not 0x60 */ #define PIN(x) ( &PORTF==&(x) ? _SFR_IO8(0x00) : (*(&x - 2)) ) #else #define PIN(x) (*(&x - 2)) /* address
in „LCD Atmega8535 fehler beim Programm erstellen mit AVR-Studio“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.c
#define DDR(x) (*(&x - 1)) /* address of data direction register of port x */ #if defined(__AVR_ATmega64__) || defined(__AVR_ATmega128__) /* on ATmega64/128 PINF is on port 0x00 and not 0x60 */ #define PIN(x) ( &PORTF==&(x) ? _SFR_IO8(0x00) : (*(&x - 2)) ) #else #define PIN(x) (*(&x - 2)) /* address
in „LCD Programmierproblem“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.c
#define DDR(x) (*(&x - 1)) /* address of data direction register of port x */ #if defined(__AVR_ATmega64__) || defined(__AVR_ATmega128__) /* on ATmega64/128 PINF is on port 0x00 and not 0x60 */ #define PIN(x) ( &PORTF==&(x) ? _SFR_IO8(0x00) : (*(&x - 2)) ) #else #define PIN(x) (*(&x - 2)) /* address
in „LCD Routine Peter Fleury“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.c
#define DDR(x) (*(&x - 1)) /* address of data direction register of port x */ #if defined(__AVR_ATmega64__) || defined(__AVR_ATmega128__) /* on ATmega64/128 PINF is on port 0x00 and not 0x60 */ #define PIN(x) ( &PORTF==&(x) ? _SFR_IO8(0x00) : (*(&x - 2)) ) #else #define PIN(x) (*(&x - 2)) /* address
in „Attiny2313 mit HD44780 LCD“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.c
#define DDR(x) (*(&x - 1)) /* address of data direction register of port x */ #if defined(__AVR_ATmega64__) || defined(__AVR_ATmega128__) /* on ATmega64/128 PINF is on port 0x00 and not 0x60 */ #define PIN(x) ( &PORTF==&(x) ? _SFR_IO8(0x00) : (*(&x - 2)) ) #else #define PIN(x) (*(&x - 2)) /* address
in „Attiny2313 mit HD44780 LCD“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.c
#define DDR(x) (*(&x - 1)) /* address of data direction register of port x */ #if defined(__AVR_ATmega64__) || defined(__AVR_ATmega128__) /* on ATmega64/128 PINF is on port 0x00 and not 0x60 */ #define PIN(x) ( &PORTF==&(x) ? _SFR_IO8(0x00) : (*(&x - 2)) ) #else #define PIN(x) (*(&x - 2)) /* address
in „Attiny2313 mit HD44780 LCD“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.c
#define DDR(x) (*(&x - 1)) /* address of data direction register of port x */ #if defined(__AVR_ATmega64__) || defined(__AVR_ATmega128__) /* on ATmega64/128 PINF is on port 0x00 and not 0x60 */ #define PIN(x) ( &PORTF==&(x) ? _SFR_IO8(0x00) : (*(&x - 2)) ) #else #define PIN(x) (*(&x - 2)) /* address
in „LCD zu wenig Spannung“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.c
#define DDR(x) (*(&x - 1)) /* address of data direction register of port x */ #if defined(__AVR_ATmega64__) || defined(__AVR_ATmega128__) /* on ATmega64/128 PINF is on port 0x00 and not 0x60 */ #define PIN(x) ( &PORTF==&(x) ? _SFR_IO8(0x00) : (*(&x - 2)) ) #else #define PIN(x) (*(&x - 2)) /* address
in „LCD funktioniert nicht“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.c
*/ #define DDR(x) (*(&x - 1)) // address of data direction register of port x #if defined(__AVR_ATmega64__) || defined(__AVR_ATmega128__) // on ATmega64/128 PINF is on port 0x00 and not 0x60 #define PIN(x) ( &PORTF==&(x) ? _SFR_IO8(0x00) : (*(&x - 2)) ) #else #define PIN(x) (*(&x - 2)) // address of
in „Displaytech 162 und 162A geht nicht“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.c
#define DDR(x) (*(&x - 1)) /* address of data direction register of port x */ #if defined(__AVR_ATmega64__) || defined(__AVR_ATmega128__) /* on ATmega64/128 PINF is on port 0x00 and not 0x60 */ #define PIN(x) ( &PORTF==&(x) ? _SFR_IO8(0x00) : (*(&x - 2)) ) #else #define PIN(x) (*(&x - 2)) /* address
in „Display geht immernoch nicht.“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.c
#define DDR(x) (*(&x - 1)) /* address of data direction register of port x */ #if defined(__AVR_ATmega64__) || defined(__AVR_ATmega128__) /* on ATmega64/128 PINF is on port 0x00 and not 0x60 */ #define PIN(x) ( &PORTF==&(x) ? _SFR_IO8(0x00) : (*(&x - 2)) ) #else #define PIN(x) (*(&x - 2)) /* address
in „Komisches Verhalten mit lcd_puts“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.c
#define DDR(x) (*(&x - 1)) /* address of data direction register of port x */ #if defined(__AVR_ATmega64__) || defined(__AVR_ATmega128__) /* on ATmega64/128 PINF is on port 0x00 and not 0x60 */ #define PIN(x) ( &PORTF==&(x) ? _SFR_IO8(0x00) : (*(&x - 2)) ) #else #define PIN(x) (*(&x - 2)) /* address
in „20x4 lcd zeigt immer das gleiche an“ · Mikrocontroller und Digitale Elektronik ·