Commands for EV3-API Initialization: command #include InitEV3(); FreeEV3();

explanation including Header Initialization of all EV3-Functions Closing of all EV3-Functions

Display: command bool LcdClean(); LcdPrintf(,,…);

explanation Erase Display Working like printf()

Help: parameter type char

explanation Color of text

Pointer to text


value 1: black text 0: wihteteext with black background e.g. “Hello EV3“

Break: command void Wait();

explanation Break code for a given time

Help: parameter type explanation unsigned time in ms long possible to use the given macros or type directly the value

©Simón Rodriguez Perez, 2016

value MS_1…10 :1 10…100 :10 50…500 :50 100…900 :100 SEC_1…10 :1 5…20 :5 30 MIN_1

Inputs (Sensoren): Commands: command int setAllSensorMode(, ,,); int readSensor(); int setIRBeaconCH(, );

explanation Allocate of the sensor types of all 4 ports in the correct order (IN_1, IN_2, IN_3, IN_4) Readout of the actual sensor data Set Channel of the Beacon for Readout (default: Ch. 1 )

Help: parameter

type int char int

explanation Input-Ports Name und Mode of the connected Sensors Channel of the Beacon. Needed for: IR_SEEK and IR_REMOTE

value IN_1, IN_2, IN_3, IN_4 See next table BEACON_CH_1, BEACON_CH_2, BEACON_CH_3, BEACON_CH_4

Sensor type: Sensor No Sensor


Touch sensor


Light sensor


Sonar sensor Gyroscope EV3 Infrared


©Simón Rodriguez Perez, 2016

explanation No sensor to the port connected Return of state (2 states possible) Return of the reflected light intensities in % Return of room light intensities in % Return of color

Return of distance in mm Return of angle in ° Return of gear rate in °/s Return of distance in % (up to 70cm) Position of the Beacon Controlling EV3 with Beacon

return value -1 Not pressed: 0 pressed: 1 0 to 100 0 to 100 0: transparent 1: black 2: blue 3: green 4: yellow 5: red 6: white 7: brown 0 to 2550 -180 to 180 -440 to 440 0 (Near) to 100 (Far) -25 to 25 BEACON_OFF BEACON_UP_LEFT BEACON_DOWN_LEFT BEACON_UP_RIGHT BEACON_DOWN_RIGHT BEACON_UP BEACON_DIAG_UP_LEFT

NXT Infrared NXT Temperature

NXT_IR_SEEKER NXT_TEMP_C Temperature in °C NXT_TEMP_F Temperature in °F


Outputs (Motoren): Controlling: command void OnFwdReg(, ); void OnRevReg(, ); void OnFwdSync(, ); void OnRevSync(, ); void Off(); void RotateMotor(, , );

explanation Forwards/backwards with given speed synchronized forwards/backwards with given speed (only working with two motors) Switch off motors Rotate with given speed for a defined angle (Code stops till the angle is reached)

Reading out: command int MotorRotationCount(); void ResetRotationCount(); char MotorPower();

explanation Rotation angle of the motors in ° Reset of rotation angle Actual motor speed

Help: parameter type int

explanation Output-ports

speed angle in °

char int

©Simón Rodriguez Perez, 2016


Buttons und LED: Functions for LED: command void SetLedPattern(); void SetLedWarning ();

explanation Changing color of LED behind buttons Activate/deactivate of warning. LED color cannot be changed while warning is set.

