I want to control the speed of a DC Motor using the arduino element of the EJS.
In the Initialization page I have the following command: arduino.setDigitalMode(9,3); which according to the documentation sets the mode of a digital pin 9 to PWM.
Then in the fixed relations page I have the command: arduino.writeDigital(9,speed); where speed is an integer variable with values between 0 and 255.
I get a compilation error by this second command "Some messages have been simplified; recompile with -Xdiags:verbose to get full output"