You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeError: responseBuffer is not iterable at spi.transfer (/home/pi/Documents/brickPi/node_modules/brickpi3/index.js:288:41)
trying to run following code:
const brickpi3 = require('brickpi3');
(async () => {
try {
let BP = new brickpi3.BrickPi3();
//Make sure to stop and free all motors and sensors when the programm exits
brickpi3.utils.resetAllWhenFinished(BP);
let motor = brickpi3.utils.getMotor(BP,BP.PORT_A);
motor.setPosition(360);
} catch (err) {
console.log(err);
}
})();
the program executes the rotation but stucks in the Error.
The text was updated successfully, but these errors were encountered:
I am getting this Error in a loop
trying to run following code:
the program executes the rotation but stucks in the Error.
The text was updated successfully, but these errors were encountered: