Skip to content

Support of HiTechnic Color Sensor V2 in pybricks-micropython #345

Answered by laurensvalk
dianabarrett asked this question in Q&A
Discussion options

You must be logged in to vote

The NXT color sensor class used in the script above is for the NXT color sensor that comes in the NXT set (https://docs.pybricks.com/en/latest/nxtdevices.html#nxt-color-sensor).

Could it be that you are using the HiTechnic Color Sensor V2 instead? Then you can use this class and its examples:
https://docs.pybricks.com/en/latest/iodevices/ev3devsensor.html

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@dianabarrett
Comment options

@laurensvalk
Comment options

Answer selected by dianabarrett
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
platform: EV3 Issues related to LEGO MINDSTORMS EV3 topic: sensors Issues involving sensors
2 participants