How do I install the library for the MakeBlock Ultimate 2.0 MeMega2560 (Arduino 2560) into Matlab?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
How do I install the library for the MakeBlock Ultimate 2.0 MeMega2560 (Arduino 2560) into Matlab?
It is located at
and in PlatformIO is called with
lib_deps = https://github.com/Makeblock-official/Makeblock-Libraries.git
or
lib_deps = Makeblock-official/Makeblock-Libraries
or
lib_deps = MakeBlockDrive
MATLAB gives me
>> a = arduino('COM6','Mega2560','Libraries','MakeBlockDrive')
Expected libraries to match one of these values:
'Adafruit/MotorShieldV2', 'Arduino/MKRMotorCarrier', 'I2C', 'RotaryEncoder', 'SPI', 'Servo', 'ShiftRegister', 'Ultrasonic'
The input, 'MakeBlockDrive', did not match any of the valid values.
>> a = arduino('COM6','Mega2560','Libraries','MakeBlock')
Expected libraries to match one of these values:
'Adafruit/MotorShieldV2', 'Arduino/MKRMotorCarrier', 'I2C', 'RotaryEncoder', 'SPI', 'Servo', 'ShiftRegister', 'Ultrasonic'
The input, 'MakeBlock', did not match any of the valid values.
>> a = arduino('COM6','Mega2560','Libraries','Makeblock-official/Makeblock-Libraries')
Expected libraries to match one of these values:
'Adafruit/MotorShieldV2', 'Arduino/MKRMotorCarrier', 'I2C', 'RotaryEncoder', 'SPI', 'Servo', 'ShiftRegister', 'Ultrasonic'
The input, 'Makeblock-official/Makeblock-Libraries', did not match any of the valid values.
>> a = arduino('COM6','Mega2560','Libraries','https://github.com/Makeblock-official/Makeblock-Libraries.git')
Expected libraries to match one of these values:
'Adafruit/MotorShieldV2', 'Arduino/MKRMotorCarrier', 'I2C', 'RotaryEncoder', 'SPI', 'Servo', 'ShiftRegister', 'Ultrasonic'
The input, 'https://github.com/Makeblock-official/Makeblock-Libraries.git', did not match any of the valid values.
>> lib=listArduinoLibraries()
Warning: Class arduinoio.LibraryBase will be removed. Following Add-On classes need to be updated to work in future release :
Arduino/MKRMotorCarrier. Follow steps mentioned in this Arduino Add-On document to update. Click here to turn off this warning.
Warning: Class arduinoio.AddonBase will be removed. Inherit class arduinoioaddons.arduino.MKRRotaryEncoder from
matlabshared.addon.LibraryBase instead. For more information, see Arduino Add-On document.Click here to turn off this warning.
lib =
8×1 cell array
{'Adafruit/MotorShieldV2' }
{'Arduino/MKRMotorCarrier'}
{'I2C' }
{'RotaryEncoder' }
{'SPI' }
{'Servo' }
{'ShiftRegister' }
{'Ultrasonic' }
0 Kommentare
Antworten (1)
Siehe auch
Kategorien
Mehr zu MATLAB Support Package for Arduino Hardware finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!