User Tools

Site Tools


projects:xbr

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
projects:xbr [2013/06/17 23:14] – [Abstract] mkuciaprojects:xbr [2013/06/19 10:47] – [Description] mkucia
Line 1: Line 1:
 ====== DIY Xbox 360 PC wireless receiver with MSP430 control ====== ====== DIY Xbox 360 PC wireless receiver with MSP430 control ======
 +//Germany 15.06.2013//
 ===== Abstract ===== ===== Abstract =====
 Xbox 360 wireless controller can be used with PC when special adapter is used.  Xbox 360 wireless controller can be used with PC when special adapter is used. 
Line 104: Line 105:
     BCSCTL1 = CALBC1_1MHZ;     BCSCTL1 = CALBC1_1MHZ;
     DCOCTL = CALDCO_1MHZ;     DCOCTL = CALDCO_1MHZ;
- 
-    // 
-    // UART 
-    // 
-    setup_uart(); 
  
     //     //
Line 128: Line 124:
  
     send(132); // LEDs active with power button on     send(132); // LEDs active with power button on
- while(--delay); +    while(--delay); // Delay for a while 
- send(0x085); // Start animation +    send(0x085); // Start animation 
- while(--delay); +    while(--delay); 
- while(--delay); +    while(--delay); 
- while(--delay); +    send(0x004); // Start sync
- while(--delay); +
- send(0x004); // Start sync+
  
- __delay_cycles(5000000); // Give some extra time to finish cmd send+    __delay_cycles(5000000); // Give some extra time to finish cmd send
  
- __disable_interrupt(); // Turn off MCU +    __disable_interrupt(); // Turn off MCU 
- _BIS_SR(LPM4_bits);+    _BIS_SR(LPM4_bits);
  
 } }
projects/xbr.txt · Last modified: 2023/05/07 13:32 by mkucia