This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
wiki:v2:pixy_lego_block [2019/08/23 21:04] pixycam |
wiki:v2:pixy_lego_block [2020/04/30 22:25] (current) pixycam |
||
---|---|---|---|
Line 37: | Line 37: | ||
1. **Port Selector**: use this to select the sensor port 1 through 4 that Pixy2 is plugged into on your controller brick. | 1. **Port Selector**: use this to select the sensor port 1 through 4 that Pixy2 is plugged into on your controller brick. | ||
2. **Mode Selector**: selects between measure and compare modes. | 2. **Mode Selector**: selects between measure and compare modes. | ||
- | 3. **Lamp**: turns the lamp on or off. | + | 3. **Signature**: selects the signature or [[wiki:v2:Using_Color_Codes|color code]] you'd like Pixy2 to search for. |
- | 4. **Signature**: selects the signature or [[wiki:v2:Using_Color_Codes|color code]] you'd like Pixy2 to search for. | + | 4. **Lamp**: turns the lamp on or off. |
5. **Signature Output**: outputs the number of blocks that match the signature or [[wiki:v2:Using_Color_Codes|color code]] you specified in the Signature input. Or it outputs the signature number of the detected object if in General Mode (see the description of modes below). | 5. **Signature Output**: outputs the number of blocks that match the signature or [[wiki:v2:Using_Color_Codes|color code]] you specified in the Signature input. Or it outputs the signature number of the detected object if in General Mode (see the description of modes below). | ||
6. **X centroid**: outputs the X location of the center of the largest object that Pixy2 has found. The number returned ranges from 0 to 255, with 0 being the rightmost pixel if facing the camera lens. | 6. **X centroid**: outputs the X location of the center of the largest object that Pixy2 has found. The number returned ranges from 0 to 255, with 0 being the rightmost pixel if facing the camera lens. |