Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I install the library for the MakeBlock Ultimate 2.0 MeMega2560 (Arduino 2560) into Matlab? #61

Open
clplaneguy opened this issue May 16, 2019 · 0 comments

Comments

@clplaneguy
Copy link

I have found the MakeBlock library on GitHub and can access it on my computer and in PlatformIO. However I cannot access the library in MATLAB. What would the name be in MATLAB?

My text to MATLAB is as follows

How do I install the library for the MakeBlock Ultimate 2.0 MeMega2560 (Arduino 2560) into Matlab?

It is located at
https://github.com/Makeblock-official/Makeblock-Libraries
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'             }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant