4 ms·
I'm not sure if you've dealt with Arduino in Processing, but it is exactly as you describe. void loop() { digitalWrite(ledPin, HIGH); // sets the L
by netik 11y ago
I'm not sure if you've dealt with Arduino in Processing, but it is exactly as you describe.
void loop()
{
digitalWrite(ledPin, HIGH); // sets the LED on
delay(1000); // waits for a second
digitalWrite(ledPin, LOW); // sets the LED off
delay(1000); // waits for a second
}
- nbadg 11y agoArduino is awesomely easy in this regard, but lacks a proper operating system, and the individual pins have fewer modes than systems on a chip. That is, in a way, exactly my point: the operating systems we have are so bad at portable systems that going without one can actually make development easier. That's a big problem.
- netik 11y agoI think this is a 'right tool for the job' problem. Frequently you don't need an operating system to do basic tasks. I don't see this as a problem at all for simple things to a point. Even something that seems as complex as as reading a sensor and writing data out to a CF card doesn't require an OS if the basic library support is there.