1234567891011121314151617181920212223 |
- #ifndef IO_H
- #define IO_H
- #ifdef __linux__
- #include <unistd.h>
- #include <wiringPi.h>
- #include <unistd.h>
- #include <sys/types.h>
- #include <sys/stat.h>
- #include <sys/types.h>
- #include <sys/stat.h>
- #include <fcntl.h>
- #include <pthread.h>
- #define ARM 1
- #else
- #include <Arduino.h>
- #include <avr/wdt.h>
- #include <avr/sleep.h>
- #include <avr/io.h>
- #include <avr/interrupt.h>
- #endif
- #endif
|