Many errors in my C code, communication with raspberry pi and arduino

#include <stdio.h>

#include <string.h>

#include <errno.h>

#include <wiringPi.h>

#include <wiringSerial.h>

 

 

#define TRIGsonar1 = 0;

#define TRIGsonar2 = 2;

#define TRIGsonar3 = 3;

#define TRIGsonar4 = 12;

#define TRIGsonar5 = 13;

#define TRIGsonar6 = 14;

#define TRIGsonar7 = 17;

#define TRIGsonar8 = 19;

 

#define ECHOsonar1 = 1;

#define ECHOsonar2 = 4;

#define ECHOsonar3 = 5;

#define ECHOsonar4 = 6;

read more

[original story: Let's Make Robots]