NxtLightSensor

概要

レゴ社の発売しているLEGO@MINDSTORMS NXTを操作することができます(ver2.0の動作未確認)。2015年2月現在の最新バージョンはEV3ですがこのコンポーネントでは操作不可の模様(動作確認済み)。EV3に関してはBluetoothコンポーネントを使用すれば操作できる模様(動作確認済み)



Properties

  • AboveRangeEvenEnabled


  • BelowRangeEventEnabled


  • BluetoothClient


  • BottomOfRange


  • GenerateLight


  • SensorPort


  • TopOfRange


  • WithinRangeEventEnabled



Blocks


when型
whenNxtLightSensorAboveRange.png when NxtLightSensor.AboveRange
do
 


whenNxtLightSensorBelowRange.png when NxtLightSensor.BelowRange
do
 


whenNxtLightSensorWithinRangedo.png when NxtLightSensor.WithinRange
do
 



call型
callNxtLightSensorGetLightLevel.png call NxtLightSensor.GetLightLevel
 



set型
set NxtLightSensor.AboveRangeEventEnabled to  
set NxtLightSensor.BelowRangeEventEnabled to  
set NxtLightSensor.BottomOfRange to  
set NxtLightSensor.TopOfRange to  
set NxtLightSensor.WithinRangeEventEnabled to  



値型
NxtLightSensor.AboveRangeEventEnabled to  
NxtLightSensor.BelowRangeEventEnabled to  
NxtLightSensor.BottomOfRange to  
NxtLightSensor.TopOfRange to  
NxtLightSensor.WithinRangeEventEnabled to  
NxtLightSensor  

  • 最終更新:2015-04-03 02:44:38

このWIKIを編集するにはパスワード入力が必要です

認証パスワード