Two Peggyboards are connected together

Home Evil Mad Scientist Forums Ask an Evil Mad Scientist Two Peggyboards are connected together

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #20267

    Hi Windell,
    Two Peggyboards are close together ( 25×50 Leds) for show mov. / video. To transfer the processing sketch ( Mirror Peggy 3) I used 2x USB serial ( FTDI – Friend) and modified the sketch :
    serial peggyPort;
    serial peggyPort2;
    int[] GrayArray = new int[1250];
    void setup()
    peggyPort = new Serial(this, “COM5”, 115200);
    peggyPort2 = new Serial(this, “COM7”, 115200);
     size(cellSize2*50, cellSize2*25, JAVA2D);
      cols = 20; //width / cellSize;  
      ColLo = -50;
      ColHi = 25;
      rows = 25; //height / cellSize;
    Now in the in the processing ID I can see the complet movie (25×50) , but not on the “new” Peggyboard (25×50).
    There is only one board activ.
    What must I do, that the mov. file will be split on two boards?
    Thanks for helping me.

    Windell Oskay

    Essentially, you need to duplicate the functionality of the program to send the data to one Peggy to send it to the other as well. It may be easiest to generate two separate 25×25 arrays in the Processing sketch, and duplicate the existing code that sends the 25×25 array to a single Peggy.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.