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   >   >>


Flash Poll
EE Life
Frankenstein's Fix, Teardowns, Sideshows, Design Contests, Reader Content & More
Engineer's Bookshelf
Caleb Kraft

The Martian: A Delightful Exploration of Math, Mars & Feces
Caleb Kraft
3 comments
To say that Andy Weir's The Martian is an exploration of math, Mars, and feces is a slight simplification. I doubt that the author would have any complaints, though.

The Engineering Life - Around the Web
Caleb Kraft

Surprise TOQ Teardown at EELive!
Caleb Kraft
Post a comment
This year, for EELive! I had a little surprise that I was quite eager to share. Qualcomm had given us a TOQ smart watch in order to award someone a prize. We were given complete freedom to ...

Design Contests & Competitions
Caleb Kraft

Join The Balancing Act With April's Caption Contest
Caleb Kraft
54 comments
Sometimes it can feel like you're really performing in the big tent when presenting your hardware. This month's caption contest exemplifies this wonderfully.

Engineering Investigations
Caleb Kraft

Frankenstein's Fix: The Winners Announced!
Caleb Kraft
8 comments
The Frankenstein's Fix contest for the Tektronix Scope has finally officially come to an end. We had an incredibly amusing live chat earlier today to announce the winners. However, we ...

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)