SparkFun Forums 

Where electronics enthusiasts find answers.

Search found 108 matches

 Go to advanced search

file concept

 by naz ¦  Mon Feb 16, 2009 4:42 am ¦  Forum: MSP Microcontrollers ¦  Topic: file concept ¦  Replies: 4 ¦  Views: 2188

Hai All, This is naz,i'm using MSP430f149,IAR workbench 2.0. Following codes are my code, [color=green][color=green][code][code]#include<msp430x14x.h> FILE *fp,*fp1; unsigned char c; fp=("read.txt","r"); fp1=("write.txt","w"); if(fp==NULL) printf("no data"); else { while(fgetc(c,fp)!=NULL) { fputch(...

Printf

 by naz ¦  Mon Feb 16, 2009 3:28 am ¦  Forum: MSP Microcontrollers ¦  Topic: Using printf to display characters on terminal I/O ¦  Replies: 2 ¦  Views: 2341

HI old cow,
http://www.msp430.ubi.pt/forum/viewtopic.php?t=6228
i tried this link,i couldn't open this,could u pleas cut and paste that

by
naz

LCD code

 by naz ¦  Fri Feb 13, 2009 11:26 pm ¦  Forum: MSP Microcontrollers ¦  Topic: Olimex MSP430-4619LCD board screen problem ¦  Replies: 2 ¦  Views: 2059

Hai jee, Try this one, #include <msp430x14x.h> #include<stdio.h> #define CR 0x0D #define LF 0x0A #define MAXSIZE 100 #define FIRSTLINE 0x93 #define SECONDLINE 0xCF #define THIRDLINE 0x94 #define FOURTHLINE 0xD4 void LcdWriteChar(unsigned char dval) ; void LcdWriteCmd(unsigned char cmd); void LcdInit...

  • 1
  • 4
  • 5
  • 6
  • 7
  • 8