Jump to content
43oh

Leaderboard

Popular Content

Showing content with the highest reputation on 10/17/2010 in all areas

  1. I made this little project and wanted to share it. The code is mostly from "Half Duplex Software UART on the LaunchPad" by NJC, I just added the ADC parts I needed. The Processing application send first a "X" and the LP answer with the value from one of the axes, then send a "Y" and you get the value from the other axis. After that the soft update the snake position and repeat the process. In order to start the game you have to click on the START button (pretty obvious), you lose if the snake touchs any of the sides, also the length and speed increase as you eat the little boxes. The codes
    1 point
  2. Good news! I've gotten it to work! Bad news... it depends on a heavy (but free) Eclipse-based IDE (however, it uses gcc-arm behind the scenes, so there is no code-size limit!). Also, no mbed libraries, nor JTAG/debugging. But that might just prompt me to write an LPChere framework ala MSPhere, and there's always serial monitoring. I'll be doing a blog post later. For now, I must be off. Just thought I'd share the good news!
    1 point
  3. In LCD-functions.c, "defines" is misspelled. Fix:Rename "LCD-defines.h" to "LCD-definies.h" You will also eventually need "LCD-functions.h" which was not included in the zip file.
    1 point
  4. actually i think it is the other way around, to use the XIN XOUT as IOs, i have to set them to 0s i.e. P2SEL &= ~(BIT6|BIT7); it is more consistent this way, all P1 pins have P1SEL bit low when they are digital IOs. i checked the datasheet p.43 and p.44 to confirm this, the tables also implies that u cannot use P2.7 as IO when P2.6 is timer output. i observed this as i always sets P2SEL=0x00; to make them available as IO. i would guess that at POR value of P2SEL is set to BIT6+BIT7 (aux function, but default setting) and u have to reset them (turn off) to enable IO.
    1 point
  5. Hi All, 43oh has a new feature, where you can "Thank" users if their posts have been helpful to you. You will see a tiny "Thumbs Up" sign on the top right of every post, except yours..as you can't thank yourself :mrgreen: . This also adds two fields to your profile. Hope you guys like it and make use of it.. Thank away!
    1 point
×
×
  • Create New...