Jump to content
islandgeek

What needs to be done to program 430BOOST-SENSE1 with energia?

Recommended Posts

I'm on osx with energia, and I just got my 430BOOST-SENSE1 cap touch board.

 

1) What does it take to start programming it with energia? (How does one add the libraries & examples from slac489 or slac490)

 

2) I got the demo working with the M430G2452 IC that came with the board, but eager to try energia I uploaded the blink example to the IC. While the middle LED blinks now, where/how can I get back the original demo to the chip when needed?

 

3) As a newbie hobbyist, should I be using something other then energia?

 

Thanks in advance, I look forward to learning and experimenting! 

 

 

 

Share this post


Link to post
Share on other sites

CapSense library is posted here: http://forum.43oh.com/topic/3158-capacitive-touch-library/

 

All examples are written to work with the 430-BOOST-SENSE1 BoosterPack.

 

There are a bunch of other libraries here: http://forum.43oh.com/forum/30-energia-libraries/ that you might find usefulle.

 

And to answer 3). Energia is totally the right place to start as a newbie hobbyist. As you learn, you will find that Energia is not limited to the Wiring/Arduino API but also allows you go down to assembly level if you like.

 

If you decide to start working with Energia and have questions then the Energia specific forum is here: http://forum.43oh.com/forum/28-energia/

 

Good luck and let us know how it goes with the CapSens library CapSense library.

Share this post


Link to post
Share on other sites

CapSense library is posted here: http://forum.43oh.com/topic/3158-capacitive-touch-library/

 

All examples are written to work with the 430-BOOST-SENSE1 BoosterPack.

 

 

Thanks for the prompt reply! 

 

There was no INSTALL/README, so I did the following just by making assumptions on where things should go: 

 

sudo cp /Users/islandgeek/Downloads/CapTouch\ 2/CapTouch.cpp Java/hardware/msp430/libraries/

sudo cp /Users/islandgeek/Downloads/CapTouch\ 2/CapTouch.h Java/hardware/tools/msp430/msp430/include/

sudo cp -r /Users/islandgeek/Downloads/CapTouch\ 2/examples/ Java/examples

 

I see the examples in energia now. However when I try to upload CapTouchButton (the first example) to the msp430:

 

CapTouchButton.cpp.o: In function `loop':
CapTouchButton.cpp:37: undefined reference to `CapTouch::isTouched()'
CapTouchButton.cpp:38: undefined reference to `CapTouch::isTouched()'
CapTouchButton.cpp:39: undefined reference to `CapTouch::isTouched()'
CapTouchButton.cpp:40: undefined reference to `CapTouch::isTouched()'
CapTouchButton.cpp.o: In function `__static_initialization_and_destruction_0':
CapTouchButton.cpp:25: undefined reference to `CapTouch::CapTouch(unsigned char, unsigned char)'
CapTouchButton.cpp:26: undefined reference to `CapTouch::CapTouch(unsigned char, unsigned char)'
CapTouchButton.cpp:27: undefined reference to `CapTouch::CapTouch(unsigned char, unsigned char)'
CapTouchButton.cpp:28: undefined reference to `CapTouch::CapTouch(unsigned char, unsigned char)'
collect2: ld returned 1 exit status
 
 

Share this post


Link to post
Share on other sites

That's not the right place to install it in.

See instructions under "How to Install a Library" on this page http://arduino.cc/en/Guide/Libraries.

 

In your case what you want to end up with is: 

 

Documents -> Energia -> libraries -> CapTouch

 

Energia directory is your Sketch folder and not the Energia installation directory. If the directory libraries does not exist then create it.

 

Also, remove all the files from your previous attempt since they might cause a conflict.

 

Robert

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...