User Tools

Site Tools


marvin:ecp5

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
marvin:ecp5 [2009/01/29 09:23] devamarvin:ecp5 [2009/01/29 09:24] deva
Line 39: Line 39:
 =====The BTControl class===== =====The BTControl class=====
 {{ :marvin:bluetooth.png?450 }} {{ :marvin:bluetooth.png?450 }}
-Bluetooth control behavior. It reads integers from a bluetooth input stream, interpreting them as keycodes. +Bluetooth control behaviour. It reads integers from a bluetooth input stream, interpreting them as keycodes. 
-It reacts only on the keycodes connectred with the arrow keys (up, down, left, right) and tells Marvin to drive accordingly.+It reacts only on the keycodes connected with the arrow keys (up, down, left, right) and tells Marvin to drive accordingly.
  
 ^ Key   ^ KeyCode ^ Variable          ^ ^ Key   ^ KeyCode ^ Variable          ^
Line 70: Line 70:
         case directionLeft:         case directionLeft:
           left(200);           left(200);
 +
           break;           break;
  
marvin/ecp5.txt · Last modified: 2009/01/29 10:58 by rieper