View: 1166|Reply: 3

RaspTank on a Raspberry Pi 4B

[Copy link]

1

Threads

1

Posts

7

Credits

Newbie

Rank: 1

Credits
7
Post time 2020-4-4 00:47:28 | Show all posts |Read mode
Hi,

I have a RaspTank and a Raspberry Pi 4B, the instructions do not work for the 4B and as it stands today, the GIT HUB code is actually wrong.

The only way I got it to work was to use the latest change yesterday (uses server.py not webServer.py) but also LED.py is expecting 3 parameters for R(ed), G(reen), B(lue) where all the server code calls it with the class color.

  1. server.py uses: colorWipe( Color(r,g,b) )
Copy the Code

rather than

  1. LED.py expects: colorWipe( r, g, b)
Copy the Code

I can drive around (although fowards and backwards are the wrong way around) and watch the video so at the moment I'm happy.

However, please post out the full set of code into GitHub, please also update the instructions as the current way doesn't work, at least for me.

BTW, I'm based in the UK so would have to change the wpa_ to use GB not US.

Love it, will be buying more, might have to write my own software though!!!

Please post fixes!!!
Reply

Use magic Report

0

Threads

5

Posts

21

Credits

Newbie

Rank: 1

Credits
21
Post time 2020-4-8 18:31:31 | Show all posts
Hello

RaspTank supports 4 but  does not necessarily support 4B .

And thank you for your advise , we will update the code in GitHub asap .

Reply

Use magic Report

1

Threads

3

Posts

27

Credits

Newbie

Rank: 1

Credits
27
Post time 2020-6-8 03:05:11 | Show all posts
was this fix added? im considering buying the rasptank soon but the only other by i have right now is a pi4b+
Reply

Use magic Report

1

Threads

49

Posts

150

Credits

Registered member

Rank: 2

Credits
150
Post time 2020-7-20 16:56:22 | Show all posts
The bug that cannot be adapted to 4 has been fixed. Thank you.
Reply

Use magic Report

You have to log in before you can reply Login | Sign Up

Points Rules