|
Re: hey need some help with writing a code please help me here
I would just be safe and make it pwm02=254-pwm02, who cares if it takes a little longer to type. plus doinging it with and unsgined char and just rolling over throws you off by 1, which could end up giving you 255 as an output which would be an ugly thing.
And regarding the brackets versus braces thing, i'll try to remember later on to use the correct terms (I've just always called braces curly brackets or "little swoopty doptie thingies that i never use").
__________________
C is screwing up my English--I'm ending all my sentences in semi-colons;
Horray for most things! -George Carlin
"Sure, I'll play rugby. Besides, I have a lot of experience running from really big guys who want to cream me." -Me, Freshman year
Last edited by Anthony Kesich : 31-12-2003 at 02:17.
|