Version By Newton Research Labs
Newton Research Labs developed Interactive C as a compiling environment for robots using the Motorola 6811 processor. The MIT LEGO Robot Design Contest (6.270) was the original purpose for the software. It became popular, however, due to its ability to compile on the fly rather than taking time to compile beforehand as other languages had done. The programming environment's newest version is IC Version 8.0.2, which supports these operating systems:
- Microsoft Windows XP, 2000, Vista
- Macintosh
- Unix and Unix-like: IRIX, Solaris, SunOS; Linux
The screenshot to the right shows Interactive C running on a Windows operating system. The program features an Interaction Window where one-line C commands can be sent to the connected controller as well as an editing window, here titled main.c, where a program file is being edited and can be sent to the attached controller.
Here is the basic "Hello World" example for IC programming:
void main { printf("Hello World"); }Here is another example using motor ports 1 and 3:
void main { motor(1,100); motor(3,100); sleep(2.0); ao; }A basic infinite loop that will beep for ever:
void main { while(1) { beep; } }Interactive C is used by The Ohio State University to program MIT Handy Boards in its Fundamentals of Engineering for Honors Program.
Read more about this topic: Interactive C
Famous quotes containing the words version, newton and/or research:
“I should think that an ordinary copy of the King James version would have been good enough for those Congressmen.”
—Calvin Coolidge (18721933)
“The next Augustan age will dawn on the other side of the Atlantic. There will, perhaps, be a Thucydides at Boston, a Xenophon at New York, and, in time, a Virgil at Mexico, and a Newton at Peru. At last, some curious traveller from Lima will visit England and give a description of the ruins of St Pauls, like the editions of Balbec and Palmyra.”
—Horace Walpole (17171797)
“Men talk, but rarely about anything personal. Recent research on friendship ... has shown that male relationships are based on shared activities: men tend to do things together rather than simply be together.... Female friendships, particularly close friendships, are usually based on self-disclosure, or on talking about intimate aspects of their lives.”
—Bettina Arndt (20th century)