13-04-2014, 14:15
|
|
|
חבר מתאריך: 16.05.11
הודעות: 69
|
|
|
Arduino פונקציה אני לא מבין למה יש לי הודעת שגיאה
קוד PHP:
#include <Audio.h>
#include <DAC.h>
#include<iosteam.h>
void max(int a,int b); {
int x=5;
int y=10;
int z; }
void setup() {
void max(int a,int b);
if (a>b)
return(a);
else
return (b);
{
}}
void loop()
{
z=max (x,y);
Serial.print(z);
return 0;
_____________________________________
|