From 3f327b1c3d0a2b78c4ad0d40006a40becb33bd39 Mon Sep 17 00:00:00 2001 From: coolneng Date: Fri, 22 Nov 2019 18:33:11 +0100 Subject: [PATCH] Add Servo-Control sketch --- .../Servo-Control.arduino.avr.uno.elf | Bin 0 -> 35968 bytes .../Servo-Control.arduino.avr.uno.hex | 216 ++++++++++++++++++ Week 3/Servo-Control/Servo-Control.ino | 26 +++ 3 files changed, 242 insertions(+) create mode 100755 Week 3/Servo-Control/Servo-Control.arduino.avr.uno.elf create mode 100644 Week 3/Servo-Control/Servo-Control.arduino.avr.uno.hex create mode 100644 Week 3/Servo-Control/Servo-Control.ino diff --git a/Week 3/Servo-Control/Servo-Control.arduino.avr.uno.elf b/Week 3/Servo-Control/Servo-Control.arduino.avr.uno.elf new file mode 100755 index 0000000000000000000000000000000000000000..c221797448d710e66496eb786ee3ba2fc5d3df5e GIT binary patch literal 35968 zcmd^o3wTu3+3s4iCzF{ZCNL~=711gkh8Dp)QV zCJ|6<)Y|HA{i~=|TWz7X$KOkpYX7#j_0-X-zZZ%@v1qI2yzg3j&+H7?zvmp!^Y}bx z!`l1%-tSxA`qsDBUVH7m*X&$hSh7$`DXh&QmJ5rU2JqG0Ld4)WO{57!Ob{s|QOP^4 z3^CT=eyS@ML=^&+A3#(yz=;y73L2PU=^ z$K~gdYuhN&EgbO3aK_RHYa5GtPEt&U7%wgqPIGgp%}|?kINix^}5T5f#1o$20jnSj-KtI%x9#hYxktBXa9$M zJ#ZqB8b}KCc6`|JddG>5V;v86xVt`=%l8)S9h;pK+L_%E+A%yBzhZE5&xu>zUGgBM zfxSES9vWQHbNAjKCLPN@I&%H3djbdcc6+;95A5#*4Y4t{ra$LW!Mki_xLolRRhALOZhEUH(u9xQRW9ou|e2 z6xN)!@7a4_(vMO0ch?>(ogCN++wxZ0*t!4vyC2^@Ie6#pqr3M6ZfN#b?+FI??%aE5 zfa|zp*T=g0$d!L+m z32hl8PoMZ;@5!VuvQLlv%i7-3o*gVDe*gQs|AA8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x%8KM4NLUZsxpLZ^G50bi?G@DA}u@cf(?H}Y>p<^O9G z|Cx=aKGsQ#HR1fHd-Gx0g2~N}eCZF9jd*=X9?ZJlEN9V|o0{a4hM%gETp7>_3KPnZU1|2pu`fVbkc2YjSFLmUEctz}~U_@_ne<=qFK%ayJA z9R+V~X(<1xDEqeicOH)0?o@4APX=Pbx5+Pcd9_-B@|6pAq6B?jI7i9CYh$bxEVjiT<|}Bm zIv~dzwVorqYAH9@wydSF0YAOO%lI~|!fVdT#c~L1t;1sPjOo*-PWR?uIS*EXc+DT+ z@&}mwv1V3NR_?56(-D{ztD#a!HFRza`k zLe`nqx*=~>y|1FhTiM#0)g-d2nSmPHS~m@Oyb;dZ=-bFOLt(Mk zx1|m%W!l4l(vPrSUo+Hgyf$wFSDE%BY#)7yy;`58D9c#I(~K2MO&eP(8fdt+p}iif zPwH$7zoyW^_H*%EzyWa1sI1AL*$Td!8KCC?P+O78y+MOmHv7y&^0m0IiR?{LH z(4k>#2tU=a%uhx6E6QMhKsd0;c=6q-k8*;wCHSy8VRX0ab27_B-O z_&YsY8_=fe@Ac?oEmoE(N>w~dopxDhN`XPPfge2(S&jHZ+*unN+q1AHE34YKxvt7r z*I2{B%!j2|_$_%wBR=?Gv3*39l`X!_mV_s`MPr<72s8ZSL8h_#rYegx&2n<^FK+mB zu$s-NIR@q-{8KSAYS&EW8(cirZAB$QHZ<QXv$_4;S)CDM`sb)4N-b~F2g+D3L0eQ6k6Tu+wB#s z!@SM*7{-#_9%XNZ4_`Cl!xM9}^u7 + +Servo myservo; + +int potentiometer = A5; +int val; + +void setup() { + myservo.attach(6); + Serial.begin(9600); +} + +void loop() { + val = analogRead(potentiometer); + + Serial.print("Valor potenciĆ³metro: "); + Serial.print(val); + + val = map(val, 0, 1023, 0, 180); + + Serial.print(" - Ɓngulo: "); + Serial.print(val); + + myservo.write(val); + delay(15); +}