Lire et écrire des données
Interagir avec les périphériques de la brique EV3
Interagissez avec l’écran LCD, le voyant d’état, le haut-parleur et les boutons de la brique EV3.
Objets
legoev3 | Connection to LEGO MINDSTORMS EV3 brick |
Fonctions
writeLCD | Write characters to LCD on EV3 brick |
clearLCD | Clear characters from LCD on EV3 brick |
playTone | Play tones from speaker on EV3 brick |
beep | Play beep from speaker on EV3 brick |
readButton | Read whether button on EV3 brick is being pressed |
writeStatusLight | Control color and mode of status light on EV3 brick |
Tutoriels
- Getting Started with MATLAB Support Package for LEGO MINDSTORMS EV3 Hardware
This example shows you how to set up communications with the EV3 brick.
Pour commencer
Rubriques
- EV3 Brick Hardware
EV3 Brick Hardware
- Connections to EV3 Hardware
Connection layers between MATLAB® and LEGO® MINDSTORMS® EV3 hardware.
Résolution des problèmes
Cannot Connect to the EV3 Brick
Troubleshoot connecting the LEGO MINDSTORMS EV3 brick to MATLAB.