In the Simulink support package, you can control the light from a checkbox parameter in the block dialog.įor our project, we used this sensor to make a line following robot. The LEGO NXT kit ships with a Light Sensor including a red LED that can be turned on or off. Let's see how this works using an example from a LEGO NXT project I worked on. If you desperately need a driver for your hardware, you can always build it yourself. This has been possible since R2012a.Įven if we add more targets and support more features for each target with every new release, it is still possible that you will need a driver that is not included in the Simulink support package. As you may know, it is easy to run Simulink models on a set of supported target hardware.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |