7 void Square_delay(void)
9 for(volatile int a = 0; a < 25; a++)
10 for(volatile int b = 0; b < 25; b++)
14 void Square_init(DOLProcess *p) {
15 ((Square_State*)p->local)->index = 0;
18 int Square_fire(DOLProcess *p) {
21 if (((Square_State*)p->local)->index < LENGTH) {
22 DOL_read(PORT_INPUT, &i, sizeof(float), p);
24 DOL_write(PORT_OUTPUT, &i, sizeof(float), p);
25 ((Square_State*)p->local)->index++;