Shop OBEX P1 Docs P2 Docs Learn Events
Connect a BS2 hoke work board and a BS2 Education board — Parallax Forums

Connect a BS2 hoke work board and a BS2 Education board

goofybud16goofybud16 Posts: 9
edited 2010-01-09 21:13 in Learn with BlocklyProp
I am soon going to get a board of education, i already have a HW board. I have a program on the HW board, just it is kinda cramped. it has 4 LEDs, a speaker, two push buttons. I want the board of education to be the master which has the LEDs. the other i want the push buttons on and the speaker. How do i simply make one bord tell the other when the one of the push buttons is down and when the other is, then send the speaker signal. can anyone help? smile.gif

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--
goofybud16

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2010-01-09 21:13
    There are several Nuts and Volts Columns on networking several Stamps together. For the simple case of one Stamp talking to another, you could just use a SEROUT statement on one Stamp and a SERIN statement on the other Stamp. The slave would be waiting for a command, would act on it, then go back to waiting for a command. Typically, you'd use a lead-in character like "!" followed by a command letter (you pick it) and any supporting data needed.
Sign In or Register to comment.