Searching \ for '[PIC] PICC Lite problem under Linux' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/devices.htm?key=pic
Search entire site for: 'PICC Lite problem under Linux'.

Exact match. Not showing close matches.
PICList Thread
'[PIC] PICC Lite problem under Linux'
2005\05\19@115803 by andrew kelley

picon face
> Debounce.c: Debounce()
>   115: COUNT = 20.;
>                   ^ implicit conversion of float to integer (warning)

20. is not 20 decimal. it is 20 (float type).  You are storing to an
integer, so you lose accuracy. That is why you got a error.

andrew

2005\05\19@195059 by Chen Xiao Fan

face
flavicon
face
Thanks. I know this. This is not my program. This is the tutorial
comes with Pickit 1 from Microchip. I was testing the compiler
installation. So the compiler is working properly. :)

Xiaofan

-----Original Message-----
From: andrew kelley [spam_OUTleetslackerTakeThisOuTspamgmail.com]
Sent: Thursday, May 19, 2005 11:58 PM
To: Microcontroller discussion list - Public.
Subject: Re: [PIC] PICC Lite problem under Linux


> Debounce.c: Debounce()
>   115: COUNT = 20.;
>                   ^ implicit conversion of float to integer (warning)

20. is not 20 decimal. it is 20 (float type).  You are storing to an
integer, so you lose accuracy. That is why you got a error.

andrew


More... (looser matching)
- Last day of these posts
- In 2005 , 2006 only
- Today
- New search...