Other Parts Discussed in Thread: MSP430F5438A
Hi,
I am using MSP430F5438A and Code Composer Studio 6.0.1.00040. I am trying to do the following
#include <msp430.h>
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <msp430.h>
#include <hal_lcd.h>
#include <hal_lcd_fonts.h>
#include <hal_board.h>
#include <hal_MSP-EXP430F5438.h>
#include <hal_lcd.c>
#include <hal_lcd_fonts.c>
#include <string.h>
#define Num_of_Results 8
void LCD_DIS (void);
void main(void)
{
WDTCTL = WDTPW + WDTHOLD;
volatile int var1 = 0;
volatile int var2;
volatile int var3 = 655;
volatile int var4;
char buf[0];
volatile i;
i= sin(90);
}
But the compiler is showing i =0 in the Expression Watch. I do not understan dit. It should have shown me "1". Please help!
Melissa