
Re: How to add new Shields & Sensors?
Thank you John for your kind reply.
What I meant is I wanted to save my setup in a nice fashion, to select it then from the drop-down list. Well, it's just a suggestion for the new release and not so really important.
What bothers me more is that the following lines result in an error:
#pragma config(Motor, motor_3, MotorLeft, tmotorExternalHBridgeDualPWM, openLoop, IOPins, dgtl3, dgtl12)
#pragma config(Motor, motor_11, MotorRight, tmotorExternalHBridgeDualPWM, openLoop, IOPins, dgtl11, dgtl13)
This is simply my setup for Arduino Motor Shield, which really takes PWM from 3 and 11, and direction from 2 and 13.
The error on debug is following:
***Byte Code Exception***
Source: opode message <SetSourceValue> (0x12)
Exception Type: 'Motor out of range(2)'
I cannot understand this error and cannot drive my robot
