raspberrypi_io.h 321 B

123456789101112131415161718192021
  1. /*
  2. * raspberrypi_io.h
  3. *
  4. * Created on: 23.06.2014
  5. * Author: root
  6. */
  7. #ifndef RASPBERRYPI_IO_H_
  8. #define RASPBERRYPI_IO_H_
  9. #ifdef RASPI
  10. #include <wiringPi.h>
  11. #endif
  12. #include <stdio.h>
  13. #include <stdlib.h>
  14. #include <string.h>
  15. int readTemp(float *temp);
  16. int writeLEDred(int state);
  17. #endif /* RASPBERRYPI_IO_H_ */