Breaking News
Comments
Newest First | Oldest First | Threaded View
Page 1 / 4   >   >>
Max The Magnificent
User Rank
Blogger
Re: Quicker development if you use FORTH
Max The Magnificent   10/16/2013 2:08:24 PM
NO RATINGS
@TYsun: Oh please. Not another narcissist.

What? You don't like the competition? LOL

If only I had the wit and daring to come up with a cool screen name like TYsun, I wouldn't have to spend all my time on this never-ending quest for self-validation.

Max The Magnificent
User Rank
Blogger
Re: Quicker development if you use FORTH
Max The Magnificent   10/16/2013 2:04:27 PM
NO RATINGS
@TYsun: Good luck with your autoerotism.

Why thank you -- that's very kind of you (sad to relate, I don't even know how to spell narcissism :-)

TYsun
User Rank
Rookie
Re: Quicker development if you use FORTH
TYsun   10/16/2013 2:00:44 PM
NO RATINGS
"The Magnificent" ??? oh please. Not another narcissist. Narcissism makes whatever positive traits suspect due to your infatuation with your own image. Good luck with your autoerotism.

Max The Magnificent
User Rank
Blogger
Re: Quicker development if you use FORTH
Max The Magnificent   10/14/2013 4:36:14 PM
NO RATINGS
@Hoyt: ...you can skip the "edit-compile-reedit-compile-load-test" phases if you just use the FORTH language to begin with...

I must admit that I always has a soft spot for FORTH -- also I once met Chuck Moore (the guy who invented FORTH).

Hoyt_Stearns
User Rank
Manager
Quicker development if you use FORTH
Hoyt_Stearns   10/11/2013 3:06:44 PM
NO RATINGS
That's all very nice, but you can skip the "edit-compile-reedit-compile-load-test"

phases if you just use the FORTH language to begin with :-) . Development goes much faster.

 

e.g. : http://forum.arduino.cc/index.php/topic,8838.0.html

 

Hoyt Stearns

Scottsdale, Arizona US

Max The Magnificent
User Rank
Blogger
Re: Main loop is like Structured Text
Max The Magnificent   10/10/2013 12:48:02 PM
NO RATINGS
@TonyTib: A bit of semi-off-topic trivia...


I LOVE off-topic trivia!!!

TonyTib
User Rank
CEO
Main loop is like Structured Text
TonyTib   10/10/2013 12:34:38 PM
NO RATINGS
A bit of semi-off-topic trivia:

since the Loop() function runs continously, that makes it a bit similar to programming in Structured Text on a PLC (programmable logic controller) -- the PLC code is run as a continuous loop, whether you're using ladder logic (ugh!) or structured text (better).  The syntax is very different, however (ST is kinda BASIC/Pascal hybrid with PLC oddities).

Max The Magnificent
User Rank
Blogger
Re: Interpret to C?
Max The Magnificent   10/10/2013 12:02:51 PM
NO RATINGS
@jjulian274: Yes, the main is nothing (usually) but...

Great -- thanks for this. Now, do you have any thoughts on the question I just posed in a blog I posted a short time ago: What's the Best Robot Base for my Arduino?

jjulian274
User Rank
Rookie
Re: Interpret to C?
jjulian274   10/10/2013 11:57:46 AM
NO RATINGS
Max,

 

Yes, the main is nothing (usually) but:

 

int main()

{

    init();   // I think.  This is where hardware specific initialization is done (IO ports, timers, etc.

    setup();

    whilte (1)

    {

        loop();

    }

return 0;

}

 

I think this is where it is incase there is "extra" initialization that needs to be done.

 

Hope that helps.

Max The Magnificent
User Rank
Blogger
Re: Interpret to C?
Max The Magnificent   10/10/2013 11:54:13 AM
NO RATINGS
@jjulian: Actually, the "main" function is defined among the other files in the hardware specific directory of the arduino ide installation.

Ah -- thanks for the update -- so, does it look anything like I suggested in my earlier comment below?

Page 1 / 4   >   >>


EE Life
Frankenstein's Fix, Teardowns, Sideshows, Design Contests, Reader Content & More
Max Maxfield

Feast Your Orbs on My Jiggly Exercise Machine
Max Maxfield
50 comments
Last weekend, I was chatting with my mother on the phone. She's all excited that I'm coming over to visit for a week in November. "I'll be seeing you in only seven weeks," she trilled ...

latest comment kfield Toy....or agony? :-)
Glen Chenier

Missing Datasheet Details Can Cause Problems
Glen Chenier
3 comments
It is often said that "the devil is in the details." All too often those details are hidden deep within a datasheet, where you can easily overlook them. When a datasheet reference circuit ...

David Blaza

RadioShack: The End Is Nigh!
David Blaza
123 comments
I'm feeling a little nostalgic today as I read about what looks like the imminent demise of RadioShack, at least as we currently know it. An old ubiquitous cartoon image popped into my ...

Larry Desjardin

Engineers Should Study Finance: 5 Reasons Why
Larry Desjardin
47 comments
I'm a big proponent of engineers learning financial basics. Why? Because engineers are making decisions all the time, in multiple ways. Having a good financial understanding guides these ...

Flash Poll
Top Comments of the Week
Like Us on Facebook
EE Times on Twitter
EE Times Twitter Feed

Datasheets.com Parts Search

185 million searchable parts
(please enter a part number or hit search to begin)