#include #include #include #include #include #include #include "spi.h" #include "servo.h" void spi_open(uint8_t mode, uint32_t speed) { } void spi_close() { } void spi_update_servos() { int fd; fd=open("/tmp/servodata",O_WRONLY|O_CREAT,0700); if(fd!=-1) { write(fd,servo_pwm,sizeof(servo_pwm)); close(fd); } } void spi_set_led(uint8_t led) { } void spi_set_laser(uint8_t led) { }