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
Flowcode Compass Program Modification?
-
- Posts: 7
- Joined: Tue Apr 12, 2011 10:33 am
-
- Posts: 7
- Joined: Tue Apr 12, 2011 10:33 am
Re: Flowcode Compass Program Modification?
Hey Guys,
It's still me. I'm really new to this and maybe I asked the wrong question. I really need some help, so what if I make it simpler? In the display macro, how do I know which values translate to the segments of the dual alphanumeric display? That's really where the final modification needs to take place, so any suggestions would help. If you couldn't tell me that, could you at least help me figure out how to use the simulator to see how the program is working? Thanks in advance.
triplestak
It's still me. I'm really new to this and maybe I asked the wrong question. I really need some help, so what if I make it simpler? In the display macro, how do I know which values translate to the segments of the dual alphanumeric display? That's really where the final modification needs to take place, so any suggestions would help. If you couldn't tell me that, could you at least help me figure out how to use the simulator to see how the program is working? Thanks in advance.
triplestak
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Flowcode Compass Program Modification?
Hello Triplestack,
This sounds like an assignment to me. Are you doing it as part of a course? If so then I'm sorry but I can't really help.
I'm also afraid I've never used one of those compasses. Have you looked at the device datasheet to see if you can gain any insight into what the program is doing?
This sounds like an assignment to me. Are you doing it as part of a course? If so then I'm sorry but I can't really help.
I'm also afraid I've never used one of those compasses. Have you looked at the device datasheet to see if you can gain any insight into what the program is doing?
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 7
- Joined: Tue Apr 12, 2011 10:33 am
Re: Flowcode Compass Program Modification?
Ben,Benj wrote:Hello Triplestack,
This sounds like an assignment to me. Are you doing it as part of a course? If so then I'm sorry but I can't really help.
I'm also afraid I've never used one of those compasses. Have you looked at the device datasheet to see if you can gain any insight into what the program is doing?
Yes, I am doing this as part of a course. I didn't realize I wasn't allowed to post in here. I'm sorry if I've broken any rules. I just need to figure out how flowcode works because I used it in one class like a year ago and I don't remember exactly how everything works. I didn't think I was cheating or anything, but either way, thank you for your suggestion. I actually did check the datasheet. I'm not figuring out how the program in flowcode let's me know how it's displaying the output on the dual alphanumeric display. That's where I'm stuck. It's a matter of changing the segments on the display that's got me stuck... Thanks again.
Raj H.
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Flowcode Compass Program Modification?
Hello,
We don't help with coursework as it is formally classed as cheating. However if you are having Flowcode problems then we will do our best to help you out.
What are you outputting to? Do you have a display or is it an array of LEDs?
If your using an alphanumeric display then you will probably need to add the LCD component to your program and reference it using the LCD component macro calls.
We don't help with coursework as it is formally classed as cheating. However if you are having Flowcode problems then we will do our best to help you out.
What are you outputting to? Do you have a display or is it an array of LEDs?
If your using an alphanumeric display then you will probably need to add the LCD component to your program and reference it using the LCD component macro calls.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 7
- Joined: Tue Apr 12, 2011 10:33 am
Re: Flowcode Compass Program Modification?
Hello,
We don't help with coursework as it is formally classed as cheating. However if you are having Flowcode problems then we will do our best to help you out.
What are you outputting to? Do you have a display or is it an array of LEDs?
That makes sense. It's not considered cheating from my side (my professor said use what ever resources I can to figure out the modification), but I can see how it could compromise the Matrix Multimedia Forum.
Any ways, I am using a dual alphanumeric display. I think I'll figure it out on my own. Are you allowed to tell me how to use the simulator in flowcode?
triplestak
We don't help with coursework as it is formally classed as cheating. However if you are having Flowcode problems then we will do our best to help you out.
What are you outputting to? Do you have a display or is it an array of LEDs?
Yeah,Benj wrote:If your using an alphanumeric display then you will probably need to add the LCD component to your program and reference it using the LCD component macro calls.
That makes sense. It's not considered cheating from my side (my professor said use what ever resources I can to figure out the modification), but I can see how it could compromise the Matrix Multimedia Forum.
Any ways, I am using a dual alphanumeric display. I think I'll figure it out on my own. Are you allowed to tell me how to use the simulator in flowcode?
triplestak