Project

General

Profile

Revision 369

First crack at BOMv1.5 driver code. Pindefs are correct and the existing functions still work. At the moment the main function controls the clock and data of the rbom so you can shift things around. TODO: get bom_set_emitters working to correctly shift 16 bits around. Eventually this will have to be merged with the new bom code that James wrote, probably manually.

View differences:

bom.h
42 42
 * @addtogroup bom
43 43
 * @{
44 44
 **/
45

  
45
/** @brief Initializes a BOM v1.5 **/
46
void bom_15_init(void);
47
/** @brief Sets the mode of a BOM v1.5**/
48
void bom_RSSI_mode(void);
49
/** @brief Sets the mode of a BOM v1.5**/
50
void bom_normal_mode(void);
51
/** @brief Sets the emmitter pattern a BOM v1.5**/
52
void bom_set_emitters(int pattern);
46 53
/** @brief Returns the location of the maximum BOM reading. **/
47 54
int get_max_bom( void );
48 55
/** @brief Turns the BOM on. **/

Also available in: Unified diff