Jump to content
43oh

curiousmind

Members
  • Content Count

    3
  • Joined

  • Last visited

  1. @@simpleavr. Thanks. Here is a simple schematic of how my segment display is connected to the launchpad. I have also changed my PIR sensor output to P1.7. I really hope I haven't posted this multiple times. I'm sorry if I have. Thanks
  2. Thanks for your reply roadrunner84. I replaced my for loop with the if statement and it still does the same thing. I still can't figure out what's wrong.
  3. Hello Everyone, I'm having some problems with my code, and I'm really hoping to get some help and guidance to get it working. I'm new to all of this, so please bear with me, if the errors I'm making are stupid ones. The way I want my code to work is this: Everytime motion is detected on the PIR motion sensor, it should blink the LED on the launchpad, and then display the count on the seven segment display. When the count gets to 9, I want it to reset to 0 and then start over. So for example, if the PIR detects motion once, it should display 1, twice, it should display 2 and so on. Right no
×
×
  • Create New...