Digital kompas HM55B

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 4.
To post in this forum you must have a registered copy of Flowcode 4 or higher. To sign up for this forum topic please use the "Online Resources" link in the Flowcode Help Menu.

Moderator: Benj

Post Reply
MonieJacobsen
Posts: 12
Joined: Thu Mar 11, 2010 8:10 am
Location: Danmark

Digital kompas HM55B

Post 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
Attachments
hm55b.jpg
hm55b.jpg (33.48 KiB) Viewed 2255 times
Best regards,
Monie

User avatar
Steve
Matrix Staff
Posts: 3433
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times

Re: Digital kompas HM55B

Post 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.

Post Reply