Jump to content
43oh

semicolo

Members
  • Content Count

    137
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by semicolo

  1. Nope J5 just connect the MSP430 to the onboard LEDs, just keep them off. Serial.available should be false until data is received, what is displayed in the serial monitor?
  2. And shouldn't these 2 jumpers be horizontal?
  3. Do you want to know how all this works internally? I think you just need to know enough about the I/O, all the rest you mentioned is just logic and if you read the datasheet you should know enough to make it work correctly.
  4. Do something like: if (Serial.available()) { int i=Serial.read(); switch (i) { case '1': digitalWrite (receiver1, HIGH); delay (1000); digitalWrite (receiver1, LOW); break; case '2': digitalWrite (receiver2, HIGH); delay (1000); digitalWrite (receiver2, LOW); break; case '3': digitalWrite (receiver3, HIGH); delay (1000); digitalWrite (receiver3, LOW); break; case '4': digitalWrite (receiver4, HIGH); delay (1000); digitalWrite (receiver4, LOW); break; } } Then send 1 or 2 or 3 or 4 from the serial monitor
  5. How is your button connected? did you add a pullup? if not you could use the internal pullup.
  6. differential gps has a few meters precision at best, if you want inch precision, you need extra ground stations and hardware.
  7. You should first try to have it work without the wireless adapter, when it works just add the adapter and if it fails it's hardware related only. There are some odd things with your code, you set pins to HIGH and never to LOW, so after some time they will always be at HIGH level. Also you're using them as digital outputs, but mention analog in your comments so there's something wrong. Once you've declared a pin mapping with int Receiver1 = P1_0; don't use P1_0 ever again in your code, that way you can easily change the pins at the top of the program. After that, use pinMode (Receiver1, O
  8. I don't quite understand your last question. You set the pins in energia with pinMode (P1_0, INPUT) // or OUTPUT then use digitalRead(P1_0) if it's an input or digitalWrite(P1_0, HIGH) // or LOW if it's an output
  9. The one I opened is quite recent, only a few months old
  10. I think you need to open the serial port corresponding to the EZ430 and send commands to the MSP430. The MSP430 should wait for incoming bytes on the serial line and toggle the remote buttons accordingly.
  11. Hi all, I opened one of these iphone/android card swiper from Square and found an MSP430G2412 in it
  12. 200000 cycles that's 12.5ms at 16MHz, 200ms at 1MHz.
×
×
  • Create New...