openbsd-ports/devel/arduino/files/template.pde

25 lines
446 B
Plaintext
Raw Normal View History

/*
* $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 ;
}