Design Con 2015
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
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)
EE Life
Frankenstein's Fix, Teardowns, Sideshows, Design Contests, Reader Content & More
Max Maxfield

Book Review: Deadly Odds by Allen Wyler
Max Maxfield
11 comments
Generally speaking, when it comes to settling down with a good book, I tend to gravitate towards science fiction and science fantasy. Having said this, I do spend a lot of time reading ...

Martin Rowe

No 2014 Punkin Chunkin, What Will You Do?
Martin Rowe
Post a comment
American Thanksgiving is next week, and while some people watch (American) football all day, the real competition on TV has become Punkin Chunkin. But there will be no Punkin Chunkin on TV ...

Rich Quinnell

Making the Grade in Industrial Design
Rich Quinnell
13 comments
As every developer knows, there are the paper specifications for a product design, and then there are the real requirements. The paper specs are dry, bland, and rigidly numeric, making ...

Martin Rowe

Book Review: Controlling Radiated Emissions by Design
Martin Rowe
1 Comment
Controlling Radiated Emissions by Design, Third Edition, by Michel Mardiguian. Contributions by Donald L. Sweeney and Roger Swanberg. List price: $89.99 (e-book), $119 (hardcover).