Functions for buttons: command word ButtonWaitForAnyPress(

Commands for EV3-API - GitHub

<Color> char. Color of text. 1: black text. 0: wihteteext with black background. <Text> .... LED color cannot be changed while warning is set. ... (1: true, 0: false).

403KB Sizes 75 Downloads 380 Views

Recommend Documents

SIP HTTP GET commands - GitHub
A network error will be raised if this is run in Auto mode. Parameters: ○ sid=x is .... the third program http://x.x.x.x/dp?pw=opendoor&pid=-1 delete all programs ...

Understanding Commands for the Naturalization Interview - USCIS
Print the cards on 8 1/2” x 11” paper. Cut and fold to make flash cards. Fasten the two sides together with tape, glue or staples. Use as a study tool. Pick up a card. Look at the picture and read the command. Cut the cards on the dashed line. Fo

Understanding Commands for the Naturalization Interview - USCIS
Print the cards on 8 1/2” x 11” paper. Cut and fold to make flash cards. Fasten the two sides together with tape, glue or staples. Use as a study tool. Pick up a ...

AVID Console Commands - Sound & More
Nov 18, 2007 - Picture in Picture, or automatically by the system when you place an SD .... space, and know if they have time for a phone call or a long lunch…

AVID Console Commands - Sound & More
Nov 18, 2007 - resulting in a speedup of course. .... BackRevCC -- Copy sequence for Symphony Meridien CC .... AVID and Adobe Training for Television.

Lodash for President - GitHub
Page 1. LODASH FOR PRESIDENT. Christian Ulbrich, CDO Zalari UG. Page 2. AGENDA PROPAGANDA. • Recap: LoDash. • Why? • Installation.

Uses for Modules - GitHub
In this article, I will walk you through several practical examples of what modules can be used for, ranging from ... that is not the case. Ruby would apply the definitions of Document one after the other, with whatever file was required last taking

For Developing Countries - GitHub
Adhere to perceived affordance of a mobile phone to avoid alienating the user. Target users are unfamiliar to banking terminology. Balance Check. Shows current balance in m-banking account. Top Up. Scratch card or merchant credit transfer. Credit Tra

windbg commands pdf
File: Windbg commands pdf. Download now. Click here if your download doesn't start automatically. Page 1 of 1. windbg commands pdf. windbg commands pdf.

telnet commands pdf
Whoops! There was a problem loading more pages. telnet commands pdf. telnet commands pdf. Open. Extract. Open with. Sign In. Main menu. Displaying telnet ...

Minecraft Commands For Command Block 973
UpdateStar 11 lets you stay up to date and secure with the software on your ... Clients Live Free Game Generator Codes, Code Generator Free Premium Tanks ...

Clojure for Beginners - GitHub
Preview. Language. Overview. Clojure Basics & .... ( file))]. (doseq [line .... Incremental development via REPL ⇒ less unexpected surprises ...

hacking for sustainability - GitHub
web, is the collection of interconnected hypertext3 documents. 3 Hypertext is a .... the online photo service Flickr hosts now more than 200 ... It is one of the top ten most visited websites ..... best possible delivery route between different store

Directions For Use - GitHub
Page 7 of 46. 4. Using EMPOP to perform mtDNA haplotype frequency estimates. EMPOP follows the revised and extended guidelines for mitochondrial DNA typing issued by the DNA commission of the ISFG (Parson et al. 2014). See document for further detail

Haskell for LATEX2e - GitHub
School of Computer Science and Engineering. University of New South Wales, Australia [email protected]. .... Research report, Yale University, April 1997. 4.

Manual for tsRFinder - GitHub
Feb 11, 2015 - Book (running OS X) or laptop (running Linux), typically within 10 min- .... ure (”label/distribution.pdf”) showing the length distributions and base.

zathura pdf commands
There was a problem loading more pages. zathura pdf commands. zathura pdf commands. Open. Extract. Open with. Sign In. Main menu. Displaying zathura pdf ...

Notes for GTM 9 - GitHub
Aug 6, 2013 - the eigenvalues of adx are precisely the n2 scalars ai − aj(1 ⩽ i, j ⩽ n), which of course need not be distinct. Solution. Choose a basis for Fn so ...

Font Display for Career - GitHub
Font Display for Career. 0. 1. 2. 3. 4. 5. 6. 7. 8. 9. A. B. C. D. E. F. 0020 ! " # $. & ' ( ). + , - . /. 0030 0 1 2 3 4 5 6 7 8 9 : ; < = > ? 0040 @ ...

Manual for pasdoc 0.8 - GitHub
Jul 12, 1997 - @author Treat the argument as an author's name and email address .... HTML file by using htlatex, or a PDF file by using pdflatex. It is to note ...

Speech recognizer for EllaVator - GitHub
Jun 3, 2015 - Page 1 .... = [ Take me to ] | [please ];. = ( first ... Dont forget to pre-process the data before using the online tool (web interface).

Tutorial for Overture/VDM++ - GitHub
Sep 6, 2015 - Overture Technical Report Series. No. TR-004. September ... Year Version Version of Overture.exe. January. 2010. 0.1.5 ... Contents. 3 Overture Tool Support for VDM++. 1. 3.1 Introduction . .... classes and their usage in class diagrams

Instructions for using FALCON - GitHub
Jul 11, 2014 - College of Life and Environmental Sciences, University of Exeter, ... used in FALCON is also available (see FALCON_Manuscript.pdf. ). ... couraged to read the accompanying technical document to learn ... GitHub is an online repository