Skip to content
Discussion options

You must be logged in to vote

This question is somewhat unclear to me. What's "OR" stand for?

You'll see that the array only has six elements, so while it shouldn't crash, sensor[6] does not exist (the array goes from 0 to 5). Per the iRobot Coding protocol docs, the seventh sensor is not exposed in iRobot Coding protocol version 1.4, but it will be exposed in 1.5.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@shamlian
Comment options

Answer selected by shamlian
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants