LEGO ??3 - PowerPoint PPT Presentation

About This Presentation
Title:

LEGO ??3

Description:

LEGO 3 1. Hitechnic sensor 2. Hitechnic sensor 3. Hitechnic sensor 4. Hitechnic – PowerPoint PPT presentation

Number of Views:84
Avg rating:3.0/5.0
Slides: 14
Provided by: AiR118
Category:

less

Transcript and Presenter's Notes

Title: LEGO ??3


1
LEGO ??3
  • 1. Hitechnic ???sensor??
  • 2. Hitechnic ??sensor??
  • 3. Hitechnic ???sensor??
  • 4. Hitechnic ??????
  • 5. ??Project??

2
Introduction
  • ??LEGO????????sensor??,?????????,??NXT???sensor?
  • ???Hithchnic?????sensor???,??
  • ??? sensor
  • ?? sensor
  • ??? sensor
  • ????

3
1. HITECHNIC ???SENSOR
4
Hitechnic ???sensor
  • sensor???????????,???60????
  • ????????????????
  • ??????????????(?????,????),??sensor?????

5
2. HITECHNIC ??SENSOR
6
Hitechnic ??sensor
  • ????????????
  • ???????????????
  • ????View-gtUltrasonic cm
  • ??sensor?????????,?????????
  • ????1?17,???????????(??????)

7
3. HITECHNIC ???SENSOR
8
Hitechnic ???sensor
  • ????,??????????
  • ???????????????
  • ????????1-50,???255-205?
  • ????View-gtUltrasonic cm

9
4. HITECHNIC ????
10
Hitechnic ????
  • ?????????????????????
  • ????View-gtUltrasonic
  • ????2?????,?sensor???,?????0??????45?(x2?90?)
  • ?????90??????135?????????179????
  • ???sensor???,??????????????,???????sensor???????

11
Multithreading define ??
  • ???????????

include "NXCDefs.h" task main()
SetSensorLowspeed(IN_1) // ????????? int
dir while(true) dir
SensorUS(IN_1) // ??sensor??
NumOut(0, LCD_LINE1, dir, true) // ??dir??
if(dirgt125 dirlt145)
OnFwd(OUT_A,50) else
Off(OUT_A)
12
????
  • ??????????????,?????sensor???sensor???????????????
    ?,??????????,????????????,??????????????,?????sens
    or??????
  • Bonus????touch sensor,?touch sensor??????/???????
    ?

13
??Project??
Write a Comment
User Comments (0)
About PowerShow.com