# Tello Talent - Matrix LED - DroneBlocks error on "00\_test\_installation.py"

**URL:** <https://community.droneblocks.io/t/tello-talent-matrix-led-droneblocks-error-on-00-test-installation-py/1232>\
**Category:** DroneBlocks Support\
**Created:** [January 8, 2024, 12:38am UTC](https://community.droneblocks.io/t/tello-talent-matrix-led-droneblocks-error-on-00-test-installation-py/1232 "2024-01-08T00:38:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MrDempsey](https://avatars.discourse-cdn.com/v4/letter/m/b9bd4f/32.png) [@MrDempsey](https://community.droneblocks.io/u/MrDempsey)\
**Post date:** [January 8, 2024, 12:38am UTC](https://community.droneblocks.io/t/tello-talent-matrix-led-droneblocks-error-on-00-test-installation-py/1232/1 "2024-01-08T00:38:16Z")

</div>

Hi, apologies if I have missed something obvious - I am working though “Programming Robomaster TT (Tello Talent) with Python” - “Software Install” lesson

Environment: OS - MacBook Air , Apple M2 Sonoma 14.2.1

1. Using the Arduino IDE - with extension module connected to USB port - updated firmware - successfully connect and can manipulate the matrix display - the below example displays correctly on the matrix

void setup()  
{  
Wire.begin(27, 26);  
Wire.setClock(400000);  
tt\_matrix.Init(127);  
tt\_matrix.SetLEDStatus(RMTT\_MATRIX\_CS, RMTT\_MATRIX\_SW, RMTT\_MATRIX\_LED\_ON); // 打开所有LED  
}  
void loop()  
{  
tt\_matrix.SetAllPWM((uint8\_t \*)matrix\_b3); // 设置数字为蓝色的3  
delay(3000);  
tt\_matrix.SetAllPWM((uint8\_t \*)matrix\_b2); // 设置数字为蓝色的2  
delay(1000);  
//tt\_matrix.SetAllPWM((uint8\_t \*)matrix\_b1); // 设置数字为蓝色的1  
//delay(1000);  
}

1. From the “Software Install” lesson  
00\_test\_installation.py produces the below error

(01\_takeoff\_land.py and 02\_takeoff\_land\_sert\_script.py both run without error)

(venv) pdempsey@pdempsey-LX7XLD49J4 DroneBlocks-Python % python3 00\_test\_installation.py

DroneBlocks Util Version: 0.2.2

[INFO] tello.py - 122 - Tello instance was initialized. Host: ‘192.168.10.1’. Port: ‘8889’.

[INFO] tello.py - 437 - Send command: ‘command’

[INFO] tello.py - 461 - Response command: ‘ok’

[INFO] tello.py - 437 - Send command: ‘EXT mled g 0000000000p00p0000000000000pp000p00pp00pp000000p0p0000p000pppp00’

[WARNING] tello.py - 447 - Aborting command ‘EXT mled g 0000000000p00p0000000000000pp000p00pp00pp000000p0p0000p000pppp00’. Did not receive a response after 7 seconds

[INFO] tello.py - 437 - Send command: ‘EXT mled g 0000000000p00p0000000000000pp000p00pp00pp000000p0p0000p000pppp00’

[WARNING] tello.py - 447 - Aborting command ‘EXT mled g 0000000000p00p0000000000000pp000p00pp00pp000000p0p0000p000pppp00’. Did not receive a response after 7 seconds

[INFO] tello.py - 437 - Send command: ‘EXT mled g 0000000000p00p0000000000000pp000p00pp00pp000000p0p0000p000pppp00’

[WARNING] tello.py - 447 - Aborting command ‘EXT mled g 0000000000p00p0000000000000pp000p00pp00pp000000p0p0000p000pppp00’. Did not receive a response after 7 seconds

Traceback (most recent call last):

File “/Users/pdempsey/Desktop/Computing/Tello Drone/DroneBlocks-Python/00\_test\_installation.py”, line 18, in

```
db_tello.display_smile()

```

File “/Users/pdempsey/Desktop/Computing/Tello Drone/DroneBlocks-Python/venv/lib/python3.9/site-packages/droneblocks/DroneBlocksTello.py”, line 160, in display\_smile

```
return self._display_pattern(smile)

```

File “/Users/pdempsey/Desktop/Computing/Tello Drone/DroneBlocks-Python/venv/lib/python3.9/site-packages/droneblocks/DroneBlocksTello.py”, line 81, in \_display\_pattern

```
return self.send_expansion_command(f"mled g {flattened_matrix}")

```

File “/Users/pdempsey/Desktop/Computing/Tello Drone/DroneBlocks-Python/venv/lib/python3.9/site-packages/droneblocks/DroneBlocksTello.py”, line 47, in send\_expansion\_command

```
return super().send_expansion_command(expansion_cmd)

```

File “/Users/pdempsey/Desktop/Computing/Tello Drone/DroneBlocks-Python/venv/lib/python3.9/site-packages/djitellopy/enforce\_types.py”, line 54, in wrapper

```
return func(*args, **kwargs)

```

File “/Users/pdempsey/Desktop/Computing/Tello Drone/DroneBlocks-Python/venv/lib/python3.9/site-packages/djitellopy/tello.py”, line 905, in send\_expansion\_command

```
self.send_control_command(cmd)

```

File “/Users/pdempsey/Desktop/Computing/Tello Drone/DroneBlocks-Python/venv/lib/python3.9/site-packages/djitellopy/enforce\_types.py”, line 54, in wrapper

```
return func(*args, **kwargs)

```

File “/Users/pdempsey/Desktop/Computing/Tello Drone/DroneBlocks-Python/venv/lib/python3.9/site-packages/djitellopy/tello.py”, line 486, in send\_control\_command

```
self.raise_result_error(command, response)

```

File “/Users/pdempsey/Desktop/Computing/Tello Drone/DroneBlocks-Python/venv/lib/python3.9/site-packages/djitellopy/enforce\_types.py”, line 54, in wrapper

```
return func(*args, **kwargs)

```

File “/Users/pdempsey/Desktop/Computing/Tello Drone/DroneBlocks-Python/venv/lib/python3.9/site-packages/djitellopy/tello.py”, line 528, in raise\_result\_error

```
raise Exception("Command '{}' was unsuccessful for {} tries. Latest response:\t'{}'"

```

Exception: Command ‘EXT mled g 0000000000p00p0000000000000pp000p00pp00pp000000p0p0000p000pppp00’ was unsuccessful for 4 tries. Latest response: ‘Aborting command ‘EXT mled g 0000000000p00p0000000000000pp000p00pp00pp000000p0p0000p000pppp00’. Did not receive a response after 7 seconds’

(venv) pdempsey@pdempsey-LX7XLD49J4 DroneBlocks-Python %

1. Using Packet Sender with extension module connected to the drone - command runs ok, no response to EXT mled  
 ![image](https://canada1.discourse-cdn.com/flex036/uploads/droneblocks/original/1X/37f3d4fd7e145480af66055e864e03f8c76c4446.png)

Best Regards.
