
areben
-
Content Count
6 -
Joined
-
Last visited
Reputation Activity
-
areben got a reaction from wendlers in Community Project: ROCKETuC
ROCKETuC is a library for launchpad, processing and Java which allows for control of the microcontroller through USB.
Stefan Wendler and I (mostly Stefan ) have been putting this together to get it to a state to release for feedback.
"ROCKETuC is a Library for fast prototyping of micro-controllers through serial protocols.
Currently the TI Launchpad with an MSP430G2553 installed is the only supported
hardware."
Right now, we have a github page with a pre-alpha release
https://github.com/areben/ROCKETuC
A how-to for processing
Processing example code
Here is an image of a simple GUI in processing by Stefan:
Source code for the GUI
We are looking for people to try it out and give some feedback.
We are also looking for coders to help with the project, specifically with the processing library, add-on modules, documentation and website.
We will also have a homepage up at
homepage: http://rocketuc.com
-
areben got a reaction from username in Community Project: ROCKETuC
ROCKETuC is a library for launchpad, processing and Java which allows for control of the microcontroller through USB.
Stefan Wendler and I (mostly Stefan ) have been putting this together to get it to a state to release for feedback.
"ROCKETuC is a Library for fast prototyping of micro-controllers through serial protocols.
Currently the TI Launchpad with an MSP430G2553 installed is the only supported
hardware."
Right now, we have a github page with a pre-alpha release
https://github.com/areben/ROCKETuC
A how-to for processing
Processing example code
Here is an image of a simple GUI in processing by Stefan:
Source code for the GUI
We are looking for people to try it out and give some feedback.
We are also looking for coders to help with the project, specifically with the processing library, add-on modules, documentation and website.
We will also have a homepage up at
homepage: http://rocketuc.com
-
areben got a reaction from Automate in Community Project: ROCKETuC
ROCKETuC is a library for launchpad, processing and Java which allows for control of the microcontroller through USB.
Stefan Wendler and I (mostly Stefan ) have been putting this together to get it to a state to release for feedback.
"ROCKETuC is a Library for fast prototyping of micro-controllers through serial protocols.
Currently the TI Launchpad with an MSP430G2553 installed is the only supported
hardware."
Right now, we have a github page with a pre-alpha release
https://github.com/areben/ROCKETuC
A how-to for processing
Processing example code
Here is an image of a simple GUI in processing by Stefan:
Source code for the GUI
We are looking for people to try it out and give some feedback.
We are also looking for coders to help with the project, specifically with the processing library, add-on modules, documentation and website.
We will also have a homepage up at
homepage: http://rocketuc.com
-
areben got a reaction from bluehash in Community Project: ROCKETuC
ROCKETuC is a library for launchpad, processing and Java which allows for control of the microcontroller through USB.
Stefan Wendler and I (mostly Stefan ) have been putting this together to get it to a state to release for feedback.
"ROCKETuC is a Library for fast prototyping of micro-controllers through serial protocols.
Currently the TI Launchpad with an MSP430G2553 installed is the only supported
hardware."
Right now, we have a github page with a pre-alpha release
https://github.com/areben/ROCKETuC
A how-to for processing
Processing example code
Here is an image of a simple GUI in processing by Stefan:
Source code for the GUI
We are looking for people to try it out and give some feedback.
We are also looking for coders to help with the project, specifically with the processing library, add-on modules, documentation and website.
We will also have a homepage up at
homepage: http://rocketuc.com
-
areben reacted to DanAndDusty in Serial return problem
__bis_SR_register(LPM0_bits + GIE); // Enter LPM0, interrupts enabled
This puts the 430 into low power mode 0. The CPU clock is off.. So any code after this will never get reached unless the CPUOFF bits in the SR are cleared inside one of your interrupt handlers. The code for this is __bic_sr_register_on_exit(LPM0_bits). Basically this says "when this handler exits clear the bits for LMP0". This will enable your CPU clock again. Alternatively you can change the line to read __bis_SR_register(GIE); which will enable the interrupt handlers but won't switch off the CPU clock.
P1OUT &= BEEP_PIN;
This line won't turn on your BEEP_PIN. Infact it will turn off EVERY OTHER pin and leave BEEP_PIN alone. You need to research binary maths. &= says "turn on bits ONLY where both sides are a 1".. Anding 0b11110000 with 0b10101010 will result in 0b10100000. Only where both bits are 1 is the result a 1. You meant to have P1OUT |= BEEP_PIN; |= is an or opperation and says "Set the bit to 1 where either of the comparison bits is 1".. so Oring 0b11110000 with 0b10101010 will result in 0b11111010.
P1OUT &= ~BEEP_PIN;
This line is correct. Basically it says "Set BEEP_PIN to 0 and leave everything as it was".. Basically its an AND opperation (&=) and the ~ means toggle each bit.. so you are ANDing with a value with every bit set except BEEP_PIN.
Reading back through this it doesn't make as good sense as Id have hoped it would. However luckily ZeroSkillz did a good tutorial Here which makes for good reading.
Hope this helps..
Dan
*EDIT*: I see you answered your own problem.. Though you didn't mention the pin toggling.. Hope you get that sorted yourself too..