File tree Expand file tree Collapse file tree
src/main/java/io/github/pseudoresonance/pixy2api Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -49,10 +49,11 @@ protected Pixy2Video(Pixy2 pixy) {
4949 /**
5050 * Gets average RGB value at 5x5 area around specified coordinates in the image
5151 *
52- * @param x X value
53- * @param y Y value
54- * @param rgb RGB container to return values in
55- * @param saturate Whether or not to scale all RGB values to maximize the greatest value at 255
52+ * @param x X value
53+ * @param y Y value
54+ * @param rgb RGB container to return values in
55+ * @param saturate Whether or not to scale all RGB values to maximize the
56+ * greatest value at 255
5657 *
5758 * @return Pixy2 error code
5859 */
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ public int open(int arg) {
6363 * Closes I2C port
6464 */
6565 public void close () {
66- //i2c.close();
66+ // i2c.close();
6767 }
6868
6969 /**
Original file line number Diff line number Diff line change 2626 *
2727 * end license header
2828 *
29- * Arduino ICSP SPI link class
29+ * Arduino ICSP SPI link class
3030 */
3131
3232public class SPILink implements Link {
3333 private final static int PIXY_SPI_CLOCKRATE = 2000 ;
3434
3535 private SPI spi = null ;
36-
36+
3737 /**
3838 * Opens SPI port
3939 *
@@ -63,7 +63,7 @@ public int open(int arg) {
6363 spi = new SPI (port );
6464 spi .setClockRate (PIXY_SPI_CLOCKRATE );
6565 spi .setMSBFirst ();
66- //spi.setSampleDataOnTrailingEdge();
66+ // spi.setSampleDataOnTrailingEdge();
6767 spi .setSampleDataOnFalling ();
6868 spi .setClockActiveLow ();
6969 spi .setChipSelectActiveLow ();
@@ -74,7 +74,7 @@ public int open(int arg) {
7474 * Closes SPI port
7575 */
7676 public void close () {
77- //spi.close();
77+ // spi.close();
7878 }
7979
8080 /**
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ public int open(int arg) {
7272 * Closes UART/Serial port
7373 */
7474 public void close () {
75- //serial.close();
75+ // serial.close();
7676 }
7777
7878 /**
You can’t perform that action at this time.
0 commit comments