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:

dragonfly_lib.c
104 104
		orb_init();
105 105
	}
106 106
	
107
	if(config & RANGE)
108
		range_init();
109
		
110
	if(config & BOM_15)
111
		bom_15_init();
107 112
	// delay a bit for stability
108 113
	_delay_ms(1);
109 114
}

Also available in: Unified diff