|
5 | 5 |
|
6 | 6 | ### Examples of bits and pieces running at Jessie level |
7 | 7 |
|
8 | | -Scripts are available also as zip/tgz on the [releases page](https://github.com/BertLindeman/bert-ev3dev-examples/releases) |
9 | | -Issues can be found [here](https://github.com/BertLindeman/bert-ev3dev-examples/issues) and edited. |
| 8 | +Scripts are available also as zip/tgz on the [releases page](https://github.com/BertLindeman/bert-ev3dev-examples/releases). |
| 9 | + |
| 10 | +Issues can be found [here](https://github.com/BertLindeman/bert-ev3dev-examples/issues). |
10 | 11 |
|
11 | 12 | These shell-scripts are located on my EV3-brick at `/usr/local/bin` |
12 | 13 | but with some simple edits you can place them where **you** want them. |
13 | 14 | They are are meant to be run on a terminal session, like in an ssl-session. |
14 | 15 |
|
15 | 16 | 1. Supporting scripts used by other scripts |
16 | 17 | * [asciicolor](https://github.com/BertLindeman/bert-ev3dev-examples/blob/master/asciicolors) Creates some variables to ease using ANSI colors in shell script. E.G. red blue etc. |
| 18 | + * [bert_ev3dev_functions](https://github.com/BertLindeman/bert-ev3dev-examples/blob/master/bert_ev3dev_functions) Replaces asciicolor and adds some common functions. |
17 | 19 | 2. Scripts related to managing the EV3-brick |
18 | 20 | * [checkpower](https://github.com/BertLindeman/bert-ev3dev-examples/blob/master/checkpower) Add this script to a crontab to check for the battery voltage. On lower power the EV3-led on the left will blink green on lower voltage, then amber and eventually red (with a beep). |
19 | 21 | Uses [blinkvoltage](https://github.com/BertLindeman/bert-ev3dev-examples/blob/master/blinkvoltage) |
20 | 22 | * [showactivity](https://github.com/BertLindeman/bert-ev3dev-examples/blob/master/showactivity) Makes the right green led blink on I/O activity. |
21 | 23 | * [stopmotors](https://github.com/BertLindeman/bert-ev3dev-examples/blob/master/stopmotors) Well, stops all motors. |
22 | 24 | 3. Scripts discovering sensors and / or motors |
23 | 25 | * [blinkleds](https://github.com/BertLindeman/bert-ev3dev-examples/blob/master/blinkleds) Simply blink the EV3 leds a few times. |
24 | | - * [setled](https://github.com/BertLindeman/bert-ev3dev-examples/blob/master/setled) Script to set an EV3-led **red** / **green** / **amber** **ON** or **OFF** and set a trigger for it. Do not confuse with **setleds** program to set keyboard leds. |
25 | | - * [showleds](https://github.com/BertLindeman/bert-ev3dev-examples/blob/master/showleds) Provides a very small display of the status of the EV3-leds. |
| 26 | + * [setled](https://github.com/BertLindeman/bert-ev3dev-examples/blob/master/setled) Script to set an EV3-led **red**, **green** or **amber** to **ON** or **OFF** and set a trigger for it. Do not confuse with **setleds** program to set keyboard leds. |
| 27 | + * [showleds](https://github.com/BertLindeman/bert-ev3dev-examples/blob/master/showleds) Provides a small display of the status of the EV3-leds. |
26 | 28 | * [showmotor](https://github.com/BertLindeman/bert-ev3dev-examples/blob/master/showmotor) Finds the tacho-motor number for attached motors. Displays many fields related to the motor(s). Tested with EV3 (large and servo) and NXT motor. |
27 | 29 | * [showpower](https://github.com/BertLindeman/bert-ev3dev-examples/blob/master/showpower) Shows various fields related to the EV3-power. |
28 | 30 | * [showsensors](https://github.com/BertLindeman/bert-ev3dev-examples/blob/master/showsensors) Show data about connected sensors. Only *regular* sensors that are recognized are reported, I assume I2C sensors are not yet supported by the script. |
29 | 31 | * [showsound](https://github.com/BertLindeman/bert-ev3dev-examples/blob/master/showsound) Shows a little info from the snd-legoev3 driver. (Not to be confused with the sound-sensor!) |
30 | 32 | * [testmotor](https://github.com/BertLindeman/bert-ev3dev-examples/blob/master/testmotor) Test one motor. Too simple script, only uses a fixed suffix on ```/sys/class/tacho-motor/tacho-motor``` The kernel takes the *next* number if a motor is plugged in. Algorithm in **showmotor** is connecting motor port to tacho-motor suffix. You can call testmotor with one parameter: the number of the motor. E.g. ```testmotor 3``` |
31 | 33 |
|
32 | 34 |
|
33 | | -### Have your EV3 report the IP-address by speach after boot |
| 35 | +### Have your EV3 report the IP-addresses by speach after boot |
34 | 36 | For this an update is needed to `/media/mmc_p1/ev3dev.rc.local` |
35 | 37 |
|
36 | 38 | Add the next lines to the bottom of `/media/mmc_p1/ev3dev.rc.local` |
|
0 commit comments