Problem: Warning:Mismatched typedefs. Converting typedef ‘char’ to typedef ‘TVexJoysticks’, value ‘Ch2’
#pragma config(Motor, port6, LiftLeft, tmotorVex269_MC29, openLoop)
#pragma config(Motor, port7, LiftRight, tmotorVex269_MC29, openLoop, reversed)
//*!!Code automatically generated by 'ROBOTC' configuration wizard !!*//
task main()
{
while(true){
if(Btn6D!=1){
motor[LiftLeft] = -95;
motor[LiftRight] = -95;
}
if(Btn6U!=1){
motor[LiftLeft] = 95;
motor[LiftRight] = 95;
}
}
}