Embedded Systems Conference
Breaking News
Comments
Newest First | Oldest First | Threaded View
Page 1 / 4   >   >>
Max The Magnificent
User Rank
Author
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
Author
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
Author
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
Author
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
Author
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
Author
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
Author
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
Author
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
Author
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
Author
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   >   >>


Radio
NEXT UPCOMING BROADCAST
In conjunction with unveiling of EE Times’ Silicon 60 list, journalist & Silicon 60 researcher Peter Clarke hosts a conversation on startups in the electronics industry. One of Silicon Valley's great contributions to the world has been the demonstration of how the application of entrepreneurship and venture capital to electronics and semiconductor hardware can create wealth with developments in semiconductors, displays, design automation, MEMS and across the breadth of hardware developments. But in recent years concerns have been raised that traditional venture capital has turned its back on hardware-related startups in favor of software and Internet applications and services. Panelists from incubators join Peter Clarke in debate.
Flash Poll
Top Comments of the Week
Like Us on Facebook

Datasheets.com Parts Search

185 million searchable parts
(please enter a part number or hit search to begin)
Special Video Section
Chwan-Jye Foo (C.J Foo), product marketing manager for ...
The LT®3752/LT3752-1 are current mode PWM controllers ...
LED lighting is an important feature in today’s and future ...
Active balancing of series connected battery stacks exists ...
After a four-year absence, Infineon returns to Mobile World ...
A laptop’s 65-watt adapter can be made 6 times smaller and ...
An industry network should have device and data security at ...
The LTC2975 is a four-channel PMBus Power System Manager ...
In this video, a new high speed CMOS output comparator ...
The LT8640 is a 42V, 5A synchronous step-down regulator ...
The LTC2000 high-speed DAC has low noise and excellent ...
How do you protect the load and ensure output continues to ...
General-purpose DACs have applications in instrumentation, ...
Linear Technology demonstrates its latest measurement ...
10:29
Demos from Maxim Integrated at Electronica 2014 show ...
Bosch CEO Stefan Finkbeiner shows off latest combo and ...
STMicroelectronics demoed this simple gesture control ...
Keysight shows you what signals lurk in real-time at 510MHz ...
TE Connectivity's clear-plastic, full-size model car shows ...
Why culture makes Linear Tech a winner.