Fred's firmware development diary comments thread

Official FreeEMS vanilla firmware development, the heart and soul of the system!
User avatar
BenFenner
LQFP144 - On Top Of The Game
Posts: 360
Joined: Wed Jul 09, 2008 3:15 pm

Re: Fred's firmware development diary comments thread

Post by BenFenner »

Fred wrote:When we get told to go to sleep, we need to turn off clocks and so on and so forth and set a flag and disable the main loop, possibly by changing while(TRUE) to while(allSystemsAreGo) where the value of that condition is dependent on clock and sleep states etc.
Someone once told me naming was everything. ;)
Not trying to micro manage the shit out of you but...

while(allSystemsAreGo) -> Not so good variable naming.

while(awake) -> better

while(!sleeping) -> better still?
User avatar
Fred
Moderator
Posts: 15433
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Fred's firmware development diary comments thread

Post by Fred »

Code: Select all

while(writingPseudoCode){
     Idon'tGiveAFuck();
}
// however
if(you'reReadingMyThread){
    I'mHappy(":-)");
}
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
User avatar
Preston
LQFP112 - Up with the play
Posts: 128
Joined: Fri Feb 26, 2010 5:26 am
Location: Aucks

Re: Fred's firmware development diary comments thread

Post by Preston »

Fred wrote:http://www.youtube.com/watch?v=DPxbxBzXwMY

That's right, 10 engines, and on the latest greatest code no less! Scheduled full 6 cylinder sequential EFI, baby, yeah! :-)

Congratulations to Peter for his fast work!

FUCKING BED!

Fred.
ROFL, I think that this is more appropriate and realistic "FUCKING, then BED!" Give me admin rights and I’ll correct it for you Fred :P

Regards Fred's future adminstrator Hey Presto.
User avatar
Dan
LQFP144 - On Top Of The Game
Posts: 1204
Joined: Tue Mar 02, 2010 2:33 pm
Location: Australia

Re: Fred's firmware development diary comments thread

Post by Dan »

agreed! it should read "FUCKING, then BED!" ! :-)
User avatar
Fred
Moderator
Posts: 15433
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Fred's firmware development diary comments thread

Post by Fred »

Too tired for the former, too excited for the latter, where does that leave me? :-/
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
User avatar
Dan
LQFP144 - On Top Of The Game
Posts: 1204
Joined: Tue Mar 02, 2010 2:33 pm
Location: Australia

Re: Fred's firmware development diary comments thread

Post by Dan »

love the rev limiter work! keep up the superb work mate! :-)
User avatar
Fred
Moderator
Posts: 15433
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Fred's firmware development diary comments thread

Post by Fred »

Thanks, not pushed yet, need to make it a bit more generic and fully featured. Maybe later, maybe tomorrow morning.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
User avatar
Dan
LQFP144 - On Top Of The Game
Posts: 1204
Joined: Tue Mar 02, 2010 2:33 pm
Location: Australia

Re: Fred's firmware development diary comments thread

Post by Dan »

RE: video of rev limiter in action

"running very rich from base tune extracted from my butt hole."

this made me ROFL! :-)
User avatar
Fred
Moderator
Posts: 15433
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Fred's firmware development diary comments thread

Post by Fred »

:-)
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
Peter
LQFP144 - On Top Of The Game
Posts: 268
Joined: Tue Dec 27, 2011 5:37 am

Re: Fred's firmware development diary comments thread

Post by Peter »

I was reading through all the current issues, and I found this: http://issues.freeems.org/view.php?id=1 and I love it. :-)
:-p
Post Reply