Added: 1 year ago
From: mrwilsox
Views: 33,707
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (20)

Sign In or Sign Up now to post a comment!
  • how can i get this in Europe? Specifically in Croatia? Would anyone know? Please PM...

  • @shootbootleg If you're still interested simply go to texas instruments website and order it from them. I live in Romania and they shipped it to my door. :)

  • two microcontrollers!?

  • Whooya. This looks like a simple but has took a lot of skill on your part... well done..

  • I liked this presentation. LaunchPad is great for beginners and more experienced developers to make applications simpler, low cost and low power.

  • So, I've never done any development on such a tiny platform, and since you can get the LaunchPad for under 5 bucks, I think I'm gonna order one. But after watching your video, I want to get a little LCD like you have, but I have no idea where to buy one. (Especially when you made it look so simple to push those characters to it like you did!) Long story short, where'd you get that LCD? :}

  • @preludelight Also, I'll admit it, it says you're using an LCD from sparkfun, and of the ones they list, I don't want to get something I won't actually be able to interface with. Haha.

  • I would sell mine for half the price I bought it for. Arduino is still more useful. :-/

  • Why bit-bang the serial? Would using the hardware uart prevent from achieving lowest power consumption?

  • @sandiegoowl This particular MSP430 does not have a hardware UART.

  • The code contains an error which prevents it from working: LPM4_EXIT is a makro which expands to _bic_SR_register_on_exit(LPM4_­bits). So either the last line of the file must read _bic_SR_register_on_exit(LPM4_­bits);

    or just LPM4_EXIT;

  • @markusgritsch Interesting... yeah, I see that you're right from the code perspective but somehow this has been working fine for me. Perhaps it's not really going back into the proper sleep state after the button press interrupt, though, which wouldn't cause any visible problems when running. Thanks for the note.

  • @mrwilsox Strange, since I only started investigating, because the code did not work and after pressing the button the CPU remained turned off. Maybe you can fix it in the serial-lcd-demo.c file nevertheless to prevent others from being confused.

  • @markusgritsch I've updated the source file. Are you using the IAR tools or CCS? I was using IAR. Not sure if one implementation of the intrinsics is slightly different than another or something such that the code either worked or didn't work. Very weird. In any case, should be good now.

  • @mrwilsox I use CCS, probably this is the difference. As for the file: I see the last line still as __bic_SR_register_on_exit(LPM4­_EXIT); whereas it should read __bic_SR_register_on_exit(LPM4­_bits); Maybe a caching problem... will check again tomorrow.

  • @markusgritsch Ok, now I get the fixed file. Looks good. Thank you!

  • I clicked on the source code link but for some reason, it just show grabage html/text??

    

  • @mspitze Try right-clicking on the link and saving... sounds like your browser is trying to display and render the content instead of saving it to a file.

  • This would be an ideal starting base for driving displays using the MSP430. To ask cheekily, can you share your source code and a basic pinout?

  • What he said :)

    Any chance of a Github repo so we can see how you're doing it?

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more