added blueprint rp2040 image, fixed mispelt pin numbers on first motor example code
parent
7e8a2b5666
commit
6f84d1070a
Binary file not shown.
|
After Width: | Height: | Size: 1.2 MiB |
|
|
@ -30,7 +30,7 @@
|
|||
<button class="tab-btn text-gray-600 hover:text-blue-600" data-target="lesson8">Sonar</button>
|
||||
<button class="tab-btn text-gray-600 hover:text-blue-600 hidden" data-target="lesson9">Motor
|
||||
Encoders</button>
|
||||
<button class="tab-btn text-gray-600 hover:text-blue-600" data-target="lesson10">Reciever</button>
|
||||
<button hidden class="tab-btn text-gray-600 hover:text-blue-600" data-target="lesson10">Reciever</button>
|
||||
<button class="tab-btn text-gray-600 hover:text-blue-600" data-target="lesson11">PID</button>
|
||||
<!-- Add more tabs here -->
|
||||
</div>
|
||||
|
|
@ -84,7 +84,7 @@
|
|||
</ol>
|
||||
</div>
|
||||
<div>
|
||||
<img src="images/rp2040.jpg" alt="Robot moving further"
|
||||
<img src="images/rp2040zero.png" alt="Robot moving further"
|
||||
class="rounded shadow w-full max-w-xs md:max-w-full" />
|
||||
</div>
|
||||
|
||||
|
|
@ -200,8 +200,8 @@ import board
|
|||
import pwmio
|
||||
import time
|
||||
|
||||
motorIN1 = pwmio.PWMOut(board.IO8, frequency=1000, duty_cycle=0)
|
||||
motorIN2 = pwmio.PWMOut(board.IO9, frequency=1000, duty_cycle=0)
|
||||
motorIN1 = pwmio.PWMOut(board.GP8, frequency=1000, duty_cycle=0)
|
||||
motorIN2 = pwmio.PWMOut(board.GP9, frequency=1000, duty_cycle=0)
|
||||
|
||||
|
||||
# DRIVE FORWARD
|
||||
|
|
|
|||
Loading…
Reference in New Issue