-
Datei
main.c
#include <msp430x16x.h> int main() { WDTCTL = WDTPW + WDTHOLD; // watchdog ausschalten P1DIR = 0xFF; // Port-1-Pin 0-7 als Ausgänge P1SEL = 0x00; // und für die E/A-Funktion ausgewählt P2DIR = 0xFF; // Alle Port-2-Pins als Ausgänge P2SEL = 0x00; // und für die E/A-Funktion ausgewählt P3DIR = 0xFF; // Alle Port-3-Pins als Ausgänge P3SEL = 0x00; // und für die E/A-Funktion ausgewählt P4DIR = 0xFF; // Alle Port-4-Pins als Ausgänge P4SEL = 0x00; // und für die E/A-Funktion ausgewählt P5DIR = 0xFF; // Alle Port-5-Pins als Ausgänge P5SEL = 0x00; // und für die E/A-Funktion ausgewählt P6DIR = 0x00; /
in „AD Wandler MSP430“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Anzeige.c
der entsprechenenden Ausgänge #define seg_port1 PORTC //a - f #define seg_port2 PORTD //g #define seg_masse_port PORTB //massepins // 7seg LED Pins #define sega PC0 #define segb PC1 #define segc PC2 #define segd PC3 #define sege PC4 #define segf PC5 #define segg PD0 //Masse Pins #define seg1 PB4 // 1er #define seg2 PB3 // 10er #define seg3 PB2 // 100er #define seg4 PB1 // 1000er #endif volatile unsigned char NrOverflows = 0; // Anzahl der Timer
in „Drehzahl über ICP“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
energy_10.c
/* Programmteil Energymanagement Version 1.0 Putzer Philipp 09/2007 X3-1 -> POWERSAVE (OUT am µC) x3-2 -> LOW_BAT, fallende Flanke, X3-3 -> LOW_TEMP, fallende Flanke, wenn zu kalt X3-4 -> USB_POWERED, 1 wenn mit USB versorgt wird */ #include <avr/io.h> #include <avr/sleep.h> #include <avr/interrupt.h> #include "lcd_tools_dog.h" #define PORT_POWERSAVE_PIN PORTE #define DDR_POWERSAVE_PIN DDRE #define DDX_POWERSAVE_PIN DDE0 #define PBX_POWERSAVE_PIN PE0 #define PORT_BELLCD PORTE #define DDR_BELLCD DDRE #define DDX_BELLCD DDE5 #define PBX_BELLCD
in „ATMEGA64 mit Int aus Power-Down wecken“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
m644def.inc
= 7 ; Port C Data Direction Register bit 7 ; PINC - Port C Input Pins .equ PINC0 = 0 ; Port C Input Pins bit 0 .equ PINC1 = 1 ; Port C Input Pins bit 1 .equ PINC2 = 2 ; Port C Input Pins bit 2 .equ PINC3 = 3 ; Port C Input Pins bit 3 .equ PINC4 = 4 ; Port C Input Pins bit 4 .equ PINC5 = 5 ; Port C Input Pins bit 5 .equ PINC6 = 6 ; Port C Input Pins bit 6 .equ PINC7 = 7 ; Port C Input Pins bit 7 ; ***** PORTD *
in „AVR - Fehlermeldung beim Übersetzen von Assembler für ATmega644“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
m644def.inc
= 7 ; Port C Data Direction Register bit 7 ; PINC - Port C Input Pins .equ PINC0 = 0 ; Port C Input Pins bit 0 .equ PINC1 = 1 ; Port C Input Pins bit 1 .equ PINC2 = 2 ; Port C Input Pins bit 2 .equ PINC3 = 3 ; Port C Input Pins bit 3 .equ PINC4 = 4 ; Port C Input Pins bit 4 .equ PINC5 = 5 ; Port C Input Pins bit 5 .equ PINC6 = 6 ; Port C Input Pins bit 6 .equ PINC7 = 7 ; Port C Input Pins bit 7 ; ***** PORTD *
in „woher Registerdefinitionen für mega644?“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
Doku_130816.pdf
. Das bedeutet, dass als Messintervall eine Zeit von mindestens 800ms gewählt sein sollte ! 3. ADC auslesen (PortC) ADC auslesen: Die freien, auslesbaren Pins sind PC.0 .. PC.3. STARTBYTE, ADCREAD, Anzahl Bytes, Pin-Nr. [0, 1, 2, 3] 0xA5, 0xE3, 0x01, 0x03 (Den ADC an PC.3 auslesen) Rückgabe:
-
PDF
Guide_to_PSoC_USB_I2C_C_2008.pdf
auf OK. Ein Icon mit dem Namen myU erscheint im Designer und über Project/Assign Register Map for TV3_P03 Project… kann man sich von der Existenz der 16-bit Registervariablen überzeugen. Da wir deren Wert über USB_I2C in WinXP verarbeiten möchten benötigen wir noch das I2C-Interface. Per Doppelklick
in „PSoC FirstTouch Starter Kit und C#“ · Softwareentwicklung ·
-
Datei
LCD01.c
/* --------------------------------------------------------------------------------- PORTD Pin 2 RS PORTD Pin 3 E PORTD Pin 4 Datenbit 4 PORTD Pin 5 Datenbit 5 PORTD Pin 6 Datenbit 6 PORTD Pin 7 Datenbit 7 R/W und Datenbits 0-3 auf GND --------------------------------------------------------------------------------- */ #include <avr/io.h> #define F_CPU 16000000UL #include <avr/delay.h> #define lcd_e 3 #define lcd_rs 2 #define PORT PORTD void lcd_data(char byte); void lcd_command(char byte); void lcd_enable(void); void kpause(void); void lpause(void); void lcd_linit(void); void lcd_init(void);
in „LCD Ansteuerung im 4bit-Modus“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
F2_messung.c
/* Vergleich reziproke Frequenzmessung mit STM32H750 F2_ergebnis aus Mittelwerten nach 1 s Messzeit und ref_f als Ergebnis aus Regressionsberechnung Michael Nowak 2019-12-17 www.mino-elektronik.de */ #include <stdio.h> #include "stm32h7xx.h" #include "gpio_ports.h" #include "f_limit.h" extern uint32_t SystemTimerClock; // typ. SystemCoreClock/2 enum status {MESSEN=0, AUSLESEN, FERTIG, PAUSE}; // die Phasen der Messung volatile double F2_ergebnis; volatile double F2_taktfrequenz; // Grundfrequenz Zeitmessung uint32_t F2_messzeit = DEF_MESSZEIT, F2_timeout = DEF_TIMEOUT, F2_stellen = DEF_STELLEN
in „lineare Regression bei reziprokem Frequenzzähler wirkungslos?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
pal_board.c
_1); LED_PORT &= ~(1 << LED_PIN_2); LED_PORT_DIR |= (1 << LED_PIN_0); LED_PORT_DIR |= (1 << LED_PIN_1); LED_PORT_DIR |= (1 << LED_PIN_2); } /** * @brief Control LED status * * param[in] led_no LED ID * param[in]
-
Datei
MegaBoot.c
/***************************************************************************** Title: STK500v2 compatible bootloader Author: Peter Fleury <pfleury@gmx.ch> http://jump.to/fleury File: $Id: stk500boot.c,v 1.13 2007/01/01 15:56:25 peter Exp $ Compiler: avr-gcc 3.4.5 or 4.1 / avr-libc 1.4.3 Hardware
in „mega128 und Fleury-Bootloader“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
LC651152.pdf
level at reset A high or low level output can be selected in port units (ports C and D only) Square wave output Supported Supported Supported Minimum cycle time 2.77 µs (V DD 3 V) 0.92 µs (VDD 2.5 V) 3.84 µs (VDD 2.2 V) Characteristics Supply voltage 3 to 6 V 2.5
in „SANYO LC651152 was macht der TEST pin?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Geigerzaehler.c
<avr/interrupt.h> #include <avr/signal.h> #include <util/delay.h> #include "string.h" #define RST_PIN PC1 #define T1 PC5 #define T2 PC4 #define T3 PC3 #define SigE PD5 #define GET(PORT,PIN) (!((PORT)&(1<<(PIN)))) //Strings im EEPROM /*unsigned char StartbildZ1[] EEMEM = "Geigerz\xE1hler"; unsigned char
in „16-Bit Zahl auf LCD“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
I2C_Scanner.txt
'Grüne LED Config PortC.2 = Output 'Gelbe LED Config PortC.3 = Output 'Rote LED LED_Rot Alias PortC.3 ' LED Rot an PD5 LED_Gelb Alias PortC.2 ' LED Gelb an PD4 LED_Gruen Alias PortC.0 ' LED Grün an PD3 Config Twi = 100000 ' I2C Takt = 100 KHz Config SCL = Portc.4 Config SDA = Portc.5 I2cinit Config Lcdpin = Pin , Db4 = PortD.4 , Db5 = PortD.5 , Db6 = PortD.6 , Db7 = PortD.7 , E = PortD.3 , Rs = PortD.2 Config Lcd = 16x2 Cls
in „1602 LCD mit ATmega8535 und Bascom läuft nicht“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
irsnd.c
| defined (__AVR_ATmega168P__) \ || defined (__AVR_ATmega328P__) // ATmega48|88|168|168|328 uses OC2A = PB3 or OC2B = PD3 or OC0A = PD6 or OC0B = PD5 # if IRSND_OCx == IRSND_OC2A // OC2A # define IRSND_PORT_LETTER B # define IRSND_BIT_NUMBER 3 # elif IRSND_OCx == IRSND_OC2B // OC2B # define IRSND_PORT_LETTER
in „IR Fernbedienung mit IRSND“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
simple_server_10.c
/********************************************* * vim:sw=8:ts=8:si:et * To use the above modeline in vim you must have "set modeline" in your .vimrc * Author: Guido Socher * Copyright: GPL V2 * See http://www.gnu.org/licenses/gpl.html * * Ethernet remote device and sensor * UDP and HTTP interface url looks like this http://baseurl/password/command or http://baseurl/password/ * * Title: Microchip ENC28J60 Ethernet Interface Driver * Chip type : ATMEGA88 with ENC28J60 * Note: there is a version number in the text. Search for tuxgraphics *********************************************/ /************
in „Webpage Webserver“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
stm32_ub_i2c1.c
-------- I2C1_DEV_t I2C1DEV = { // Remap GPIO_Remap_I2C1, // Pin remap or not // PORT , PIN , Clock {GPIOB,GPIO_Pin_8,RCC_APB2Periph_GPIOB}, // SCL an PB8 {GPIOB,GPIO_Pin_9,RCC_APB2Periph_GPIOB}, // SDA an PB9 }
in „STM32F105 bei I2C Read ein Byte zu viel“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
LCD_display_free_int_pins.h
Display off: 0b 0000 1000 */ #define POS_01 0x80 /*Line 1 - Column 0 0b 1000 0000 */ #define POS_02 0xC0 /*Line 2 - Column 0 0b 1100 0000 */ // definitions of port pins #define LCDPORT PORTD #define LCDDDR DDRD #define LCD_PIN_RS 0 #define LCD_PIN_E 3 #define LCD_PIN_D4 4 #define LCD_PIN_D5 5 #define LCD_PIN_D6
in „Spannungsmessung mit Atmega16“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
include <msp430x16x.h> int main() { WDTCTL = WDTPW + WDTHOLD; // watchdog ausschalten P1DIR = 0xFF; // Port-1-Pin 0-7 als Ausgänge P1SEL = 0x00; // und für die E/A-Funktion ausgewählt P2DIR = 0xFF; // Alle Port-2-Pins als Ausgänge P2SEL = 0x00; // und für die E/A-Funktion ausgewählt P3DIR = 0xFF; // Alle Port-3-Pins als Ausgänge P3SEL = 0x00; // und für die E/A-Funktion ausgewählt P4DIR = 0xFF; // Alle Port-4-Pins als Ausgänge P4SEL = 0x00; // und für die E/A-Funktion ausgewählt P5DIR = 0xFF; // Alle Port
in „MSP430 F1611 Sequence-of-Channels Mode (ADC12)“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
my_t6963c_1.h
****** // ** PIN DEFINITIONS // ** // ** *****************************************/ // ** #define glcd_wr_PIN 2 // ** #define glcd_wr_PORT PORTD // ** // ** #define glcd_rd_PIN 3 // ** #define glcd_rd_PORT PORTD // ** // ** #define glcd_ce_PIN 4 // ** #define glcd_ce_PORT PORTD // ** // ** #define glcd_cd_PIN 5 // ** #define glcd_cd_PORT PORTD // ** // ** #define glcd_rst_PIN 0 // ** #define glcd_rst_PORT PORTA // ** // ** #define glcd_fs_PIN
in „t6963c.h von Mega32 auf AtMega644p“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
TLC5940.c
XLAT_DDR DDRB #define XLAT_PORT PORTB #define XLAT_PIN PB2 #define DCPRG_DDR DDRB #define DCPRG_PORT PORTB #define DCPRG_PIN PB4 #define S_IN_DDR DDRB #define S_IN_PORT PORTB #define S_IN_PIN PB5 #define S_OUT_DDR DDRB #define S_OUT_PORT
in „TLC5940 C-Funktion o. Funktion“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
LCD01.c
/* --------------------------------------------------------------------------------- PORTD Pin 2 RS PORTD Pin 3 E PORTD Pin 4 Datenbit 4 PORTD Pin 5 Datenbit 5 PORTD Pin 6 Datenbit 6 PORTD Pin 7 Datenbit 7 R/W und Datenbits 0-3 auf GND --------------------------------------------------------------------------------- */ #include <avr/io.h> #define F_CPU 16000000UL #include <avr/delay.h> #define lcd_e 3 #define lcd_rs 2 #define PORT PORTD #define line1 0b10000000 #define line2 0b11000000 void lcd_data(char byte); void lcd_command(char byte); void lcd_enable(void); void kpause(void); void lpause(
in „LCD Ansteuerung im 4bit-Modus“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
/* LCD SOFTWARE * ------------------------------------------------- * Hardware: * PIC PIN LCD-Pin Funktion * * 1 GND * 2 VDD +5V * 3 Kontrast (ca.8,2V) * RB4 13 4 I/OC1 * RB5 12 5 R/W * RB6 11 6 EX (enable) * RC0 16 7 DB0 * RC1 15 8 DB1 * RC2 14 9 DB2 * RC3 7 10 DB3 * RC4 6 11 DB4 * RC5
in „[PIC]LCD mit m50530 Controler“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
PPINPROG PIND #define DDRPROG DDRD #define PINLED PD6 #define PORTLED PORTD #define DDRLED DDRD #define PIN10 PB0 #define PORT10 PORTB #define DDR10 DDRB #define PIN11 PB1 #define PORT11 PORTB #define DDR11 DDRB #define PIN20 PB2 #define PORT20 PORTB #define DDR20 DDRB #define PIN21 PB3 #define PORT21 PORTB #define DDR21 DDRB #define PIN30 PB4 #define PORT30 PORTB #define DDR30 DDRB #define PIN31 PB5 #define PORT31 PORTB #define DDR31 DDRB #define PIN40 PB6 #define PORT40 PORTB #define DDR40 DDRB #define PIN41 PB7 #define PORT41 PORTB
in „MM Magnetartikel Decoder Code für die Hardware von www.opendcc.de“ · Projekte & Code ·
-
Datei
configx.h
//lcds #ifdef out0_port #define out0_on pinSET(out0_port,out0_pin) #define out0_off pinCLR(out0_port,out0_pin) #endif #include "C:\zuc\lcd\colors.h" //C:\WinAVRkk\kklibx\// #if no_lcd #define lw(x) nothing() #define li2(x)
in „Header Datei für Konfiguration erstellen“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
stc32g-en.pdf
pin select bit S4_S RxD4 TxD4 0 P0.2 P0.3 1 P5.2 P5.3 S3_S: Serial port 3 function pin select bit S3_S RxD3 TxD3 0 P0.0 P0.1 1 P5.0 P5.1 S2_S: Serial Port 2 Function Pin Select Bit S2_S RxD2 TxD2 0 P1.0
in „STC32 -- 8051 auf Steroide“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
#include <avr/io.h> #include <avr/pgmspace.h> #include <avr/eeprom.h> #include <avr/interrupt.h> #include <math.h> #include <stdio.h> #include <stdlib.h> #include <util/delay.h> #include "main.h" //#include "characters.h" #include "max_7456.h" #include "osd_helpers.h" #include "structs.h" #include "global_variables.h" //#include "vnc1l.h" #include "nmea.h" #include <stdio.h> #include <stdlib.h> #define sbi(ADDRESS,BIT) (ADDRESS |= (1<<BIT)) #define cbi(ADDRESS,BIT) (ADDRESS &= ~(1<<BIT)) uint16_t rx_min_error = 850; // min puls length uint16_t rx_max_error = 2350; // max puls length uint16_t rx_dn_value
in „Wfly Multiswitch 8ch Probleme“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Projekt_Porterweiterung_165_595.c
(x) (*(&x - 0)) //address of port register of port x //um Register auch bitweise in Binärformat ansprechen zu können #define BIN8(b7,b6,b5,b4,b3,b2,b1,b0) ((unsigned char)\ (b0 << 0)\ | (b1 << 1)\ | (b2 << 2)\ | (b3 << 3)\ | (b4 <<
in „Porterweiterung für 74HC165/595 in C“ · Projekte & Code ·
-
Datei
main.c
#include <avr/io.h> #include <util/delay.h> #include <stdlib.h> #include "uart.h" #include "adc.h" #define LED_Preheat PD2 //Pin der Led-Status-Anzeige für die Vorheizphase #define LED_FluxActivation PD3 //Pin der Led-Status-Anzeige für die Flussmittelaktivierungsphase #define LED_Reflow PD4 //Pin der Led-Status-Anzeige für die Reflowphase #define LED_Port PORTD //PORT Register für die Led-Status-Anzeigen #define LED_DDR DDRD //Data Direction Register für die LEDs #define SSR_Pin PD5 //Pin für das Solid State Relais #define SSR_Port PORTD //PORT Register für das Solid State Relais #define SSR_DDR
in „Reflow Ofen Steuerung“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
/************************************************************************/ /* */ /* Commodore 64 Red Edition */ /* Toolbox */ /* */ /************************************************************************/ #include <avr/io.h> #include <avr/interrupt.h> #include <avr/eeprom.h> #include <util/delay.h> // CPU: ATmega644P-20PU 8MHz // ======================================================================= #define ENCODER_PORT PORTC #define ENCODER_DDR DDRC #define TASTER_PIN PINC #define LEDS_PORT PORTA #define LEDS_DDR DDRA #define LED_PIN PINA #define FUNKTION_PORT PORTD #define FUNKTION_DDR DDRD
in „LED mit Encoder ansteuern“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
DS_V2DIP1-32.pdf
1.01 Clearance No.: FTDI# 150 ` 3.2 Pin Signal Description Name Pin Name on Pin No. PCB Type Description J1-1 5V0 5V0 PWR Input 5.0V module supply pin. This pin can be used to provide the 5.0V input to the V2DIP1-32 when the V2DIP1-32
in „SPI mit dem FTDI V2DIP1“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
PDFresult.pdf
works as output pin; B it 2 = 1 RA.2 works as input pin Bit 3 = 0 RA.3 works as output pin; Bit 3 = 1 RA.3 works as input pin At initial reset, port RA is input mode (PM1 = 1111B). 5.18.3 Port Mode 2 Register (PM2) The
in „Pocket Comm One µC“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
LCD_Display_Test.c
LCD_GC_CHAR0 0 #define LCD_GC_CHAR1 1 #define LCD_GC_CHAR2 2 #define LCD_GC_CHAR3 3 #define LCD_GC_CHAR4 4 #define LCD_GC_CHAR5 5 #define LCD_GC_CHAR6 6 #define LCD_GC_CHAR7 7 // Set DD RAM Address --------- 0b1xxxxxxx (Display Data RAM) #define LCD_SET_DDADR
in „Problem mit der Steuerung eines LCD-Displays“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
PC_nach_I2C-Bus_Adapter.pdf
, siehe auchhttp://www.roboternetz.de/wissen/index.php/RN-Definitionen#I2C-Bus_Stecker Pin 1 SCL (Taktleitung) Port PD0 Pin 3 SDA (Datenleitung) Port PD1 Pin 5 +5V (wird nicht vom PC geliefert, sondern muss von dem angeschlossenen I2C-Board/Gerät/Baustein zur Versorgung dieses I2C-Adapters vorhanden sein. Ohne 5V funktioniert der Adpater nicht!) Pin 7 +5V (wird nicht vom PC geliefert, sondern muss von dem angeschlossenen I2C-Board/Gerät/Baustein zur Versorgung dieses I2C-Adapters
in „PCA9532 unter Visual Basic 6 ansteuern. Probleme!“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
kueche_2.lst
------------- ; get next byte from buffer ; out: r24, Z=1 if no data ; use: r30-r31 usart_get: 0000c0 1489 cp rxhead, rxtail ;buffer empty? 0000c1 f049 breq ugr 0000c2 2de9 mov zl, rxtail ;advance tail 0000c3 95e3 inc zl 0000c4 3ce0 cpi zl, low(rxbuf+NBuf) 0000c5 f409 brne ug1 0000c6 e6e0 ldi zl, low
-
Datei
main.c
nach GND gezogen): Port Bezeichnung Schließer/Öffner ---- ----------- ---------------- PD5: Erdtaste Schließer PD4: Raute -Taste Schließer PD3: Sternchen -Taste Schließer PD2: NSI-Kontakt des Nummernschalters Öffner PD1: Wahlwiederholungs
in „DTMF und ATMEGA 16“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
i2c_basic.c
, ENABLE); // Port mit SCL/SCA einrichten GPIO_InitStruct.GPIO_Pin = I2C_SCL_PIN | I2C_SDA_PIN; GPIO_InitStruct.GPIO_Mode = GPIO_Mode_AF_OD; // Pins als Alternate Function einstellen GPIO_InitStruct.GPIO_Speed = GPIO_Speed
in „Blaue Pillenkrise? Die Häfte sind kaputt!“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
httpd.c
+5)-48); b = 0; switch(pgm_read_byte(http_entry[index].new_page_pointer+4)) { case 'A': b = (PORTA & (1<<pin)); break; case 'B': b = (PORTB & (1<<pin)); break; case 'C': b = (PORTC & (1<<pin)); break; case
in „AVR Webserver Radig eingabe speichern“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
datasheet.pdf
MSM81C55-5RS/GS/JS PIN CONFIGURATION (TOP VIEW) 40 pin Plastic DIP PC3 1 40 V CC PC 2 39 PC 4 2 TIMER IN 3 38 PC1 4 37 RESET PC0 PC5 5 36 PB7 35 TIMER OUT 6 PB6 IO/M 7 34 PB5 CE 8 33 PB4 RD 9 32 PB3 WR 10 31 PB 2 ALE 11 30 PB1 AD0 12 29 PB0 AD1 13 28 PA 7 AD2 14 27 PA6 AD 15 26 PA 44 pin Plastic QFP 3 5 AD4 16 25 PA4 AD 17 24 PA I 5 3 T R AD6 18 23 PA2 5 S M 4 3 C C 2 1 0 7 AD 19 22 P R T P P V N P P P P 7 PA1
in „OKI M81C55 benutzen.“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
8051.pdf
before the internal reset algorithm takes control. On-chip hardware inhibits access to 5 AUTOMOTIVE 80C31BH/80C51BH/87C51 Table 2. Status of the External Pins During Idle and Power Down Program Mode Memory ALE PSEN PORT0 PORT1 PORT2 PORT3 Idle Internal 1 1 Data Data Data Data Idle External
in „Mikrocontrollerboard: Funktioniert das?“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
RTX1040ProductSpecification_v2.5.pdf
advice to optimize the performance. The power supply shall provide a regulated DC voltage of between 2.2 and 3.5 Volt. Description Conditions Min. Typ. Max. Units PP Talk mode Vin = 2.5V @ 25°C tbd mA rms PP Idle mode Vin = 2.5V @ 25°C 0,7 tbd mA rms (lowest power level) PP off mode Vin = 2.5V @ 25°C 80 tbd µA rms PP ULE mode Vin = 2.5V @ 25°C tbd µA rms FP Talk mode (1 voice link) Vin = 2.5V @ 25°C tbd mA rms FP Idle mode Vin = 2.5V @ 25°C 85 tbd mA rms 4.5 Radio Performance The radio uses RTX’s DECT/CAT-iq protocol, with the key
in „Falls jemand eine Fernsteuer-App fürs Handy sucht.“ · Haus & Smart Home ·
-
Datei
Program1.c
ifdef TRACE #define TRACE0(x) printf_P(PSTR(x)) #define TRACE1(x,a1) printf_P(PSTR(x),a1) #define TRACE2(x,a1,a2) printf_P(PSTR(x),a1,a2) #define TRACE3(x,a1,a2,a3) printf_P(PSTR(x),a1,a2,a3) #define TRACE4(x,a1,a2,a3,a4) printf_P(PSTR(x),a1,a2,a3,a4) #define TRACE5(x,a1,a2,a3,a4,a5) printf_P(PSTR(x),a1,a2,a3,a4,a5) #define TRACE6(x,a1,a2,a3,a4,a5,a6) printf_P(PSTR(x),a1,a2,a3,a4,a5,a6) #else #define TRACE0(x) #define TRACE1(x,a1) #define TRACE2(x,a1,a2) #define TRACE3(x,a1,a2,a3) #define TRACE4(x,a1,a2
in „Quantum QT1106 Sensor-Chip an AVR usw.“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
test2.3.asm
-Interrupt-Takt .equ baud=23 ;USART-Baudrate 9k6 .equ tap=pinC ;Port für die Tasten .equ tli=3 ;Taste links .equ tho=2 ;Taste hoch .equ tru=1 ;Taste runter .equ tre=0 ;Taste rechts .equ alltast=(1<<tru)|(1<<tre)|(1<<tho)|(1<<tli) ;Maske aller Tasten .equ vt8=2
in „MENÜ-STEUERUNG“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ne2.asm
NIC_ADDR_PORT, NIC_RST ldi r16, 0x04 nic_init2: rcall nic_wait dec r16 brne nic_init2 ; read + write nic reset register ldi p0, NIC_RSTR out NIC_ADDR_PORT, p0 cbi NIC_ADDR_PORT, NIC_REN nop nop in p1, NIC_DATA_PIN
in „NE2000 DMA Problem“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
system.c
#include "system.h" #include "bits.h" #include "delay.h" /* ** Definitionen */ #define BUZZ1_HIGH PORTE |= BIT4 // Buzzer #define BUZZ1_LOW PORTE &= ~BIT4 #define BUZZ2_HIGH PORTE |= BIT5 #define BUZZ2_LOW PORTE &= ~BIT5 #define RELAY_HIGH PORTA |= BIT6 // Relay (an welchem die LED angeschlossen ist) #define RELAY_LOW PORTA &= ~BIT6 #define TXD (PIND&BIT3) // Pin zum Senden #define RXD (PIND&BIT2) // Pin zum Empfangen #define DALLAS (PINA&BIT5) #define __AVR_ATMEGA128__ 1 #define OSCSPEED 16000000 // CPU Oszillator 16 MHz /* ** Funktionen */ // Initialisiere
in „Falsche Anzeige nach Spannungsverlust“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
m328def.inc
Register bit 2 .equ PC2 = 2 ; For compatibility .equ PORTC3 = 3 ; Port C Data Register bit 3 .equ PC3 = 3 ; For compatibility .equ PORTC4 = 4 ; Port C Data Register bit 4 .equ PC4 = 4 ; For compatibility .equ PORTC5
in „m328def.inc Datei für den ATmega328 bzw. ATmega328P gesucht“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
)|(0<<Button1)|(0<<Button2)); //Arduino Pins A0-A2 as INPUT DDRC |= ((0<<Button3)|(0<<Button4)|(0<<Button5)); //Arduino Pins A3-A5 as INPUT PORTC |=((1<<Button0)|(1<<Button1)|(1<<Button2)); //Pull-Up for Pins A0-A2 PORTC |=((1<<Button3)|(1<<Button4)|(1<<Button5)); //Pull-Up for Pins A3-A5 // PCMSK2 |=((1<<Button0)); //enable PinChangeInterrupt on Button0 // PCICR |=((1<<PCIE2)); //enable PinChangeInterrupt2 DDRB |= ((1<<Channel0)|(
in „6-Kanaldimmer“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
LCD.c
data,buffer,10); LCD_String(buffer); } // Busy-Flag Abfrage void LCD_Busy(void) { volatile uint8_t C = 0, RS = 0; RS = LCD_PIN & (1 << LCD_RS); LCD_DDR &= ~((1 << LCD_D7 ) | (1 << LCD_D6 ) |(1 << LCD_D5 ) | (1 << LCD_D4 ) ); // D4 - D7 als Eingang LCD_PORT |= ((1 << LCD_D7 ) | (1 << LCD_D6 ) |(1 << LCD_D5 ) | (1 << LCD_D4 ) ); // D4 - D7 setzen LCD_PORT &= ~(1 << LCD_RS ); LCD_PORT |= (1 << LCD_RW ); // RW setzen zum Daten lesen do { LCD_PORT |= (1 << LCD_EN ); // Daten stehen an _delay_us(1); C = LCD_PIN
in „Pollin Evaluation Addon-board v1.0 LCD Ansteuerung mit Arduino Problem“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
m32def.inc
= 7 ; Port C Data Direction Register bit 7 ; PINC - Port C Input Pins .equ PINC0 = 0 ; Port C Input Pins bit 0 .equ PINC1 = 1 ; Port C Input Pins bit 1 .equ PINC2 = 2 ; Port C Input Pins bit 2 .equ PINC3 = 3 ; Port C Input Pins bit 3 .equ PINC4 = 4 ; Port C Input Pins bit 4 .equ PINC5 = 5 ; Port C Input Pins bit 5 .equ PINC6 = 6 ; Port C Input Pins bit 6 .equ PINC7 = 7 ; Port C Input Pins bit 7 ; ***** PORTD *
in „Probleme mit KontrollerLab und Assembler“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
simple_server.c
/********************************************* * vim:sw=8:ts=8:si:et * To use the above modeline in vim you must have "set modeline" in your .vimrc * Author: Guido Socher * Copyright: GPL V2 * See http://www.gnu.org/licenses/gpl.html * * Ethernet remote device and sensor * UDP and HTTP interface url looks like this http://baseurl/password/command or http://baseurl/password/ * * Title: Microchip ENC28J60 Ethernet Interface Driver * Chip type : ATMEGA88 with ENC28J60 * Note: there is a version number in the text. Search for tuxgraphics *********************************************/ /************
in „Webpage Webserver“ · Mikrocontroller und Digitale Elektronik ·