This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import sys | |
import base64 | |
from stat import S_ISREG | |
import itertools | |
if __name__ == "__main__": |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <SoftwareServo.h> | |
//constantes | |
const int MAX_SERVOS = 2; | |
const int servoInput[MAX_SERVOS] = { 3,2 }; | |
const int sensorPerto = 500; | |
const int sensorLonge = 4500; | |
const int maxLeituraPorSensor = 5; | |
const int servoPosLonge[MAX_SERVOS] = {0,160 }; |
OlderNewer