Page 1 of 1

Digital kompas HM55B

Posted: Sat Jun 26, 2010 3:46 pm
by MonieJacobsen
Does anyone here have a code example for Digital compass HM55B
Writing in FlowCode 4 four PICmicro
Or who can make an example?
Show Web-link:
http://arduinoforum.dk/index.php/vejled ... mpas-hm55b

Re: Digital kompas HM55B

Posted: Tue Jun 29, 2010 7:46 am
by Steve
It looks like this device uses an SPI-like interface, but requires 4 bits of data instead of the standard 8. I think you'll need to "bit bang" the data rather than using the hardware serial module of the chip.

The link you have gives all the necessary code. You'll just need to "translate" it to BoostC and embed it into your flowchart.