3cec2e35f4
Arduino is an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software. It's intended for artists, designers, hobbyists, and anyone interested in creating interactive objects or environments. [..] This package contains the libraries, header files and tools to develop Arduino sketches. It does not include the Arduino IDE frontend. based on work from and ok ckuethe@
25 lines
446 B
Plaintext
25 lines
446 B
Plaintext
/*
|
|
* $OpenBSD: template.pde,v 1.1.1.1 2011/09/17 16:41:30 jasper Exp $
|
|
*
|
|
* Arduino projects run something like this:
|
|
* main() {
|
|
* init(); // arduino private setup
|
|
* setup(); // your setup goes here
|
|
* while(1) {
|
|
* loop(); // your main loop
|
|
* }
|
|
* }
|
|
*
|
|
* Arduino reference is at ${TRUEPREFIX}/share/doc/arduino/reference/
|
|
*/
|
|
|
|
void setup() {
|
|
/* your code here */
|
|
return;
|
|
}
|
|
|
|
void loop() {
|
|
/* more of your code here */
|
|
return ;
|
|
}
|