Curriculum Competitions Mazebot

  • Uploaded by: MC. Rene Solis R.
  • 0
  • 0
  • December 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Curriculum Competitions Mazebot as PDF for free.

More details

  • Words: 560
  • Pages: 12
! ! #

"

!

$ #

!

!

$

!

$ &

% !

' ! (

$

! )

*

+

,-

!

%

%

.

!

! !

% /

! $,- $,-

! 0

#

$ !

1

#

!

1

!

" 1 #%

" 1

!

!

!

!

2

! ! !

! !

!

!

" !

#

$ " $

1 $

#

!

!

!

$

! !

! $

3

! !

4

!

!

,! !

$

!

!

5 !

% !

5

' / !

"

! !

!

# !

!

! $

(

!

4 $

$

6

"

!

#

!

' !

$

!

!

$ !

!

! 7

! !

! ! ! !

!

!

$ $ ! !

5 !

"

$ #

!

$ ! !

%

! # + !

!

" $ !

%

4

!

!

!

! $

!

$ + !

! " $# #

' !

"

#!

%

!

!

"

!

#

!

!

4

.

!

4

4

!

8

!

!

4 !

4

!

! !

!

5

!

" # $

! " # 4

4

!

! 5

!

!

!

!

! "

5 # 4

99

: :

&

!

$

2

"

!

#

4

99

)

: :

!

*

; =--

! <-

$

+

!

(

!

!

<- $ =- >

, $

! ')- + ! , <-

!

. + !/ , 6

6

6

!
0 ! ! !

-

* * * * * * *

>

0

!

"

!

!

!

' ' ' ' ' ' '

<

, !

! 0+ @ ; @/ A7 @/ */ 8 '; / B% / .@' @ */ / + 8 '; 7@/ ; @% ; % ) / @C

!

(

(

3

2 '

1

/ 4

! '

%D */ ! %D */ ; 7,8<,-

'

'0

4

60 )

) 0

3

"

/

5

5 ) .0

0 0

<

,%

& $ ; 7,8<,-

,

4

4

!4

!

! %

7

,

E7

,

?%

=F

.

/

; 7,8<,-

!

@

5

!

4

40

6

$

*)

7 )

!

!

!

. !

$

%D */ 5 G

H- H-

I

%D */

G

! I ,

! . ! 5

.

%D */

!

! !

!

Cricket Logo Code

to start loop [ ifelse ((sensor 2) > 500) [ ab, brake decide ] [ ifelse ((sensor 0) > 500) [ ab, brake left ] [ ifelse ((sensor 1) > 500) [ ab, brake right ] [ straight ] ] ] ] end to decide ifelse ((sensor 0) < 100) [ r90 ] [ if ((sensor 1) < 100) [ l90 ] ] end to straight ab, setpower 2 ab, thisway ab, on end to l90 a, thisway b, thatway ab, onfor 30 ab, brake end to r90 a, thatway b, thisway ab, onfor 30 ab, brake end to right b, setpower 4 ab, off b, thisway b, onfor 10 ab, brake end to left a, setpower 4 ab, off a, thisway a, onfor 10 ab, brake end

Related Documents


More Documents from "Franco Menichelli"