Professional Documents
Culture Documents
#include<POP32.h> It is used to accept the SR(50); This will let your robot spins
command to be used in to the right.
POP32i Controller Board.
The Power is from 0-100%,
wherein 100 is the fastest
motor speed.
FD(50); It drives all your motors oled.text(0,0,”Hello This displays the word
forward at 50% power. World”); Hello World on oled screen.
oled.show( );
0% power stops the motor. * oled screen is a built-in
screen of the POP32i
The Power is from 0-100%, Controller board.
wherein 100 is the fastest
motor speed.
BK(50); It drives all your motors left=analogRead(PA5); This stores the value of
backward at 50% power. right=analogRead(Pa6); black or white color to left
and right variables.
The Power is from 0-100%, *using IR Reflector Sensor
wherein 100 is the fastest ZX-03 of Inex
motor speed.
SL(50); This will let your robot spins oled.text(0,0,”L=%d”,left); This displays the value of
to the left. oled.text(1,0,”R=%d”,right); left and right on oled
screen.
The Power is from 0-100%,
wherein 100 is the fastest *using IR Reflector Sensor
motor speed. ZX-03 of Inex
SW_OK_press( ); Waits for SW-OK button of SW1_press( ); Waits for SW1 button of
the POP32i Board to be the POP32i Board to be
pressed. pressed.