-
PDF
AT89S8253-24PU.pdf
in ports 1 and 2 and almost all pins in port 3 (the exceptions are P3.2 INT0 and P3.3 INT1) have their inputs disabled in the Power-down mode. Port pins P3.2 (INT0) and P3.3 (INT1) are active even in Power-down
in „AT89S8253-24PU ersetzen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
stk500boot.c
/***************************************************************************** Title: STK500v2 compatible bootloader Author: Peter Fleury <pfleury@gmx.ch> http://jump.to/fleury File: $Id: stk500boot.c,v 1.6 2006/03/04 19:23:26 peter Exp $ Compiler: avr-gcc 3.4.5 or 4.0.2 / avr-libc 1.4.3 Hardware
in „STK500v2-Bootloader von Peter Fleury“ · Projekte & Code ·
-
PDF
L-356E.pdf
and JP2. The pinout is shown for both modes in the following. Pinout of plug P3 if: JP2 = 1+2 and 3+4; JP9 = 2+3 DB9-plug P3: second CAN interface 5 9 Pin 2: CAN1_L 4 8 3 7 Pin 7: CAN1_H 2 6 Pin3, 6, 8: GND
in „Einige Frage zu einem geschenktem Board“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
mc68hc11a1.pdf
/ D C C C C C / / 1 / / 4 D V I 2 3 4 5/ A A P D2 D D P / O C O O P P P P P A 6 5 4 3/ P P P P P Figure 2 52-Pin PLCC Pin Assignments MC68HC11A8 MOTOROLA MC68HC11A8TS/D 5 PA7/PAI/OC1 1 48 VDD PA6/OC2/OC1 2
in „mc68hc11a1fn-uC-8bit“ · Markt ·
-
Datei
t6963c_main_v3.asm
Text und Grafik an ; einzelne Bits des Statusbytes vom Display .equ STA0 = 0 .equ STA1 = 1 .equ STA2 = 2 .equ STA3 = 3 ;=============================================== ;= Macros = ;=============================================== .MACRO ASSUMECMD cbi PortB, CE ; Übernahmeimpuls an Steuerleitungen cbi
in „Optimierung ASM-Code für GLCD“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
LoRa-E5moduledatasheet_V10.pdf
22dBm max @470MHz dBm 22dBm max @868MHz @SF12, BW125kHz Fr(MHz) min type max Sensitivity 434 - -134.5 -136 dBm 470 - -136.5 -137.5 868 - -135 -137 Harmonics <-36dBm below 1GHz dBm <-40dBm above 1GHz dBm RFIO RF port Interface UART 3 group of UART, include 2pins © 2008-2020 Seeed Technology Co., Ltd. All rightswww.seeedstudio.com 7 / 18 I2C 1 group of I2C, include 2 pins ADC 1 ADC Input, include 1pins,12-bit 1Msps NRST Manual reset pin input SPI 1 group of SPI, include 4 pins 4 Typical RF performance test 4.1 LoRa-E5-LF Performance Testing
in „Birulki: Linux am ESP32, Arduino-USB PD-Netzteil, ESP 32-Spielkonsole.“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
tn4313def.inc
= 7 ; Port B Data Direction Register bit 7 ; PINB - Port B Input Pins .equ PINB0 = 0 ; Port B Input Pins bit 0 .equ PINB1 = 1 ; Port B Input Pins bit 1 .equ PINB2 = 2 ; Port B Input Pins bit 2 .equ PINB3 = 3 ;
in „Woher kriege ich die Datei t4313def.inc?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
pwm_modulation.c
| (0<< DDA3) | (0<< DDA4) | (0<< DDA5) | (0<< DDA6) | (0<< DDA7); // PORTA: PIN: 0-3 = LED [H5- H8] ; PIN: 5-6 = Gyro; PIN: 4,7 = Schalter PORTA = (0<< PA0) | (0<< PA1) | (0<< PA2) | (0<< PA3) | (0<< PA4) | (0<<
in „Rechenzeitproblem im uC ?“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
ASM1506C.pdf
M 00000h-00FFFh O a d d a a g P 00FFFh(4K) 00000h-0BFFFh M O t a D 0BFFFh(48Kx10-bits) 3 Rev 1.0 2002/9/22 ASM1506C 1.2 Pin-Out ASM1506C Pin-Out VDD I - Power supply during operation PRA3-1 I/O STI I/O port with programmable strong pull-low or weak pull-low or Std./O.D. fix-input-floating
in „Welches IC ist das?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
pult.c
uint8_t key_mpex; //die aktive Tasten-Spalte TCNT0 = (uint8_t)(int16_t)-((F_CPU/TEILER) / 1024 * 10e-3 + 0.5); // nun 2,5ms wegen der LED-Frequenz if ((led_mpex % TEILER ) == 0 ) //Tastenabfrage jede 4. Multiplexrunde, da kommen wir wieder auf 10ms { //aktuelle Ports zwischenspeichern spalte_bak = SPALTE_PORT
-
Datei
lcd_init.c
LCD_BPC 0xB5 #define LCD_DFC 0xB6 #define LCD_POWER1 0xC0 #define LCD_POWER2 0xC1 #define LCD_VCOM1 0xC5 #define LCD_VCOM2 0xC7 #define LCD_POWERA 0xCB #define LCD_POWERB 0xCF #define LCD_PGAMMA 0xE0 #define LCD_NGAMMA
in „Lebensdauer von lokalen Variablen“ · Softwareentwicklung ·
-
PDF
MSM486SE-DIGITAL-LOGIC.pdf
Pin 1 Pin 1 = DCD Pin 2 Pin 6 = DSR Pin 3 Pin 2 = RxD Pin 4 Pin 7 = RTS Pin 5 Pin 3 = TxD Pin 6 Pin 8 = CTS Pin 7 Pin 4 = DTR Pin 8 Pin 9 = RI Pin 9 Pin 5 = GND Pin10 = VCC J38 Serial port, secondary COM Header onboard D-SUB connector Signal Pin 1 Pin 1 = DCD Pin 2 Pin 6 = DSR Pin 3 Pin 2 = RxD Pin 4 Pin 7 = RTS Pin 5 Pin 3 = TxD Pin 6 Pin 8 = CTS Pin 7 Pin 4 = DTR Pin 8 Pin 9 = RI Pin 9 Pin 5 = GND Pin10 = VCC J80 Serial port COM4 Header onboard
-
Datei
lcd_routines.c
#include "lcd_routines.h" static void lcd_enable() { GPIO_SetBits(LCD_PORT, LCD_EN); _delay_10us(LCD_ENABLE_10US); GPIO_ResetBits(LCD_PORT, LCD_EN); } //////////////////////////////////////////////////////////////////////////////// // Sendet eine 4-bit Ausgabeoperation an das LCD static void lcd_out(uint8_t data) { data &= 0xF0; //obere 4 Bit GPIO_Write(LCD_PORT, (data>>4)); lcd_enable(); } void lcd_init() { GPIO_InitTypeDef GPIO_InitStructure; // Voreinstellungen GPIO_InitStructure.GPIO_Pin = LCD_RS | LCD_EN | GPIO_Pin_0 | GPIO_Pin_1 | GPIO_Pin_2 | GPIO_Pin_3; GPIO_InitStructure.GPIO_Mode = GPIO_Mode_OUT
in „Anag Vision gibt keine Zeichen aus“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
VSC055.pdf
it affects the P3.5 and P3.4 pins. Register Name: PBC2 Address: 22h Reset Value: 00XX_XX1Xb Bit Bit Label Access Description 7 PBCEN R/W Port Bypass Control Enable When this bit is set, P3.5 and P3.4 are automatically
in „Prüfplatine für 400++ I/Os“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
HAL_ADC_Start(&hadc); // number=digitNumbers[counter]; // HAL_SPI_Transmit_DMA(&hspi1, &number, 1); // put2STR(); // switchDigit(DIGIT1.port, DIGIT1.pin, OFF); /* USER CODE END SysInit */ /* Initialize all configured peripherals */ /* USER CODE BEGIN 2 */ // switch off all Digits and LEDS HAL_GPIO_WritePin(DIGIT1.port, DIGIT1.pin, DIGIT_OFF); HAL_GPIO_WritePin(DIGIT2.port, DIGIT2.pin, DIGIT_OFF); HAL_GPIO_WritePin(DIGIT3.port, DIGIT3.pin, DIGIT_OFF); HAL_GPIO_WritePin(DIGIT4.port, DIGIT4.pin, DIGIT_OFF); HAL_GPIO_WritePin
in „Interrupt wird ständig aufgerufen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
spi.c
SPI_HEADER_SIZE + 5) #define SPI_HEADER_SIZE (5) #define eSPI_STATE_POWERUP (0) #define eSPI_STATE_INITIALIZED (1) #define eSPI_STATE_IDLE (2) #define eSPI_STATE_WRITE_IRQ (3) #define eSPI_STATE_WRITE_FIRST_PORTION (4)
in „MSP430 Interrupt - CC3000 WLAN“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
UARTProtokoll.c
PCF_1_LIGHT 1 #define PCF_2_WATER 2 #define PCF_3_FAN 3 #define PCF_4_SLED_WATER 4 #define PCF_5_SLED_WINDOW 5 #define PCF_6_SLED_USB 6 #define PCF_7_SLED_WLAN 7 #define PCF_ON 1 #define PCF_OFF 2 /* I2C Adressen */ #define ADRESS_PCF
in „Timer1 im CTC und LCD Probleme“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
ADNS2051.pdf
DOF I 250 E 250 E Z P RECOMMENDED P 200 T200 OPERATING T DOF N REGION N 150 DOF 100% U 150 U 100 75% C C 50% 100 100% 50 75% RECOMMENDED 50 50% 0 OPERATING REGION 1.3 1.5 1.7 1.9 2.1 2.3 2.5 2.7 2.9 3.1 3.3 3.5 -51.3 1.5 1.7 1.9 2.1 2.3 2.5 2.7 2.9 3.1 3.3 3.5 HEIGHT – mm (2.4 = NOMINAL FOCUS) HEIGHT
in „Maussensor ADNS 2051 Bild auslesen“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
NECCS04393-1.pdf
• 100-pin plastic LQFP (fine pitch) (14 × 14) 1 0 C I 0I S D 3 / T/ / T I X D K 3 3 P P P P P P 7 K 2 N R T S C S S T T T T T T T 0 C O / S 7 6 5 4 3 2 / 1 0 /I N/N / / N/ / E / 1 / S/ 1 V 1 11 1 1 1 1 1 1 0
in „Anschlussbelegung uP D78P0308GF gesucht“ · Analoge Elektronik und Schaltungstechnik ·
-
PDF
ADUC7019_7020_7021_7022_7024_7025_7026_7027_7028.pdf
0 0 L L 0 [ M / / P O P 1 2 C L 1 P P 2 1 0 D D / / / / C C C D N E . . . . A A A A A V P P P P 1 1 4 3 3 3 3 3 3 3 3 3 ADC3/CMP1 1 30 P1.3/SPM3/PLAI[3] ADC4 2 PIN 1 29 P1.4/SPM4/PLAI[4]/IRQ2 INDICATOR GND REF 3 28 P1.5/SPM5/PLAI
-
Datei
rtc.txt
RtcWriteByte3 cbi PortC, 3 rjmp RtcWriteByte4 RtcWriteByte3: sbi PortC, 3 RtcWriteByte4: nop sbi PortC, 5 rcall ClkLoHiTime cbi PortC, 5 rcall ClkLoHiTime dec temp1 brne RtcWriteByte2 ret RtcReadCommand: cbi DDRC, 3 cbi PortC, 3 sbi PortC, 1 rcall CeClkSetupTime mov dat0, adr0 rcall RtcWriteByte ldi temp1, 8 RtcReadCmd1: clc sbic PinC, 3 sec sbi PortC, 5 ror dat0 rcall ClkLoHiTime cbi PortC, 5 rcall ClkLoHiTime
in „DS1302 - Sekunden / Minuten von 0 - 90!“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
rtc.asm
RtcWriteByte3 cbi PortC, 3 rjmp RtcWriteByte4 RtcWriteByte3: sbi PortC, 3 RtcWriteByte4: nop sbi PortC, 5 rcall ClkLoHiTime cbi PortC, 5 rcall ClkLoHiTime dec temp1 brne RtcWriteByte2 ret RtcReadCommand: cbi DDRC, 3 cbi PortC, 3 sbi PortC, 1 rcall CeClkSetupTime mov dat0, adr0 rcall RtcWriteByte ldi temp1, 8 RtcReadCmd1: clc sbic PinC, 3 sec sbi PortC, 5 ror dat0 rcall ClkLoHiTime cbi PortC, 5 rcall ClkLoHiTime
in „DS1302 - Sekunden / Minuten von 0 - 90!“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
stm32f30x_gpio.c
OUT, TIM2, TIM15, TIM16, TIM17. * @arg GPIO_AF_2: COMP1_OUT, TIM1, TIM2, TIM3, TIM4, TIM8, TIM15. * @arg GPIO_AF_3: COMP7_OUT, TIM8, TIM15, Touch. * @arg GPIO_AF_4: I2C1, I2C2, TIM1, TIM8, TIM16, TIM17. * @arg GPIO_AF_5: IR_OUT, I2S2, I2S3, SPI1, SPI2, TIM8, USART4, USART5 * @arg GPIO_AF_6: IR_OUT, I2S2, I2S3, SPI2, SPI3, TIM1, TIM8 * @arg GPIO_AF_7: AOP2_OUT, CAN, COMP3_OUT, COMP5_OUT, COMP6_OUT, USART1, * USART2,
in „Probleme mit dem STM32F3Discoery, mal wieder.“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
TID.c
> #include <string.h> #define _PORT PORTD #define _DDR DDRD #define _PIN PIND #define _SCL_out 0 #define _SCL_in 1 #define _MRQ_out 2 #define _MRQ_in 3 #define _SDA_out 4 #define _SDA_in 5 #define _AA 6 #define _address 0x4A #define _
in „Hat schonmal einer ein Opel TID ->erfolgreich<-angesteuert ?“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
Atiny2313.pdf
4.5 -40 °C 4 3.5 25 °C 3 85 °C A ( 2.5 n e 2 u C 1.5 1 0.5 0 0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5 V OL(V) Figure 116. Reset I/O Pin Sink Current vs. Output Voltage (V = 1.8V) CC RESET I/O PIN SINK CURRENT vs.
in „Suche tutorial“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
68hc68p1e.pdf
9. PORT-PIN DATA CHANGES 7 CDP68HC68P1 Ceramic Dual-In-Line Metal Seal Packages (SBDIP) c1 LEAD FINISH D16.3 MIL-STD-1835 CDIP2-T16 (D-2, CONFIGURATION C) -A- -D- 16 LEAD CERAMIC DUAL-IN-LINE METAL SEAL PACKAGE
in „maximale unabhängige Ausgänge“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
FPGA-TN-02001-3-2-iCE40-Programming-Configuration.pdf
258424 iCE40-LP/HX 4K 135183 1081464 iCE40-LP/HX 8K 135183 1081464 iCE40LM 1K 68177 545416 iCE40LM 2K 68177 545416 iCE40LM 4K 68176 545408 iCE5LP 1K 71342 570736 iCE5LP 2K 71342 570736 iCE5LP 4K 71342 570736 iCE40UL 640 30942 247536 iCE40UL 1K 30942 247536 iCE40UP 3K 104161 833288 iCE40UP 5K 104161
-
Datei
main.c
// Mainclock 10MHz #include <atmel_start.h> void Port_Init(void); void TCA0_HardReset(void); void TCA0_SplitMode_Init (void); uint8_t low_TCA_Frequenz = 88; uint8_t low_TCA_DutyCycle = 88; uint8_t high_TCA_Frequenz = 199; uint8_t high_TCA_DutyCycle = 199; int main(void) { atmel_start_init(); // Initializes MCU, drivers and middleware TCA0_HardReset(); Port_Init(); TCA0_SplitMode_Init(); while (1) { } } void TCA0_SplitMode_Init (void) { PORTMUX.TCAROUTEA = PORTMUX_TCA0_PORTA_gc; // set waveform output default PORT.A, Manual 14.2 TCA0.SPLIT.CTRLD = TCA_SPLIT_SPLITM_bm; // enable split mode TCA0.SPLIT.CTRLB
in „megaAVR 0-Series“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
msp430fr5969.pdf
frequency(3) configured output port MHz Port_CLK (5) 3.0 V 16 D C L 20 pF 2.2 V 4 15 U trise,dig Port output rise time, digital only port pins C L 20 pF ns C 3.0 V 3 15 2.2 V 4 15 T tfall,dig Port output fall time, digital only port pins C L 20 pF ns 3.0 V 3 15 P R t Port output rise time, port pins with shared C = 20 pF 2.2 V 6 15 ns rise,ana analog functions L 3.0 V 4 15 E V Port output fall time, port pins with shared 2.2 V
in „Probleme mit Konfiguration der SPI-Schnittstelle am MSP430“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
Sensirion_Humidity_SHT21_Sample_Code_V1.2.pdf
(I2C_ADR_R); //I2C address u8SerialNumber[5] = I2c_ReadByte(ACK); //Read SNB_3 I2c_ReadByte(ACK); //Read CRC SNB_3 (CRC is not analyzed) u8SerialNumber[4] = I2c_ReadByte(ACK); //Read SNB_2 I2c_ReadByte(ACK
in „SHT11 SHT21 unterschiedliche Luftfeuchte Werte“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
test.c
(..._P: PORT/PIN/DDR, ..._B: Bit) #define LCD_D(bez) verbinden (bez,D) #define LCD_RS_P(bez) verbinden (bez,C) #define LCD_RS_B 6 #define LCD_RW_P(bez) verbinden (bez,A) #define LCD_RW_B 5 #define LCD_E1_P(bez)
in „Cursor oder Anzeige schieben beim HD44780-LCD“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
SST89x516.pdf
2 OL = 100µA 0.3 V OL = 1.6mA2 0.45 V 2 OL = 3.5mA 1.0 V V Output Low Voltage (Port 0, ALE, V = 4.5V OL1 1,3 DD PSEN#) OL = 200µA2 0.3 V 2 OL = 3.2mA 0.45 V V Output High Voltage (Ports 1, 2, 3, ALE, V
in „Einstieg in 8051 - Atmels AT89S52 oder?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
simple_tx.c
not needed for CAN operation. // InitConsole(); // // For this example CAN0 is used with RX and TX pins on port B4 and B5. // The actual port and pins used may be different on your part, consult // the data sheet for more information. // GPIO port B needs to be enabled so these pins can be used. // TODO
in „CAN-Bus mit TM4C123G und MCP2562“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
test.c
(char c, FILE *stream) { uart_sendchar(c); return 0; } void load_sine_wave() { uint8_t i; for (i = 0; i < WF_SAMPLE_CNT; i++) { data12[i] = ( ( sin( (2.0 / (float) WF_SAMPLE_CNT) * (float) i * M_PI) * 0.5 +
in „Xmega Soundcheck“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Neu_Textdokument__3_.txt
F_CPU 3686400 #include <avr/io.h> #include <util/delay.h> // Pinbelegung für das LCD, an verwendete Pins anpassen // DB4 bis DB7 des LCD sind mit PD0 bis PD3 des AVR verbunden #define LCD_PORT PORTD #define LCD_DDR DDRD #define LCD_RS PD5 #define LCD_EN PD4 /////////////////////////////////////////////
in „Nicht alle selbstdefinierten Zeichen gehen.“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
usiTwiSlave.c
) | \ defined( __AVR_ATmega329__ ) | \ defined( __AVR_ATmega3290__ ) #define DDR_USI DDRE #define PORT_USI PORTE #define PIN_USI PINE #define PORT_USI_SDA PE5 #define PORT_USI_SCL PE4 #define PIN_USI_SDA PINE5 #define PIN_USI_SCL PINE4 #define USI_START_COND_INT USISIF #define USI_START_VECTOR USI_START_vect
in „I2C Übertragungsproblem“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
sn74lvc8t245.pdf
B V 1 24 V C C CCA CCB VC V DIR 2 23 VCCB A1 3 22 OE 1 24 A2 4 21 B1 DIR 2 23 VCCB 22 A3 5 20 B2 A1 3 OE A4 6 19 B3 A2 4 21 B1 A3 5 20 B2 A5 7 18 B4 A6 8 17 B5 A4 6 19 B3 A7 9 16 B6 A5 7 18 B4 A6 8 17 B5 A8 10 15
in „STM32F3: Problem mit hoher Stromaufnahme“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
AVR_ATmega_328PB.pdf
I X X X X X T / / T T T T T / X X / / / / / T C C O 1 1 2 D B P P L C C C X 0 A ( / ( O/ / / O 0 P S D O ( O I ( X I ( ( / M S ( O ( 5.1. Pin Descriptions 5.1.1. VCC Digital supply voltage. 5.1.2. GND Ground. 5.1.3. Port B (PB[7:0]) XTAL1/XTAL2/TOSC1
in „ATmega328PB: UART(MC) empfängt falsche Daten“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
DOKUMENTATION_MSP430-F2013.pdf
0-85C 3.0 V -2.5 0.5 +2.5 % 8 MHz tolerance over temperature 0-85C 3.0 V -2.5 1.0 +2.5 % 12 MHz tolerance over temperature 0-85C 3.0 V -2.5 1.0 +2.5 % 16 MHz tolerance over temperature 0-85C 3.0 V -3.0
in „MSP430 2013 XOUT/XIN ansteuern“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
SX_Using_GPIO.pdf
port4[7,5,3,1] as output and port4[6,4,2,0] as input*/ outportb(0x9c, 0xaa); /* write data to GPIO port4[7,5,3,1], the bit 6,4,2 and0 will be ignored */ outportb(0x7c, 0xff); /* read data from port4[6,4,2,0
in „Linux: GPIO auf Dateisystem abbilden“ · Softwareentwicklung ·
-
Datei
lcd.c
/* Ansteuerung eines HD44780 kompatiblen LCD im 4-Bit-Interfacemodus http://www.mikrocontroller.net/articles/HD44780 http://www.mikrocontroller.net/articles/AVR-GCC-Tutorial/LCD-Ansteuerung Die Pinbelegung ist über defines in lcd.h einstellbar */ #include <avr/io.h> #include "main.h" #include "lcd.h" #include <util/delay.h> ///////////////////////////////////////////////////////////////////////////////// // Erzeugt einen Enable-Puls static void lcd_enable( void ) { LCD_EN_PORT |= (1<<LCD_EN); // Enable auf 1 setzen _delay_us( LCD_ENABLE_US ); // kurze Pause LCD_EN_PORT &= ~(1<<LCD_EN); // Enable
in „ADC-Wert nicht linear beim Einlesen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.c
/* Ansteuerung eines HD44780 kompatiblen LCD im 4-Bit-Interfacemodus http://www.mikrocontroller.net/articles/HD44780 http://www.mikrocontroller.net/articles/AVR-GCC-Tutorial/LCD-Ansteuerung Die Pinbelegung ist über defines in lcd.h einstellbar */ #include <avr/io.h> #include "main.h" #include "lcd.h" #include <util/delay.h> ///////////////////////////////////////////////////////////////////////////////// // Erzeugt einen Enable-Puls static void lcd_enable( void ) { LCD_EN_PORT |= (1<<LCD_EN); // Enable auf 1 setzen _delay_us( LCD_ENABLE_US ); // kurze Pause LCD_EN_PORT &= ~(1<<LCD_EN); // Enable
in „LCD Atmega 168 Problem initialisiert nicht, kann mir jemand compilieren?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Main.c
----------- //RPOR0bits.RP0R = 7; // Make Pin 4 > RP0 SDO1 FUNKTIONIERT! //RPOR0bits.RP1R = 7; // Make Pin 5 > RP1 SDO1 FUNKTIONIERT! //RPOR1bits.RP2R = 7; // Make Pin 6 > RP2 SDO1 FUNKTIONIERT! //RPOR1bits.RP3R = 7; // Make Pin 7 > RP3 SDO1 LÄUFT NICHT > 3,3V PEGAL AM AUSGANG //RPOR2bits.RP4R = 7; // Make Pin 11 > RP4 SDO1 FUNKTIONIERT! //RPOR2bits.RP5R = 7; // Make Pin 14 > RP5 SDO1 FUNKTIONIERT! //RPOR3bits.RP6R = 7; // Make Pin 15 > RP6 SDO1 FUNKTIONIERT
in „PIC24F SPI Mode (Slave Select Pin tut nicht)“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
doc2535.pdf
(V) 132 ATtiny13 2535J–AVR–08/10 ATtiny13 Figure 19-20. I/O Pin Source Current vs. Output Voltage (Low Power Ports, V CC = 2.7V) I/O PIN SOURCE CURRENT vs. OUTPUT VOLTAGE LOW POWER PORTS, V CC= 2.7V 25 -40 °C 20 25 °C 85 °C 15 A m H I 10 5 0 0 0.5 1 1.5 2 2.5 3
in „RGB PWM mit Attiny13“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
doc2535.pdf
(V) 132 ATtiny13 2535J–AVR–08/10 ATtiny13 Figure 19-20. I/O Pin Source Current vs. Output Voltage (Low Power Ports, V CC = 2.7V) I/O PIN SOURCE CURRENT vs. OUTPUT VOLTAGE LOW POWER PORTS, V CC= 2.7V 25 -40 °C 20 25 °C 85 °C 15 A m H I 10 5 0 0 0.5 1 1.5 2 2.5 3
in „ATtiny13 mit 20MHz“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
teststk_mega16.c
WRITE_PIN 0 //in this case #define READ_PIN 1 //in this case #define CHIP_ENABLE_PIN 2 //in this case #define DATA_COMMAND_PIN 3 //in this case #define RESET_PIN 4 //in this case #define FONT_SELECT_PIN 5 //in
in „LCD an T6963C und ATMega323“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.h
LCD_DATA1_PORT LCD_PORT //< port for 4bit data bit 1 #define LCD_DATA2_PORT LCD_PORT //< port for 4bit data bit 2 #define LCD_DATA3_PORT LCD_PORT //< port for 4bit data bit 3 #define LCD_DATA0_PIN 5 //< pin for 4bit data bit 0 braun #define LCD_DATA1_PIN 2 //< pin for 4bit data bit 1 gelb #define LCD_DATA2_PIN 4 //< pin for 4bit data bit 2 weiß #define LCD_DATA3_PIN 3 //< pin for 4bit data bit 3 grün #define LCD_RS_PORT PORTB //< port for RS line #define
in „LCD-Ansteuerung schwarzer Balken“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
mifaretest.c
; DDRA=0x00; // Port B initialization // Func7=In Func6=In Func5=In Func4=In Func3=Outn Func2=In Func1=In Func0=In // State7=T State6=T State5=T State4=T State3=0 State2=T State1=T State0=T PORTB=0x00; DDRB=0x08; // Port C initialization // Func7=Out Func6=In Func5=Out Func4=Out Func3=Out Func2=Out Func1=Out Func0=Out // State7=0 State6=T State5=0 State4=0 State3=0 State2=0 State1=0 State0=0 PORTC=0x00; DDRC=0xBF; // Port
in „Ports beschreiben und wieder auslesen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
KEY_3X4.C
/************************************************************************/ /* */ /* Reading Matrix Keyboard 3*4 with debounce */ /* */ /* Author: P. Dannegger */ /* danni@specs.de */ /* */ /************************************************************************/ #include <io.h> #include <interrupt.h> #include <pgmspace.h> typedef unsigned char u8; typedef unsigned short u16; #define XTAL 8e6 // 8MHz #define KEY_PIN PINB // B3..0 = inputs #define KEY_PORT PORTB #define KEY_DDR DDRB #define KEY_ROW0 PORTB4 // B6..4 = outputs #define KEY_ROW1 PORTB5 #define KEY_ROW2 PORTB6 static inline u16 key_scan
in „3x4 Tastenmatrix auslesen“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
MCS8140_DataSheet_Rev1.1.pdf
T T F 2 2 2 2 K I O T T F 3 3 3 3 K K d K 5 6 7 8 9 2 3 0 0 5 4 N N K O N 2 3 9 6 7 8 0 1 2 3 4 5 9 K 8 7 6 4 3 2 1 0 1 1 N N R R E M P B B C S C R R E M P B B C D v L _ _ _ _ _ _ _ _ _ _ _ _ _ _ D 3 _ _ _ _
in „Moschip Programierbarer Ethernet und USB Controller“ · Mikrocontroller und Digitale Elektronik ·