-
Datei
main.c
#include <msp430x12x2.h> /*void delay(int z_wert) { int v; for (v=z_wert; v>=0; v--); }*/ void delay(unsigned int z_wert) { volatile unsigned int i; while (z_wert > 0) { z_wert--; for (i=0; i<60; i++); // equals
in „DOGM162 an MSP430F1232 betreiben“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
#include <msp430x16x.h> int main() { WDTCTL = WDTPW + WDTHOLD; // watchdog ausschalten BCSCTL2 = SELM_2; // Select XT2 clock for main clock BCSCTL2 |= SELS; // Select XT2 clock and LFXT1 clock respectively for sub
in „MSP430 F1611 Sequence-of-Channels Mode (ADC12)“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
#include <msp430x16x.h> int main() { int i = 10; WDTCTL = WDTPW + WDTHOLD; // watchdog ausschalten BCSCTL2 = SELM_2; // Select XT2 clock for main clock BCSCTL2 |= SELS; // Select XT2 clock and LFXT1 clock respectively
in „MSP430 F1611 Sequence-of-Channels Mode (ADC12)“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main5.c
//Datenauslesen aus einem ADC ADS7888 (TI) #include <msp430x14x.h> void wait(unsigned int j); //initalisieren von Variablen (global) unsigned char ADC_Byte1, ADC_Byte2; //max. verfügbarer RAM 1964 263 für 132 Messwerte char i, b, k; void main(void) { i =
in „MSP430 ADS7888 RS232“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
i2c3.c
/* * i2c3.c * * Created on: 20.07.2011 * Author: Michael S. */ #include "msp430x21x2.h" #define UCB0CTL0_ 0x0068 sfrb(UCB0CTL0,UCB0CTL0_); #define UCB0CTL1_ 0x0069 sfrb(UCB0CTL1,UCB0CTL1_); #define UCB0BR0_ 0x006A sfrb(UCB0BR0,UCB0BR0_); #define UCB0BR1_ 0x006B sfrb(UCB0BR1,
in „I2C bei MSP430F2122“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
usart-adc.txt
#include "msp430g2231.h" #include "inttypes.h" #include "stdlib.h" #include "stdio.h" #define LED1 BIT0 // red Led #define LED2 BIT6 // green Led #define TXD BIT1 // TXD on P1.1 #define Bitime 104 // 9600 Baud, SMCLK
in „MSP430G2231 USART letztes Zeichen kaputt“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
6.5.2013_Code_Forum.txt
// // //// SPI Communication #include "msp430F5438A.h" // einfžgen der Mikroprozessordaten #include "stdint.h" //Variables uint8_t addr; uint8_t dataX0; uint8_t dataX1; uint8_t dataY0; uint8_t dataY1; uint8_t dataZ0; uint8_t dataZ1; uint8_t
in „MSP430 mit ADXL345 kommunizieren lassen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
W5500_SPI.c
********** // W5500_SPI.c // by Wastl *************************************************/ #include <msp430g2553.h> #include <stdint.h> #include <stdio.h> #include "W5500_SPI.h" // W5500 Data Modes #define OM10_VDM 00 /* variable data mode */ #define OM10_FDM1 01 /* fixed data mode, 1 byte */ #define OM10
in „Wiznet W5500 Datenübertragung via Ethernet“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
-----------------+ // // ___________ Definitionen ______________________________________ #include "msp430f5529.h" // Einbinden der Definitionen #define T_OnOff 0x02 // Taster an P1.1 #define T_SET 0x02 // Taster an P2.1 #define LED_ON 0x80 // LED (grün) an P4.7 #define LED_X_Br 0x10 // LED_X Brücke an
in „MSP430 F5529 Wobbel-Generator“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
divtest.lst
..\obj\divtest.o: file format elf32-msp430 SYMBOL TABLE: 00000000 l df *ABS* 00000000 divtest.c 00000000 l d .text 00000000 00000000 l d .data 00000000 00000000 l d .bss 00000000 00000130 l *ABS* 00000000 __MPY 00000132 l *ABS* 00000000 _
in „MSPGCC baut dint ein“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
i2c.c
************************************************* // I2C-Library // // Stellt I2C-Routinen für den MSP430F149 bereit. SDA // ist an Pin 47 angeschlossen, SCL an Pin 48. Wenn // ihr andere Ports benutzt , müsst ihr nur die // #defines passend ersetzen. //***********************************************
in „MSP430F2013 I2C Library gesucht“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
signal.h
coppice Exp $ */ #if !defined(__SIGNAL_H_) #define __SIGNAL_H_ #include <iomacros.h> #if defined(__MSP430X__) #define INTERRUPT_VECTOR_SLOTS 32 #define RESET_VECTOR 62 #else #define INTERRUPT_VECTOR_SLOTS 16 #define RESET_VECTOR 30 #endif #if !defined(_GNU_ASSEMBLER_) #define Interrupt(x) void __attribute
in „MSP430 GPS-Daten von UART0 Probleme“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
/re- und initialierung für die RS232 erforderlich ansonsten ist das Umsetzten fehlerhaft #include <msp430x14x.h> void wait(unsigned int j); //initalisieren von Variablen (global) unsigned char ADC_results[2]; //max. verfügbarer RAM 1964 263 für 132 Messwerte unsigned int sample_count; volatile unsigned
in „MSP430 ADS7888 RS232“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main2.c
/re- und initialierung für die RS232 erforderlich ansonsten ist das Umsetzten fehlerhaft #include <msp430x14x.h> void wait(unsigned int j); //initalisieren von Variablen (global) unsigned char ADC_results[2]; //max. verfügbarer RAM 1964 263 für 132 Messwerte unsigned int sample_count; volatile unsigned
in „MSP430 ADS7888 RS232“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main6.c
/re- und initialierung für die RS232 erforderlich ansonsten ist das Umsetzten fehlerhaft #include <msp430x14x.h> void wait(unsigned int j); //initalisieren von Variablen (global) unsigned char ADC_results[4]; //max. verfügbarer RAM 1964 263 für 132 Messwerte unsigned int sample_count; volatile unsigned
in „MSP430 ADS7888 RS232“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main7.c
//Datenauslesen aus einem ADC ADS7888 (TI) //und zum PC senden dauer ca 1ms! #include <msp430x14x.h> void wait(unsigned int j); //initalisieren von Variablen (global) unsigned char ADC_results[4]; //max. verfügbarer RAM 1964 263 für 132 Messwerte unsigned int sample_count; volatile unsigned
in „MSP430 ADS7888 RS232“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
EKG-Quelltext.TXT
/* Messung eines EKG und Ausgabe auf Grafik-FKA + Speichern auf SD*/ // // MSP430F168 // ----------------- // | XIN|- 32,768kHz // | | // Taster rot--|RST (58) XOUT|- 32,768kHz // | P2.0|Programm Taster 1 // 8 Mhz X2IN- | P2.1|Programm Taster 2 // P2.2|RxD BSL // | P2.4|Programm
in „grafische Flüssigkristallanzeige schnell löschen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
steuerung.c
/* * steuerung.c * * Created on: 17.04.2013 * Author: Michael Schreiber */ #include <msp430.h> #include "steuerung.h" #include "system.h" #include "lcd.h" #include "dcf77.h" #include "globalvars.h" /* * Startet die FSM, der aktualle State wird ausgeführt. Bei einem Wechsel werden die Transisions
in „Linker error redefined: defined“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ACC__4_wire_SPI.txt
/ #define delay_2 __delay_cycles(10); // eine andere M glichkeit ein Delay zu definieren #include "msp430F5438A.h" // einfžgen der Mikroprozessordaten #include "stdint.h" //Variablen char addr; char data; char Test; char receive_byte; char receive_data; uint8_t i; //Einstellunmgen ADXL345 void spi_senden_CONFG
in „MSP430 mit ADXL345 kommunizieren lassen“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
Schematic_Prints.pdf
UCB0SCL P2.2/UCB0STE/TB1CLK 12 Asel SDA 10 11 SCLK_DISPLAY P2.4/UCB0SIMO/UCB0SDA P2.3/UCB0CLK/TB1TRG MSP430FR2310 TP1 GND Plug 3.3V FP1 3.3V SBW Connector JT1 1 8 GND C4 100uF 6.3V RST/SBWTDIO 1 OA0 2 7 Ain 3.3V GND R18 47k SBWTCK 2 Title D 3 TRI0- 3 6 Asel D 3.3V 4 SPYbyWire JTAG 4 5 Size Number Revision
in „[S] Bestückung von Adapterplatinen für elektronische Preisschilder“ · Markt ·
-
PDF
Schematic_Prints.pdf
UCB0SCL P2.2/UCB0STE/TB1CLK 12 Asel SDA 10 11 SCLK_DISPLAY P2.4/UCB0SIMO/UCB0SDA P2.3/UCB0CLK/TB1TRG MSP430FR2310 TP1 GND Plug 3.3V FP1 3.3V SBW Connector JT1 1 8 GND C4 100uF 6.3V RST/SBWTDIO 1 OA0 2 7 Ain 3.3V GND R18 47k SBWTCK 2 Title D 3 TRI0- 3 6 Asel D 3.3V 4 SPYbyWire JTAG 4 5 Size Number Revision
in „[S] Bestückung von Adapterplatinen für elektronische Preisschilder“ · Markt ·
-
PDF
AMIS-30543-D.pdf
010 011 100 xxx xxx ESM[2:0] 001 010 000 000 000 000 000 011 100 % of Imax Comp Comp Comp full full MSP[8:0] 1/128 1/64 1/32 1/16 1/8 1/4 1/2 2ph 1ph Coil X Coil Y 110101110 430 215 −84 53 110101111 431 −84 55 110110000 432 216 108 54 27 −83 56 110110001 433 −82 57 110110010 434 217 −82 58 110110011 435
in „Puls aus Sinuswelle herausrechnen“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
catalog.pdf
vom 12.08.2022 MPN: MSP430G2121IPW14R [ID]: 000156 [Price]: 0.61 USD [QTY]: 2 [Category]: Microcontrollers [Desc]: 16 MHz MCU with 1KB Flash, 128B SRAM, SPI/I2C, timer 14-TSSOP -40 to 85 MPN: ATTINY10-TSHR [ID]: 000157 [Price
-
PDF
catalog.pdf
Microcontrollers [Desc]: Ultra-low-power ARM Cortex-M3 MCU with 128 Kbytes Flash, 32 MHz CPU, USB MPN: MSP430G2231IRSA16R [ID]: 000155 [Price]: 0.8 USD [QTY]: 2 [Category]: Microcontrollers [Desc]: 16 MHz MCU with 2KB Flash, 128B SRAM, 10-bit ADC, SPI/I2C, timer 16-QFN -40 to 85 MPN: MSP430G2121IPW14R [ID
-
PDF
catalog-3.pdf
Microcontrollers [Desc]: Ultra-low-power ARM Cortex-M3 MCU with 128 Kbytes Flash, 32 MHz CPU, USB MPN: MSP430G2231IRSA16R [ID]: 000155 [Price]: 1.1024 USD [QTY]: 2 [Category]: Microcontrollers [Desc]: 16 MHz MCU with 2KB Flash, 128B SRAM, 10-bit ADC, SPI/I2C, timer 16-QFN -40 to 85 MPN: MSP430G2121IPW14R
-
Datei
lcd_ord_1.c
#include <msp430x14x.h> void wait(unsigned int i); // prototypen void LCDOutc(char str); void LCDOuts(char* str); void LCDInit(void); void LCDClear(void); void LCDClock(void); int main(void); int chars=0; // var.
in „LCD Display“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Code.txt
#include <msp430x12x.h> #define BLANK 0x01 #define XLAT 0x02 #define DCPRG 0x04 #define SCLK 0x08 #define GSCLK 0x10 #define SIN 0x20 #define SOUT 0x40 #define VCPRG 0x80 #define XERR 0x01 //int Dot[] = {0x3F, 0x1F
in „Msp430F169 mit TLC5940 SPI problem“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
motor_strom.c
0,13 // // //****************************************************************************** #include <msp430x14x.h> #include "help.h" #include "lcd.h" double strom= 0.0; unsigned char ausg_str[]="0000"; int motor_on= 0; int loop= 0; int main(void) { WDTCTL = WDTPW + WDTHOLD; // Watchdog Timer Stoppen P1DIR
in „MSP430 Strom messen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
EKG-Quelltext-2.TXT
/* Messung eines "EKG" und Ausgabe auf Grafik-FKA + Speichern auf SD*/ // // MSP430F168 // ----------------- // | XIN|- 32,768kHz // | | // Taster rot--|RST (58) XOUT|- 32,768kHz // | P2.0|Programm Taster 1 // 8 Mhz X2IN- | P2.1|Programm Taster 2 // P2.2|RxD BSL // | P2.4|Programm
in „grafische Flüssigkristallanzeige schnell löschen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
#include <msp430.h> int c, start, ready; unsigned long int a, b; unsigned int t, dp; void delay(unsigned int); // display void set_7segment(int nr, int dp); const int seg7[] = {0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,
in „MSP430 Reaktionszeitmesser“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
firmware.txt
firmware.elf: file format elf32-msp430 Disassembly of section .text: 0000c000 <__watchdog_support>: c000: 55 42 20 01 mov.b &0x0120,r5 c004: 35 d0 08 5a bis #23048, r5 ;#0x5a08 c008: 82 45 00 02 mov r5, &0x0200 0000c00c <__init_stack>
in „Right-shift bei msp430“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
i2c-ps.c
***************************** ** simple I2C-basic funtions, to read and write ** ** @ I2C bus. the msp430 (i use an mspf149) is ** ** as master device. it generates an clock (SCL) ** ** @ P6.2 and data (SDA) @ P6.3. ** *************************************************** ** till now, i couldn`t test it
in „msp mit I²C“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
PIN LCD // ***************************************************************************** #include <msp430x14x.h> #include <math.h> void init_XT(void) // high frequenz resonators ( 455 kHz - 8MhZ ) { unsigned int i; WDTCTL = WDTPW + WDTHOLD; // Stop WDT BCSCTL1 |= XTS+DIVA1+DIVA0; // ACLK = LFXT1 / 8
in „MSP430 Probleme bei Download“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.c
#include <msp430x14x.h> void wait(unsigned int i); // prototypen void LCDOutc(char str); void LCDOuts(char* str); void LCDInit(void); void LCDClear(void); void LCDClock(void); int main(void); int chars=0; // var.
in „Problem mit 4 Zeilen LCD“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.c
#include <msp430x14x.h> void wait(unsigned int i); // prototypen void LCDOutc(char str); void LCDOuts(char* str); void LCDInit(void); void LCDClear(void); void LCDClock(void); int main(void); int chars=0; // var.
in „Problem mit 4 Zeilen LCD“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
// ___________ Definitionen ______________________________________ #include "msp430f5529.h" // Einbinden der Definitionen // __________ Prototypen der verwenndeten Funktionen _________________ void TimerB0 (void); void TimerA0 (void); // __________ Prototypen die in anderen Files
in „MSP430 F5529 Wobbel-Generator“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
#include "msp430f5529.h" // Einbinden der Definitionen #define T_OnOff 0x02 // Taster an P1.1 #define T_SET 0x02 // Taster an P2.1 #define LED_ON 0x80 // LED (grün) an P4.7 #define LED_X 0x01 // LED (rot) an P1.0
in „Rote LED an Port 1.0 will nicht“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
#include <msp430x44x.h> //Einbinden der Header-Datei //#include "Initialisierung.h" //Persoenliche Header Datei void LCD_CLEAR(void); //Prototype der LCD_Clear Subroutine void conv_d2bcd (unsigned long int x, int
in „MSP430 Timer Uhr sekundentakt“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Main.c.txt
#include "I2C.h" #include "msp430x21x2.h" unsigned char data[2]; volatile unsigned int i; /////////////////////////////////////////////////////////////////////////////////////////////////// //Brief Initialisierung USCI B0 als I²C
in „Mit MSP430F2132 den Hardware I2c Bus aufbauen um Temperatursensor anzusteuern“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
adis16250.c
*************************************************************************************** #include <msp430x14x.h> #include <initialization.h> char CS_low = 0; // Variable für Chip Select low char CS_high = 0xFF; // Variable für Chip Select high unsigned int dummy = 0; // Hilfsvariable float ADIS16250_
in „Drift bei Gyro ADIS16250“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
w5500_v1_code.txt
#include <msp430g2553.h> #include <stdint.h> //Define Base Registers #define W5500_COMMON_BASE 0x0000 #define W5500_SOCKET0_BASE 0x4000 #define W5500_TXBUF_BASE 0x8000 //W5500 Commands #define W5500_WRITE 0x04 #define
in „Wiznet W5500 Datenübertragung via Ethernet“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
0170c-iar-TS-E32_868T-empfangsbetrieb___bearbeitet.c
#include <msp430x16x.h> #include "TS_LC7981.h" // Flüssigkristallanzeige (FKA) #include <string.h> // für Zeichen (Infotext) notwendig #include <stdio.h> // für sprint #include <signal.h> unsigned int t,k; void UART1
in „Probleme mit den Sende- und Empfangsteilen E32-868T“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
extflash.c
#include <msp430.h> #include "definitions.h" #include "spi.h" #include "tools.h" #include "extflash.h" /* Made for Adesto AT25SF081 */ #define WRITEENABLE 0x06 #define WRITEDISABLE 0x04 #define READSTATUS 0x05 #define
in „MICRON MT25TL01 SPI FLASH“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
teileliste.txt
Motortreiber Roboternetz VN2 Dualmotor | 5,00 € | NTC fehlt, Details auf Anfrage | 6 | | 28 | 1 | MSP430 FR4133 Launchpad | 4,00 € | nur Prozessorboard, KEIN Programmer | 6 | | 29 | 1 | Netzteil 24V ~, 8VA | 1,00 € | nur als Zugabe | 4 | | 30 | 1 | Paar Ultraschallsensoren Wasserdicht | 2,00 € | | 7
in „[V] Aufräumaktion“ · Markt ·
-
Datei
uhr.c
#include <msp430x14x.h> void init_Clock( void ); void init_Timer(void); void wait(unsigned int i); void LCDInit(void); void LCDClear(void); void LCDClock(void); void LCDOuts(char* str); void LCDOutc(char str); void
in „MSP 430 & Uhrzeit“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
#include <msp430x14x.h> // initalisieren von Variablen (global) unsigned int state_count, state_count_old; char i, state_new, state_old, x_direction, x_direction_old, check, transmit_result, transmit, wait; void
in „MSP430 läuft nicht !“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
I2C_ADXL345_26_04_12.c
sondern ab i=1-5 und dann 0 abgespeichert!!! 1.byte lower byte(x0) 2.byte higher(x1) */ #include <msp430.h> #include <stdint.h> uint8_t address = 0x53; void i2c_write(uint8_t address, uint8_t* data, uint8_t len); unsigned char I2C_ReadByte(uint8_t address, unsigned char registerAddr, uint8_t* data,int
in „MSP430G2553, I2C read falsche Reihenfolge bei der Ausgabe“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
fet140_1.c
was // //****************************************************************************** #include <msp430x14x.h> #define A0 0x01; #define RW 0x02; #define E1 0x04; #define E2 0x08; //;------------------------------------------------------------------------------ //; Konstanten für Display Komandos //
in „Frage:Gibts unterschiede beim flashen??“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ti_test_c.c
settings. /******************************************************************************/ #include "msp430x14x.h" #define LED_TabLength 512 unsigned int pwmtable_16[512]={1,1,1,1,1,1,1,1,1,2,2,2,2,2, 2,2,2,2,2,2,2,3,3,3,3,3,3,3, 4,4,4,4,4,4,5,5,5,5,5,6,6,6, 6,7,7,7,8,8,8,9,9,10,10,10,11,11, 12,12,13,13,14,15,15,16,17,17,18,19,20,21
in „MSP430F149 Erratasheet Angaben“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
errors.txt
1179122771312 5604 Error launching external scanner info generator (gcc -E -P -v -dD D:/reflection/MSP430_Eclipse_Projects/.metadata/.plugins/org.eclipse.cdt.make.core/specs.c) G-Sens Unknown 1179123278718 5638 `CKPL' undeclared (first use in this function) G-Sens sca3000.c line 76 1179122771328 5617
in „MSP430 Eclipse und mspgcc“ · Mikrocontroller und Digitale Elektronik ·