ecaits
Member level 4
Dear All,
I cannot perform multiplication and division with integer number in pic 16f877 using hi-tech c compiler.
What is reason behind that???
I cannot perform below code.
I cannot perform multiplication and division with integer number in pic 16f877 using hi-tech c compiler.
What is reason behind that???
I cannot perform below code.
Code:
#include<pic.h>
#include<htc.h>
#include<stdlib.h>
#include<math.h>
void main()
{
unsigned int i=12,t=0,k=0,b=0;
float j=0;
t=i;
b=i*0x2;
k=i/0x3;
j=i;
}
Last edited by a moderator: