<< return to Pixycam.com

User Tools

Site Tools


wiki:v2:building_the_libpixyusb_example_on_linux2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
wiki:v2:building_the_libpixyusb_example_on_linux2 [2018/06/29 05:15]
hohenheim [2.2.1 Download Pixy2 source code]
wiki:v2:building_the_libpixyusb_example_on_linux2 [2018/06/29 14:38]
hohenheim [3.1. Color Identification Example (GetBlocksCPPDemo)]
Line 51: Line 51:
 In the terminal window type: In the terminal window type:
  
-''​%%cd pixy/scripts%%''​\\ +''​%%./pixy2/​scripts/​build_libpixyusb2.sh%%''​
-''​%%./​build_libpixyusb2.sh%%''​+
  
 {{:​undefined:​build_libpixyusb2.png?​400|}} {{:​undefined:​build_libpixyusb2.png?​400|}}
  
  
-==== 2.2.3. Install the library ==== 
  
-Installing the library files requires root privileges. 
- 
-In the terminal window type: 
- 
-''​%%sudo ./​install_libpixyusb.sh%%''​ 
- 
-{{wiki:​img:​d35f59500541f5c21f6aa117ae10b1ecb6af8fba.png?​400}} 
  
  
 ====== 3. Example projects ====== ====== 3. Example projects ======
  
-Before trying the examples below, connect ​Pixy to your Linux system using a USB Mini cable:+Before trying the examples below, connect ​Pixy2 to your Linux system using a USB Micro-B ​cable:
  
-{{wiki:img:e0e66b6f1b2c5231027c1d03c811e16207772021.jpg?400}}+{{:undefined:connect_pixy_usb.png?400|}}
  
  
-===== 3.1. hello_pixy: A Simple IO Example =====+===== 3.1. Color Identification ​Example ​(GetBlocksCPPDemo) ​=====
  
 The example does the following: The example does the following:
  
-  - Connects to Pixy using USB +  - Connects to Pixy2 using USB 
-  - Displays firmware version installed on Pixy +  - Displays firmware version installed on Pixy2 
-  - Block information is displayed (as shown in the image above) if color signatures have been set and if the signatures are currently being detected by Pixy.+  - Block information is displayed (as shown in the image above) if color signatures have been set and if the signatures are currently being detected by Pixy2.
  
  
wiki/v2/building_the_libpixyusb_example_on_linux2.txt · Last modified: 2018/06/29 15:23 by hohenheim