ecaits
Member level 4
- Joined
- Jan 16, 2014
- Messages
- 76
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 6
- Activity points
- 579
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: