--
You received this message because you are subscribed to the Google Groups "InMoov" group.
To unsubscribe from this group and stop receiving emails from it, send an email to inmoov+un...@googlegroups.com.
To post to this group, send email to inm...@googlegroups.com.
Visit this group at https://groups.google.com/group/inmoov.
For more options, visit https://groups.google.com/d/optout.
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
Arduino: 1.0.6 (Windows NT (unknown)), Board: "Arduino Uno"
sketch_jul20a:122: error: variable or field 'publishSensor' declared void
sketch_jul20a:122: error: 'sensor' was not declared in this scope
sketch_jul20a.ino: In function 'void updateSensorsNew()':
sketch_jul20a:1050: error: cannot convert 'sensor' to 'int' for argument '1' to 'void publishSensor(int, int, int, int)'Board: "Arduino Uno" c'est bien une uno la carte ?
Essaye de mettre jour la librairie arduino si c n'est pas déjà fait: ( version 1.6.9 )
Il semblerai déja que ta version soit un peu outdated
https://www.arduino.cc/en/Main/Software
Voici aussi le mrlcomm associé a mrl 1412 en pj
j'ai installé ta version mais quand j'essaie d'uploader le Le fichier Uno
C:\Users\Desktop\arduino\arduino.ino: In instantiation of 'LinkedList<T>::LinkedList() [with T = sensor]':
C:\Users\Desktop\arduino\arduino.ino:612:52: required from here
C:\Users\Desktop\arduino\arduino.ino:155:7: warning: converting 'false' to pointer type 'ListNode<sensor>*' [-Wconversion-null]
root=false;
^
C:\Users\Desktop\arduino\arduino.ino:156:7: warning: converting 'false' to pointer type 'ListNode<sensor>*' [-Wconversion-null]
last=false;
^
C:\Users\Desktop\arduino\arduino.ino: In instantiation of 'LinkedList<T>::~LinkedList() [with T = sensor]':
C:\Users\Desktop\arduino\arduino.ino:612:52: required from here
C:\Users\Desktop\arduino\arduino.ino:175:8: warning: converting 'false' to pointer type 'ListNode<sensor>*' [-Wconversion-null]
last = false;
^
C:\Users\Desktop\arduino\arduino.ino: In instantiation of 'LinkedList<T>::~LinkedList() [with T = pin_type]':
C:\Users\sDesktop\arduino\arduino.ino:610:3: required from here
C:\Users\Desktop\arduino\arduino.ino:175:8: warning: converting 'false' to pointer type 'ListNode<pin_type>*' [-Wconversion-null]
C:\Users\Desktop\arduino\arduino.ino: In instantiation of 'LinkedList<T>::LinkedList() [with T = pin_type]':
C:\Users\Desktop\arduino\arduino.ino:607:1: required from here
C:\Users\Desktop\arduino\arduino.ino:155:7: warning: converting 'false' to pointer type 'ListNode<pin_type>*' [-Wconversion-null]
root=false;
^
C:\Users\Desktop\arduino\arduino.ino:156:7: warning: converting 'false' to pointer type 'ListNode<pin_type>*' [-Wconversion-null]
last=false;
^
C:\Users\Desktop\arduino\arduino.ino: In instantiation of 'bool LinkedList<T>::add(T) [with T = pin_type]':
C:\Users\Desktop\arduino\arduino.ino:1324:15: required from here
C:\Users\Desktop\arduino\arduino.ino:246:13: warning: converting 'false' to pointer type 'ListNode<pin_type>*' [-Wconversion-null]
tmp->next = false;
^
C:\Users\Desktop\arduino\arduino.ino: In instantiation of 'bool LinkedList<T>::add(T) [with T = sensor]':
C:\Users\Desktop\arduino\arduino.ino:1326:19: required from here
C:\Users\Desktop\arduino\arduino.ino:246:13: warning: converting 'false' to pointer type 'ListNode<sensor>*' [-Wconversion-null]
C:\Users\Desktop\arduino\arduino.ino: In instantiation of 'T LinkedList<T>::pop() [with T = sensor]':
C:\Users\Desktop\arduino\arduino.ino:1801:1: required from here
C:\Users\Desktop\arduino\arduino.ino:302:15: warning: converting 'false' to pointer type 'ListNode<sensor>*' [-Wconversion-null]
tmp->next = false;
^
C:\Users\Desktop\arduino\arduino.ino:310:10: warning: converting 'false' to pointer type 'ListNode<sensor>*' [-Wconversion-null]
root = false;
^
C:\Users\Desktop\arduino\arduino.ino:311:10: warning: converting 'false' to pointer type 'ListNode<sensor>*' [-Wconversion-null]
last = false;
^
C:\Users\Desktop\arduino\arduino.ino: In instantiation of 'T LinkedList<T>::pop() [with T = pin_type]':
C:\Users\Desktop\arduino\arduino.ino:1801:1: required from here
C:\Users\Desktop\arduino\arduino.ino:302:15: warning: converting 'false' to pointer type 'ListNode<pin_type>*' [-Wconversion-null]
tmp->next = false;
^
C:\Users\Desktop\arduino\arduino.ino:310:10: warning: converting 'false' to pointer type 'ListNode<pin_type>*' [-Wconversion-null]
root = false;
^
C:\Users\Desktop\arduino\arduino.ino:311:10: warning: converting 'false' to pointer type 'ListNode<pin_type>*' [-Wconversion-null]
last = false;
^
Le croquis utilise 19 226 octets (59%) de l'espace de stockage de programmes. Le maximum est de 32 256 octets.
Les variables globales utilisent 1 455 octets (71%) de mémoire dynamique, ce qui laisse 593 octets pour les variables locales. Le maximum est de 2 048 octets.
Je progresse mais j'en suis à MRL expected version 34 actual is 35?
12:02:37.426 [python.interpreter.3] INFO c.myrobotlab.framework.Service - i01.right info i01.right.serial connected on COM3 responded version 34 ... goodtimes...
12:02:37.526 [python.interpreter.3] INFO class org.myrobotlab.service.Arduino - servoAttach i01.rightHand.thumb pin 2
12:02:37.526 [python.interpreter.3] INFO class org.myrobotlab.serial.PortJSSC - Sending Int Array: 170,23,30,0,2,19,105,48,49,46,114,105,103,104,116,72,97,110,100,46,116,104,117,109,98
12:02:37.536 [COM3.portListener 1] INFO class org.myrobotlab.service.Arduino - Message Ack received: SERVO_ATTACH
12:02:37.538 [python.interpreter.3] INFO class org.myrobotlab.service.Servo - i01.rightHand.thumb setController i01.right
12:02:37.538 [python.interpreter.3] INFO class org.myrobotlab.service.Servo - setting i01.rightHand.thumb pin to 2
12:02:37.539 [python.interpreter.3] INFO class org.myrobotlab.service.Arduino - servo index 0 pin 2 attached
12:02:37.639 [python.interpreter.3] INFO class org.myrobotlab.service.Arduino - servoAttach i01.rightHand.index pin 3
12:02:37.639 [python.interpreter.3] INFO class org.myrobotlab.serial.PortJSSC - Sending Int Array: 170,23,30,1,3,19,105,48,49,46,114,105,103,104,116,72,97,110,100,46,105,110,100,101,120
12:02:37.646 [COM3.portListener 1] INFO class org.myrobotlab.service.Arduino - Message Ack received: SERVO_ATTACH
12:02:37.647 [python.interpreter.3] INFO class org.myrobotlab.service.Servo - i01.rightHand.index setController i01.right
12:02:37.647 [python.interpreter.3] INFO class org.myrobotlab.service.Servo - setting i01.rightHand.index pin to 3
12:02:37.647 [python.interpreter.3] INFO class org.myrobotlab.service.Arduino - servo index 1 pin 3 attached
12:02:37.747 [python.interpreter.3] INFO class org.myrobotlab.service.Arduino - servoAttach i01.rightHand.majeure pin 4
12:02:37.747 [python.interpreter.3] INFO class org.myrobotlab.serial.PortJSSC - Sending Int Array: 170,25,30,2,4,21,105,48,49,46,114,105,103,104,116,72,97,110,100,46,109,97,106,101,117,114,101
12:02:39.749 [python.interpreter.3] INFO class org.myrobotlab.service.Arduino - Ack not received : SERVO_ATTACH 2
Félicitation--
You received this message because you are subscribed to the Google Groups "InMoov" group.
To unsubscribe from this group and stop receiving emails from it, send an email to inmoov+un...@googlegroups.com.
To post to this group, send email to inm...@googlegroups.com.
Visit this group at https://groups.google.com/group/inmoov.
For more options, visit https://groups.google.com/d/optout.
#include <Servo.h>
Servo monservo;
void setup(){
monservo.attach(2); // servo attaché à la PIN 2 de l'Arduino
}
void loop(){
delay(5000);
monservo.write(45);
delay(3000);
monservo.write(0);
delay(5000);
monservo.write(80);
}