hello i am having trouble casting uint32_t to float
i have done a lot of basic C and casting has never been a problem
i tryed :
//file name :AdcTimerRead
uint32_t uint 1=10;
float value_TempConversion=0;
value_TempConversion = float(uint1/5.0); // this dosen t work gives the same errors
value_TempConversion = (float) uint1; // this dosen t work and gives me the following errors:
Description Resource Path Location Type
#10010 errors encountered during linking; "OxymetreDePouls.out" not built OxymetreDePouls C/C++ Problem
Description Resource Path Location Type
<a href="file:/c:/ti/ccsv6/tools/compiler/dmed/HTML/10234.html">#10234-D</a> unresolved symbols remain OxymetreDePouls C/C++ Problem
Description Resource Path Location Type
unresolved symbol value_TempConversion, first referenced in ./AdcTimerRead.obj OxymetreDePouls C/C++ Problem
i use the folowing includes in my code :
#include <stdint.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include "inc/hw_memmap.h"
#include "inc/hw_types.h"
#include "inc/tm4c123ge6pm.h"
#include "driverlib/interrupt.h"
#include "driverlib/gpio.h"
#include "driverlib/sysctl.h"
#include "driverlib/timer.h"
#include "driverlib/rom.h"
#include "driverlib/adc.h"
#include "grlib/grlib.h"
#include "grlib/widget.h"
#include "grlib/pushbutton.h"
#include "AfficherMenu.h"
#include "AdcTimerRead.h"
#include "arm_math.h"
maybe im missing an include i mean i feel like this is trivial dunno why im having soo much trouble.