adafruit / adafruit/Adafruit_CircuitPython_Crickit

Evaluating crickit in repl causes dc_motor_1 only to spin.

Open
#39 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
14
Forks
11
PR merge metrics
No merged PRs in 30d

Description

I'm playing with a 2wheel dc motor rover project.

Pressing tab in the REPL to evaluate available things off of `crickit` causes dc_motor_1 to fire but not dc_motor_2.

Why is that, maybe while evaluating it's initialising stepper which causes stepper "poles" to be setup on the pins for dc_motor_1 that would be opposite to dc_motor_2's poles?

Turning off and on the motors individually works as expected.

I guess this is both a question to ask why it happens, and secondly a feature request to ask that it doesn't

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the behavior by evaluating available `crickit` objects with Tab in the REPL while both DC motors are connected. Inspect the CRICKIT motor and stepper initialization paths to determine why only `dc_motor_1` spins, then verify that REPL evaluation leaves both motors inactive and that individual motor control still works.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
embedded-iot, robotics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.