Josh Koffman gmail.com> writes: > would: >=20 > TARGETbits.PWMLSB =3D arrayofvalues[index]; >=20 > work, or would I still need to shift to align the array value with the > bits I'm actually loading? My guess is that I shouldn't have to shift, > but I am unsure. >=20 That should work. This is how Registers are defined in XC* anyway. Look in the device header file for your device for examples.=20 Sergey --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .