1
0
Fork 0
mirror of https://github.com/RobotechLille/cdf2018-principal synced 2024-06-18 01:43:15 +02:00
cdf2018-principal/chef/src/testForward.c

32 lines
455 B
C
Raw Normal View History

2018-04-30 22:40:20 +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 "lcd.h"
#include "movement.h"
int main(int argc, char* argv[])
{
(void)argc;
(void)argv;
initI2C();
initLCD();
clearLCD();
printToLCD(LCD_LINE_1, "Forward");
configureMovement();
for (;;) {
changerMoteurs(1.5, 2);
sleep(1);
}
}