1
0
Fork 0
mirror of https://github.com/RobotechLille/cdf2018-principal synced 2024-06-26 13:09:01 +02:00
cdf2018-principal/chef/src/testI2c.c

25 lines
361 B
C
Raw Normal View History

2018-04-29 21:57:29 +02:00
/* Teste si une broche est connecté à une autre */
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <wiringPiI2C.h>
#include "i2c.h"
#include "lcd.h"
int main(int argc, char* argv[])
{
(void)argc;
(void)argv;
initI2C();
initLCD();
clearLCD();
gotoLCD(LCD_LINE_1);
2018-04-30 22:40:20 +02:00
printLCD("Bojour");
2018-04-29 21:57:29 +02:00
}