-
Datei
fet140_tb04.c
//****************************************************************************** // MSP-FET430P140 Demo - Timer_B Toggle P1.0, overflow ISR, 32kHz ACLK // // Description; Toggle P1.0 using using software and the timer_B overflow ISR. // In this example an ISR will trigger when TB overflows. Inside
in „MSP430 TimerB“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
RTC_Sample_03.c
//****************************************************************************** // // MSP430F5418 // ----------------- // /|\ | XIN|- // | | | 32kHz // ---|RST XOUT|- // | | // | P6.1|-->LED // // Built with IAR Embedded Workbench Version: 4.20 //****************************************************************************** #include <msp430x54x.h> extern int SetRTCYEAR(int year); extern int SetRTCMON(int month); extern int SetRTCDAY(int day); extern int SetRTCHOUR(int hour); extern int SetRTCMIN(int min); extern int SetRTCSEC(int sec);
in „MSP430 RTC Alarm Interrupt“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lin.c
#include <msp430x14x.h> #include "var.h" #include "help.h" #include "lcd.h" #include "lin.h" #include "uart.h" unsigned char flag; unsigned char charcount void main(void) { WDTCTL = WDTPW + WDTHOLD;// Watchdog Timer
in „MSP430 Problem mit UART Empfang“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
//#include <io430x22x4.h> #include <msp430x22x4.h> #include <intrinsics.h> #include "Init.h" #include "cfg.h" #include "main.h" #include <stdbool.h> unsigned int irq_count; // Zählvariable bool flag; void main( void
in „Interrup bei MSP430 - Bewegungssensor“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
msp430xG46x_usart1_uart_2400.c
//****************************************************************************** // MSP430xG46x Demo - USART1, Ultra-Low Pwr UART 2400 Echo ISR, 32kHz ACLK // // //****************************************************************************** #include <msp430xG46x.h> void main(void) { volatile
in „msp430xG46x_usart1_19200.c "tested"?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
delay.c
// Zeitverzögerung // Takt: XT2; 4 MHz // #include <msp430x14x.h> #include "msp430def.h" #define NOP asm(" nop \n") unsigned int irq_count; // Zählvariable // Interruptroutine #pragma interrupt_handler count_CCRO:TIMERA0_VECTOR void count_CCRO(){ irq_count
in „Problem mit Timer (MSP430F149)“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
LTspice-PWL_Kette_4MHZ_LVC8T245_1V8_Zeit_U.txt
6.270E-009 -1.150E-002 6.390E-009 1.330E-002 6.520E-009 4.490E-002 6.670E-009 8.620E-002 6.850E-009 1.430E-001 7.030E-009 2.090E-001 7.180E-009 2.660E-001 7.320E-009 3.260E-001 7.480E-009 3.950E-001 7.640E-009 4.700E-001 7.980E-009 6.380E-001 8.240E-009 7.770E-001 8.450E-009 8.850E-001 8.950E-009 1.160E
in „Clock 1,8 V 9 mA Drive Strength bei 50 Ohm Leiterbahn“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Sinussweep.txt
#include <msp430x26x.h> #include <iostream.h> unsigned long int w_repeat = 0; //Aktuelle Halbwelle unsigned long int w_repeat_stop = 0; //Maximale Anzahl von Halbwellen unsigned int w_MaxSPG = 0; //Maximale Spannung
in „Sinuserzeugung mit DAC: Probleme Interrupterzeugung für DAC durch TimerB Compareregister“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
0217b-DS10-SD-sektor_auslesen-als_antwort_senden.c
29.8.21 //Änderungen: /************************************************************************/ // MSP430F1611 // ----------------- // | XIN|- 32,768kHz // | | | // Taster rot--|RST (58) XOUT|- 32,768kHz //8 MHz X2OUT- | P1.0..P1.7|Daten FKA LMK62 // 8 Mhz X2IN- | | // | P3.0| frei (28) Stecker umbauen
in „512 Byte-Sektor einer SD-Karte mit E32-868T drahtlos übertragen“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
CapXon_interelcom.ru_files_doc_KZ.pdf
0.40 180 6.3x11 215 0.72 6.3x11 280 0.43 6.3x11 380 0.32 220 6.3x11 295 0.62 6.3x11 300 0.60 6.3x11 430 0.25 270 6.3x11 320 0.50 8x11.5 405 0.28 8x11.5 480 0.20 330 6.3x11 380 0.45 8x11.5 465 0.25 8x11.5 595 0.15 l 470 8x11.5 460 0.22 8x11.5 500 0.22 8x11.5 650 0.15 a 560 8x11.5 490 0.22 8x11.5 620 0.17
in „Erfahrungswerte mit passiven Bauteilen Elkos?“ · Analoge Elektronik und Schaltungstechnik ·
-
Datei
fet140_adc12_06.c
//****************************************************************************** // MSP-FET430P140 Demo - ADC12, Repeated Single Channel Conversions // // This example shows how to perform repeated conversions on a single channel // using "repeat-single-channel" mode. AVcc is used for the reference
in „MSP430 - ADC12 -repeated conversations“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
adb87.pdf
0,35 800 1,85 86 ADB87S01-D 200 35 / 105 5,38 / 16,15 48 / 6000 6,50 0,18 0,35 800 1,85 86 ADB87M01-S 430 140 / 420 10,77 / 32,31 48 / 3000 13,00 0,07 0,53 1600 2,60 113 ADB87M01-D 430 70 / 212 9,09 / 27,27 48 / 6000 7,70 0,07 0,53 1600 2,60 113 ADB87L01-S 650 210 / 630 17,95 / 53,85 48 / 3000 11,70 0,07
in „Suche gute Freilaufdioden für BLDC-Endstufe“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
//#include <io430x22x4.h> #include <msp430x22x4.h> #include <intrinsics.h> #include "Init.h" #include "cfg.h" #include "main.h" unsigned int irq_count; // Zählvariable void main( void ) { initOSC(); // init HF Mode for
in „Interrup bei MSP430 - Bewegungssensor“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
//#include <io430x22x4.h> #include <msp430x22x4.h> #include <intrinsics.h> #include "Init.h" #include "cfg.h" #include "main.h" #include <stdbool.h> unsigned int irq_count; // Zählvariable bool flag; void main( void
in „Interrup bei MSP430 - Bewegungssensor“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
//#include <io430x22x4.h> #include <msp430x22x4.h> #include <intrinsics.h> #include "Init.h" #include "cfg.h" #include "main.h" #include <stdbool.h> unsigned int irq_count; // counting var bool flag; // is sonth. to
in „Interrup bei MSP430 - Bewegungssensor“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
zaehler.c
#include <msp430.h> #include <msp430f2012.h> void io_init(void); void logik(void); volatile uint32_t rest_spuelzeit; volatile uint32_t zeit_nicht_gespuelt; volatile uint8_t timer_flag; uint16_t P2value = 1023; uint32
in „MSP430F2012 usigned long Timertakte Zaehlen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
sleep.c
=== * s l e e p . c * * Author: Lars Heinrichs Date: Oct 2014 * * Contains a sleep function for MSP430 * sleep sends MSP to LPM3 mode with active Interrupts * uses the timer module TIMER0_A0 for wake up * * ======================================================= * * Call sleep_Setup() before first usage of sleep() */ #include <msp430.h> void sleep_Setup(void) { TA0CCTL0 = CCIE; // enable CCR0 interrupt (IF on reaching TA0CCR0) TA0CCR0 = 32000; // Default timer CCR0, will be overwritten when calling sleep() TA0EX0 = 7; // Set divider
in „MSP430 Low Power Mode Interrupt Timer mit wählbarer Dauer“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
Strombelastbarkeit.pdf
und Leitungen entsprechend kreise und zum Schutz sehr empfindlicher Betriebsmittel. DIN VDE 0100 – 430, wenn die Bedingung I b ≤ n ≤ z ein- gehalten wird. * hier nicht weiter ausgeführt Auslöse-Charakteristik B, C Auslöse-Charakteristik K, Z nach DIN EN 60898-1 (VDE 0641-11) nach DIN EN 60947-2 (VDE
in „Kleiner Elektromotor wiegt 350g und zeiht 100A im Dauerbetrieb“ · Analoge Elektronik und Schaltungstechnik ·
-
PDF
Strombelastbarkeit.pdf
und Leitungen entsprechend kreise und zum Schutz sehr empfindlicher Betriebsmittel. DIN VDE 0100 – 430, wenn die Bedingung I b ≤ n ≤ z ein- gehalten wird. * hier nicht weiter ausgeführt Auslöse-Charakteristik B, C Auslöse-Charakteristik K, Z nach DIN EN 60898-1 (VDE 0641-11) nach DIN EN 60947-2 (VDE
in „32A CEE Steckdose mit 25A absichern?“ · Haus & Smart Home ·
-
Datei
msp430x2xx_hello.c
#include "msp430g2231.h" #include "inttypes.h" #define LED1 BIT0 // red Led #define LED2 BIT6 // green Led #define TXD BIT1 // TXD on P1.1 #define Bitime 104 // 9600 Baud, SMCLK=1MHz (1MHz/9600)=104 uint8_t BitCnt;
in „MSP 430 Launchpad TX, printfEasy“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
TIMERTEST_V1.c
Timer B0 // soll Timer B0 abgeschaltet werden // das soll sich fortlaufend wiederholen #include <MSP430x16x.h> // für MSP430F1610 void STOP_B0 (void); void StartB0 (void); void TimerB0_einstellen(void); void TimerA0_einstellen(void); unsigned char Messwert; unsigned int g; void main(void) { WDTCTL = WDTPW
in „MSP430- TimerA0 soll TimerB0 wiederholt starten“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
SPI_Slave.txt
#include <msp430x20x3.h> #include <msp430.h> void spi_out(void); volatile int test = 0x00; volatile int i=0; //####################################### //################## !!! Nützliche Beispiele !!! //#############
in „MSP430F2013 SPI Slave versendet komisch“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
SPI_Slave.txt
#include <msp430x20x3.h> #include <msp430.h> void spi_out(void); volatile unsigned int empfangen = 0x00; volatile unsigned int senden =0x00; volatile int i=0; //####################################### //############
in „MSP430F2013 SPI Slave versendet komisch“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
SPI_Slave.txt
#include <msp430x20x3.h> #include <msp430.h> void spi_out(void); volatile unsigned int empfangen = 0x00; volatile unsigned int senden =0x00; volatile int i=0; //####################################### //############
in „MSP430F2013 SPI Slave versendet komisch“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
1671733.pdf
Dimensions : ø20mm (+0 / -0.3) 3.2mm (+0 / -0.2) (Dia. Overall Height) Terminals Case Terminal : SUS430+Ni-Plated Cap Terminal : SUS430+Ni-Plated Discharge Characteristic Temperature Characteristic Load vs. Operating voltage Load vs. Capacity www.element14.com www.farnell.com www.newark.com Page <1> 15
in „3kg CR2032 Lithium Knopfbatterien Farnell (ca. 500-800 Stück)“ · Markt ·
-
Datei
msp-dmx.c
/************************************/ // msp430-dmx512-recv proto // // Patick Schöberl // // // Clock = 8MHz // // Device = MSP430F149 // /************************************/ #include <signal.h> #include <io.h> void init_uart_dmx(); interrupt
in „DMX schrittmotor steuerung“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main1.c
//#include <io430x22x4.h> #include <msp430x22x4.h> #include <intrinsics.h> #include <stdbool.h> #include "Init.h" #include "cfg.h" #include "main.h" #include "define.h" unsigned int irq_count,i; // counting var bool
in „MSP430 Generelle PWM Frage“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
w5500_spi.c
//MSP430G2553 SPI w5500 functions //-Function--------------------------------------------------------------------- // SPI init for MSP430G2553 void spi_init(void) { BCSCTL1 = CALBC1_1MHZ; DCOCTL = CALDCO_1MHZ
in „Wiznet W5500 Datenübertragung via Ethernet“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
wechselrichter.c
0,8,16,24,31,39,47,55,63,70,78,86,94,101,109,116,124,132,139,147,154,162,169,176,184,191,198,205,212,220,227,233,240,247,254,261,267,274,280,287,293,300,306,312,318,324,330,336,342,347,353,358,364,369,374,379,384,389,394,399,404,408,413,417,421,425,430,433,437,441,445,448,452,455,458,461,464,467,469,472,475,477,479,481,483,485,487,489,490,492,493,494,495,496,497,497,498,498,499,499,499,499,499,498,498,497,497,496,495,494,493,492,490,489,487,485,483,481,479,477,475,472,469,467,464,461,458,455,452,448,445,441,437,433,430,425,421,417,413,408,404,399,394,389,384,379,374,369,364,358,353,347,342,336,330,324,318,312,306,300,293,287,280,274,267,261,254,247,240,233,227,220,212,205,198,191,184,176,169,162,154,147,139,132,124,116,109,101,94,86,78,70,63,55,47,39,31,24,16,8
in „Wechselrichter Sinus Form“ · Analoge Elektronik und Schaltungstechnik ·
-
Datei
ADC-SPI.txt
#include <msp430x20x3.h> #include <msp430.h> void spi_out(void); void main(void) { WDTCTL = WDTPW + WDTHOLD; // Stop watchdog Timer BCSCTL1 = CALBC1_1MHZ; // Master clk auf 1MHz setzen um Stromsparend zu arbeiten DCOCTL
in „MSP430F2013 ADC einlesen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
I2C.h
//Erstellung einer Headerdatei für die I2C Schnittstelle für den µC MSP430 Launchpad v1.5 #ifndef I2C_H_ #define I2C_H_ #include <msp430.h> //Die Adresse des Slaves hier eingeben #define Slave_Adresse 0x40 void I2C_Init(void); void I2C_Startbit(void); void I2C_Stopbit(void
in „MSP430 I2C Ansteuerung - Veratändnis Probleme“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
Mabuchi_re_260ra.pdf
·cm] 50 I E [ I E [ I R E TORQUE I R E TORQUE F U P F U P E C S E C S マブチモーター株式会社(本社 営業部) 千葉県松戸市松飛台430番地 〒270-2280 Tel. 047-710-1106 Fax. 047-710-1132 MABUCHIMOTORCO.,LTD. 430 Matsuhidai, Matsudo City, Chiba 270-2280, Japan Tel. 81-47-710-1106 Fax. 81-47-710-1132 (Headquarters Sales Dept.|总公司 营业部) E-mail
in „Anzeige Benzintank leer mittels Stromaufnahme Benzinpumpe“ · Analoge Elektronik und Schaltungstechnik ·
-
PDF
kabelquerschnitte.pdf
Leitungen nach DIN 57100 Teil 523/VDE 0100 Teil 523.6-81 Zuordnung von Schutzorganen* nach DIN 57 100 Teil 430/VDE 0100 Teil 430.6.81,max. Umgebungstemperatur 30°C Gruppe 1 Gruppe 2 Gruppe 3 Eine oder mehrere in Rohr Mehraderleitungen, z. B. Mantel- Einadrige, frei in Luft verlegte verlegte einadrige Leitungen
in „Verbindung Akku zu PCB: Wie richtig absichern?“ · Analoge Elektronik und Schaltungstechnik ·
-
PDF
apem_08162017_16300-1158414.pdf
16324- 5 11.4 1 22.8 6 . 4 Min. 15.3 1 14.4 unimec Vario Support . 12.412 (1x3) 16.421 (2x3) 6 16.430 (373) 11.4 1 45.7 . 0 8 6 . 5 45.7 30.5 1 45.7 16.42 (2x3).410 (1x1) 16.430 (3x3) 15.24 1 3 3.0 . 45.7 4 30.5 7 45.7 30.5 6 8.6 22.8 3 . 0 Min. 15.3 45.7 5 30.5 1 45.7 14.47 61.0 8 3 1 15.2 16.410 (
in „Suche Einbautaster mit 2 Leuchtanzeigen“ · Analoge Elektronik und Schaltungstechnik ·
-
Datei
spi.c
************************************************************************************** #ifdef __ICC430__ #pragma vector=TIMERB0_VECTOR __interrupt void Timer_B (void) { #else interrupt (TIMERB0_VECTOR) Timer_B(void){ //GCC Compiler #endif _EINT(); if(sample_count < samples) { TBCCR0 += 4096; // Add Offset
in „MSP430 Taktdiagramm“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Capture_Input.txt
75% ################################################################################ #include "msp430g2553.h" // Headerdatei für MSP430 G2553 einbinden //#include "addon_board.h" // Headerdatei für Erweiterungsplatine unsigned int rising_edge, falling_edge, time_impuls; int durchlauf = 1; void main
in „MSP430 Auslesen einer Impulsdauer mit Capture“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
I2C.h
//Erstellung einer Headerdatei für die I2C Schnittstelle für den µC MSP430 Launchpad v1.5 #ifndef I2C_H_ #define I2C_H_ #include <msp430.h> //Die Adresse des Slaves hier eingeben #define Slave_Adresse 0b0100000 void I2C_Init(unsigned char RW); void I2C_NACKbit(void); void
in „MSP430 I2C Ansteuerung - Veratändnis Probleme“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
F9_Strombelastbarkeit.pdf
nach DIN 57 100 Teil 523 / VDE 0100 Teil 523/6.81 Zuordnung von Schutzorganen* nach DIN 57 100 Teil 430 / VDE 0100 Teil 430/6.81, max. Umgebungstemperatur 30° C Gruppe 1 Gruppe 2 Gruppe 3 Eine oder mehrere in Rohr verlegt Meraderleitungen, z. B. Mantelleitungen, Einadrige, frei in Luft verlegte Leitungen
in „2,5mm² oder 4mm² Leitung“ · Analoge Elektronik und Schaltungstechnik ·
-
Datei
I2C.h
//Erstellung einer Headerdatei für die I2C Schnittstelle für den µC MSP430 Launchpad v1.5 #ifndef I2C_H_ #define I2C_H_ #include <msp430.h> //Die Adresse des Slaves hier eingeben #define Slave_Adresse 0x40 void I2C_Init(unsigned char RW); void I2C_Startbit(void); void I2C_Stopbit
in „MSP430 I2C Ansteuerung - Veratändnis Probleme“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
MSP430_RFM12_Adapt_V14.pdf
1 2 3 4 5 6 7 8 9101 1 1 1 100n J 1 2 3 4 1 2 A A P P GND 14.01.2013 14:38:45 F:\workshop_EAGLE\MSP430_RFM12_Adapt_V14\MSP430_RFM12_Adapt_V14.sch (Sheet: 1/1)
in „Biete Stand alone Leer-Platine für MSP430G (TI) / RFM12B / LCD“ · Markt ·
-
Datei
initialization.c
initialization.c written by S. Grünenwald / reflectionRacing CarRacingTechnologie // Initialisierung Hardware MSP430F149 // ************************************************************************************* #include <msp430x14x.h> #include <stdlib.h> #include <stdio.h> #include <signal.h> void delay(unsigned int
in „Bitprobleme mit SPI“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
msp_board_1_main.c
************************** // Author : Christian Hoefling Date : 04/04/06 // // Target Device : MSP430F2012 // // // Description : Convertion with ADC10, then transmission via SPI interface // // // //********************************************************************************************************************************** #include <msp430x20x2.h> void main(void) { P1DIR |= 0x01; // Set P1.0 to output direction WDTCTL = WDTPW + WDTHOLD; // Stop watchdog timer DCOCTL = DCO2 + DCO1 + DCO0; // DCO = 7 sets frequency of digital controled
in „Problem mit MSP430“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
xtals4915_01-30aa.pdf
4.913,588 251,5 89,00 12,36 71,1037 14,75539 177.610 18 4.913,538 252,9 87,50 14,29 71,9222 14,58775 155.430 19 4.913,496 274,9 85,75 16,62 67,5167 15,53988 125.430 20 4.913,542 256,3 90,00 11,11 68,9968 15,20624 191.711 21 #DIV/0! #DIV/0! #DIV/0! #DIV/0! 22 4.913,597 245,1 89,50 11,73 72,5527 14,46064 190.927
in „Quarz mit großem Ziehbereich (für VCXO)“ · Analoge Elektronik und Schaltungstechnik ·
-
Datei
DS10-g0075-PID.c
Messstelle 4 = Spannungseingang P6.0 */ //rechts Kanal 4 /* Akku = Spannungseingang P6.1 */ // MSP430F1611 // ----------------- // | XIN|- 32,768kHz // | | | // Taster rot--|RST (58) XOUT|- 32,768kHz //8 MHz X2OUT- | P1.0..P1.7| Daten FKA LMK62 //8 Mhz X2IN- | | // | P3.0| Motorsteuerung A // UTXD0
in „Wie 2x interrupt verschachteln, MSP430“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
init.c
// Dimmer Routinen zur initialisierung // Diese Routinen sind bestandteil des MSP430 Dimmers void mcu_init(void) // Init des MSP430 { unsigned int i; WDTCTL = WDTPW + WDTHOLD; // watchdog aus P1DIR = 0x08; // Definieren der E/As P2DIR |= 0xFF; // Set P2 to output direction P3DIR |=
in „MSP430 F1232 startet nicht“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
sleep.c
============================================= * s l e e p . c * * Contains a sleep function for MSP430 * sleep sends MSP to LPM0 mode with active Interrupts * uses the timer module TIMER0_A1 for wake up * * ======================================================= * */ #include <msp430.h> #include <stdint.h
in „MSP430G2452 128ms Tastenentprellung“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
TS-iP57b_FKA_5509-LP133.c
******* // *Testschaltung 1611* // *************** // Flüssigkristallanzeige graph. FKA 5509 // MSP430F1611 // ----------------- // | XIN|- 32,768kHz // | | // Taster rot--|RST (58) XOUT|- 32,768kHz // 8 Mhz X2IN- | P2.1|Taster // | P2.0|Taster // 8 MHz X2OUT- | P1.0..P1.7|Daten FKA TS1611 // | | //
in „Pollin Display GWMS5509 will nicht laufen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
LCD1.txt
#include <msp430.h> #include <stdio.h> #include <stdint.h> void LCD_init(void); void DelayUs(int Us); void LCD_cmd4(unsigned char cmd); void LCD_dat4(unsigned char byte); void LCD_Nibble(unsigned char data); unsigned char i; const unsigned char Msg1[] = "LCD Test"; const unsigned char Msg2[] = "MSP430"; void main() { WDTCTL = WDTPW + WDTHOLD; // Stop Watchdog Timer P1DIR = 0x0C; // D4 und D5 bestimmen P3DIR = 0x80; // RS bestimmen P4DIR = 0x06; // D6 und D7 bestimmen P8DIR = 0x04; // EN bestimmen
in „LCD Initialisierung W162B-N3LW“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
LCD1.txt
#include <msp430.h> #include <stdio.h> #include <stdint.h> void LCD_init(void); void DelayUs(int Us); void LCD_cmd4(unsigned char cmd); void LCD_dat4(unsigned char byte); void LCD_Nibble(unsigned char data); unsigned char i; const unsigned char Msg1[] = "LCD Test"; const unsigned char Msg2[] = "MSP430"; void main() { WDTCTL = WDTPW + WDTHOLD; // Stop Watchdog Timer P1DIR = 0x0C; // D4 und D5 bestimmen P3DIR = 0x80; // RS bestimmen P4DIR = 0x06; // D6 und D7 bestimmen P8DIR = 0x04; // EN bestimmen
in „LCD Initialisierung W162B-N3LW“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
#include <msp430g2553.h> int data1; int data2; int data3; int data4; int TXByteCtr = 1; unsigned char PRxData; int Rx = 1; char WHO_AM_I = 0x00; char itgAddress = 0x5C; //char itgAddress = 0xB8; void init_I2C(void);
in „MSP430G2553 / DHT12 Sensoranbindung / Initialsierung anfangs fehlerhaft“ · Mikrocontroller und Digitale Elektronik ·