Search found 2 matches

by pickrit
06 Jul 2010 07:21
Forum: mikroC General
Topic: type casting
Replies: 4
Views: 1851

Re: type casting

Hi pls find the code with the above problem below unsigned int i; unsigned int k; long j; long l; double x; double y; long z; void lcd(void); void InitMain() { OPTION_REG = 0; ADCON0 = 0X41; ADCON1 = 0x84; CMCON = 0X07; // Configure analog inputs and Vref TRISA = 0x1F; // PORTA is input TRISB = 0; /...
by pickrit
06 Jul 2010 07:19
Forum: mikroC General
Topic: type casting
Replies: 4
Views: 1851

type casting

Hi
I am trying to display numbers on lcd from 1 to 100 continuously depending on adc values. I have used some arithmetic conversion equations. It is not working. I feel it is due to improper type of arithmetic variable used. Im Unsure what is the problem
Kindly help. :? 8)

Go to advanced search