Flowcode Compass Program Modification?
Posted: Wed Apr 13, 2011 7:55 am
Hey Guys,
I've only used flowcode a couple of times and I'm a bit rusty. I've been given a compass program for flowcode and it's programmed to show directional displays i.e. N, NW, W, SW, S, SE, E, NE. I have got to modify this program so that it continually shows an arrow pointing north no matter which way my digital compass is pointing. I'm using a Dinsmore 1490 Compass Module along with a PIC16F72 and an dual alphanumeric display. If anyone could clue me into where I need to make the modifications in this program to change the display from the directional letter abbreviations (N, NW, W, SW etc.) to an arrow that constantly points north, I would be supremely grateful. My biggest problem is I've forgotten what certain variables such as Flag and others do. In the calculation modules I have West equaling 1 and First_D_1 equaling 178. I'm not sure what this values signify. Then in the next calculation module Southwest also equals 1. But First_D_1 equals 141. This confuses me. I'm sorry if these are elementary questions, but it's been forever since I used flowcode and I forget the basics. As I said, any help would be greatly appreciated. I'll attach the flowcode program I have so far. Thank you.
triplestak
I've only used flowcode a couple of times and I'm a bit rusty. I've been given a compass program for flowcode and it's programmed to show directional displays i.e. N, NW, W, SW, S, SE, E, NE. I have got to modify this program so that it continually shows an arrow pointing north no matter which way my digital compass is pointing. I'm using a Dinsmore 1490 Compass Module along with a PIC16F72 and an dual alphanumeric display. If anyone could clue me into where I need to make the modifications in this program to change the display from the directional letter abbreviations (N, NW, W, SW etc.) to an arrow that constantly points north, I would be supremely grateful. My biggest problem is I've forgotten what certain variables such as Flag and others do. In the calculation modules I have West equaling 1 and First_D_1 equaling 178. I'm not sure what this values signify. Then in the next calculation module Southwest also equals 1. But First_D_1 equals 141. This confuses me. I'm sorry if these are elementary questions, but it's been forever since I used flowcode and I forget the basics. As I said, any help would be greatly appreciated. I'll attach the flowcode program I have so far. Thank you.
triplestak