Jump to content

Florence

Members
  • Content Count

    1
  • Joined

  • Last visited

  1. Hey guys! So I have 2 msp430g2553 launchpads and I am trying to build a IR line of sight communication system. Basically I have a IR led and IR photo transistor on both the launchpads including a visible led. So what i want to do is: Press the push button on one launchpad The IR signal from that launchpad goes to launchpad2 The visible led on launchpad2 lights up And vice versa So far I have created a program on Energia that turns the led on after pressing and releasing the push button. Then turns it off after pressing and releasing it again. But now I am stuck. I don't know how to use the analogRead() function in order to sense when the photodiode is illuminated and through that turning on the visible led on the protoboard.
×
×
  • Create New...