Jump to content
43oh

cheverecamachidoche

Members
  • Content Count

    28
  • Joined

  • Last visited

  • Days Won

    2

cheverecamachidoche last won the day on May 16 2012

cheverecamachidoche had the most liked content!

About cheverecamachidoche

  • Rank
    Member

Profile Information

  • Location
    M
  1. Hi guys, Im trying to understand the sleep function in the One Button example of the capacitive touch boosterpack, but im a little bit confused. is the microcontroller sensing every 500 msec (#define DELAY 5000 )? during the up count to TA0CCR0 is the micro in LPM3? //****************************************************************************** // RO_PINOSC_TA0_WDTp_One_Button example #include "CTS_Layer.h" //#define ELEMENT_CHARACTERIZATION_MODE #define DELAY 5000 // Timer delay timeout count - 5000*0.1msec = 500 msec #ifdef ELEMENT_CHARACTERIZATION_MODE // Delta Counts returned f
  2. Hello, you can try with the CC110L code from larsie: viewtopic.php?f=35&t=1889&start=50 Its good to become with the air booster pack, Check it
  3. As dkedr said interruptions are the best option. Try this: #include int main(void) { WDTCTL = WDTPW + WDTHOLD; // Stop watchdog timer P1DIR |= (BIT0 + BIT1); // Set P1.0 to output direction P1OUT &= ~(BIT0 + BIT1); // set P1.0 to 0 (LED OFF) P1IE |= BIT3; // P1.3 interrupt enabled P1IFG &= ~BIT3; // P1.3 IFG cleared __enable_interrupt(); while(1) { } } #pragma vector=PORT1_VECTOR __interrupt void Port_1(void) { P1OUT ^= (BIT0 + BIT1); // P1.0 = toggle P1IFG &= ~BIT3; // P1.3 IFG cleared P1IES ^= BIT3; // toggle the interrupt edge, } Push button: P1.3 Led: P1.0
  4. Yes the anaren code is indecipherable lol, so I searched in the forums and I found a CC110L source code from larsie: http://www.43oh.com/forum/viewtopic.php?f=35&t=1889&start=50
  5. Jsolarsky. Yes jeje shapelock is a good option maybe you can try with MDF, is cheaper than shapelock..
  6. Im developing a robot with the msp430: http://www.43oh.com/forum/viewtopic.php?f=9&t=2665
  7. cubeberg. I utilised 18 Hitec HS 322HD servomotors and a pololu minimaestro 18 Channel, yes I will share the body plans but first I have to make it in a CAD software
  8. jsolarski. Im sending the position of the servos trough the UART to a servocontroller. dkedr and bluehash. The lynxmotion kit is expensive here so I had to built the body with MDF wood.
  9. Hi guys. Im developing an hexapod robot with a launchpad that is controlled by remote control with a capacitive touch booster pack and an CC110L anaren air booster pack, the project is not finish yet but this is a little preview of the final design. The body and the legs of the robot is make of MDF wood and was design and build by my own :thumbup:
  10. Hello guys im making a program that count the number of button pushes with a interruption, every time that the button is pushed a servomotor get a position of 4 positions availables, the problem is when the servomotor get the last position and then I push the button one more time the servomotor is in the same last position so I would like that when I push the button the servomotor start again in the first position, I tried with return and break but it doesnt work, please any advice? here the interruption: #pragma vector=PORT2_VECTOR __interrupt void Port2_ISR(void) { if(!(PxIFG & GDO
  11. code for capacitive touch booster pack: http://www.ti.com/tool/capsenselibrary Anaren CC110L air booster pack: https://github.com/mobilars/LarsRF-mspgcc (thanks larsie) My code all together: https://github.com/cheverecachaimachochidoche/captouch_rc
  12. Hello guys, Im trying to develop a remote control with the capacitive touch booster pack and the CC110L anaren air booster pack, the idea is push a botton of the capacitive touch in a target and in the other target turn on/off a led. I've the code of boths working separately, when I mix them and run the code all go well any warning and any error but nothing is working https://github.com/cheverecachaimachochidoche/captouch_rc I dont know where is the problem, any advice?
  13. Ok It was my first time with IAR, I checked the bug fix mentioned in the posts above, I uploaded the files as you told me and all went well, now I dont know which main file should to upload to one micro and which main file to the another micro, please can you explain me
×
×
  • Create New...