• Type convert
    complier is error ,following is program #include <reg52.h> #include <stdio.h> unsigned int i; sbit Test=P1^0; main() { i=(int *)Test; } error info is : error c253:INTERNAL ERROR(ASMGEN...
  • converting types
    hi Forum, how can i convert items in a Array from typ Char[] in an Integer-Type? example: char data[] = "110111"; int sum = 0; sum = (int)data; or should i sum the all items in the array...
  • converting types
    hi Forum, how can i convert items in a Array from typ Char[] in an Integer-Type? example: char data[] = "110111"; int sum = 0; sum = (int)data; or should i sum the all items in the array...
  • urgent! variable type conversion
    i have some problem about integer conversion Pls help! 1. what will happen if i make a float variable to the integer or char? e.g: float a=2.02342; int x; char y; x=a; y=a; what will...
  • How to convert type uint32_t to float??
    Hi, I try to read value of timer of STM32L152VD and convert it to float type. The way I use is first define the below union: typedef union { uint32_t timercount; float flowtime; }union_timercount;...