yes, the code is compatible: arduino UNO and DUE!
good luck for your project

Let us know your progress
yours
Mat
wallytattoo wrote:Hi all, someone would be so kind to pass me the profile of x-sim.
I can not configure it, there are some settings that I do not notice.
I would be grateful and try my arduino code.
A greeting
wallytattoo wrote:Hi all, someone would be so kind to pass me the profile of x-sim.
I can not configure it, there are some settings that I do not notice.
I would be grateful and try my arduino code.
A greeting
inApin int [2] = {
7, 4}; / / INA Clockwise input
inBpin int [2] = {
8, 9}; / / INB: Counter-clockwise input
pwmpin int [2] = {
5, 6}; / / PWM input
cspin int [2] = {
2, 3}; / / CS: Current sense input ANALOG
enpin int [2] = {
0, 1}; / / EN: Status of output switches (Analog pin)
if (x[i]>47 && x[i]<58 ){//for xA to xF
if (x[i]>47 && x[i]<58 ){//for x0 to x9
if (x[i]>64 && x[i]<71 ){//for x0 to x9
x[i]=x[i]-65;
if (x[i]>64 && x[i]<71 ){//for xA to xF
x[i]=10 + (x[i]-65);
Return to Motion simulator Projects in progress
Users browsing this forum: No registered users and 1 guest