Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Thiago Marzagão authored Oct 23, 2018
1 parent 0ea2d7b commit 7bcd278
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
###ev3py
ev3py
=====

This Python module lets you interact with LEGO Mindstorms EV3 bricks using intuitive, easy-to-understand methods. It communicates with the EV3's native firmware, so there is no need to create a bootable SD card; just turn on the brick and start coding.

No installation is necessary. Just download the two files (ev3py.py and dec_to_hex.py) and import the 'ev3' class from ev3py.

Usage example (start motors in ports A and D, with 20% capacity):

from ev3py import ev3
from ev3py import ev3

mybrick = ev3()
mybrick.connect('bt') # connect with EV3 via Bluetooth
mybrick.motor_start(ports = 'ad', power = 20)
mybrick = ev3()
mybrick.connect('bt') # connect with EV3 via Bluetooth
mybrick.motor_start(ports = 'ad', power = 20)

For now the module is still inchoate; it only covers some basic functions (motor- and sensor-related functions) and it only works on Macs, and only via Bluetooth. The goal is to eventually cover all EV3 capability and make ev3py work with USB and WiFi and also with Linux and Windows.

Expand Down

0 comments on commit 7bcd278

Please sign in to comment.