Very nice. Thanks Ben.
Ondra
Search found 325 matches
- Fri Nov 07, 2008 5:35 pm
- Forum: Flowcode V2 & V3
- Topic: Caparing vals to find the most common numbers
- Replies: 7
- Views: 4537
- Fri Nov 07, 2008 3:41 pm
- Forum: Flowcode V2 & V3
- Topic: Caparing vals to find the most common numbers
- Replies: 7
- Views: 4537
Re: Caparing vals to find the most common numbers
Look's like you might have something there. I'm going to play with that. It's giving me some ideas. Another thought, is it possible to create and array of integers or integer array . So that I can index through the values? Give me an example using some of my numbers.
Ondra
Ondra
- Fri Nov 07, 2008 1:24 pm
- Forum: Flowcode V2 & V3
- Topic: Caparing vals to find the most common numbers
- Replies: 7
- Views: 4537
Re: Caparing vals to find the most common numbers
Thanks Ben. I did try averaging the numbers, but The tolerances I am working with still puts the numbers out to far. I need to if possible hit the number on the head. Is there any programming suggestions that would get me the desired answer using the Idea l listed above? It looks to me like a whole ...
- Fri Nov 07, 2008 2:53 am
- Forum: Flowcode V2 & V3
- Topic: Caparing vals to find the most common numbers
- Replies: 7
- Views: 4537
Caparing vals to find the most common numbers
Good day all. I am working with a sensor unit that has a +/- 1% accuracy over the measured distance. What I am trying to do to increase my chances of getting a more accurate and consistent value, is to ask the question, which number shows up the most in the list and then select that value as the cor...
- Thu Oct 09, 2008 3:22 pm
- Forum: Flowcode V2 & V3
- Topic: Flowcode 4?
- Replies: 1
- Views: 1819
Flowcode 4?
I have an application where I am using a dial up modem to connection to the internet. I am at this time using an IP modem. The cost of the IP modem runs about US$80.00. What I want to know is at this time, do you know if Flowcode 4 will include any support for connecting to the internet through a di...
- Fri May 23, 2008 10:36 am
- Forum: Flowcode V2 & V3
- Topic: Handling RS232 ECHO Character
- Replies: 1
- Views: 2124
Handling RS232 ECHO Character
Good day all. I have a device connected to my PIC via RS232. The device is defaulted to ECHO on. The problem is that when I am receiving responses back from the device I also have coming back at me mixed in with the responses the echoed characters. I need to know how to handle the echoed characters....
- Thu May 01, 2008 6:07 pm
- Forum: Flowcode V2 & V3
- Topic: Converting float to string
- Replies: 4
- Views: 6302
Re: Converting float to string
Wow, that's good, and makes sense.
Some of these things, I guess you'll only see with experience.
Thanks Ben
Ondra
Some of these things, I guess you'll only see with experience.
Thanks Ben
Ondra
- Thu May 01, 2008 12:42 pm
- Forum: Flowcode V2 & V3
- Topic: Converting float to string
- Replies: 4
- Views: 6302
Converting float to string
Good day all. I've had some success using floating point number calculations with my ranging module distance reader. The problem is that when I need to output the calculated value through the RS232 port it is my understanding that I need to convert it to a string. Looking at sourceboost documentatio...
- Thu May 01, 2008 10:52 am
- Forum: Flowcode V2 & V3
- Topic: Combining bytes
- Replies: 4
- Views: 3550
Re: Combining bytes
Thanks Ben.
Ondra
Ondra
- Thu May 01, 2008 9:25 am
- Forum: Flowcode V2 & V3
- Topic: Combining bytes
- Replies: 4
- Views: 3550
Re: Combining bytes
Hi Steve thanks for your reply. I'm not to sure if that's what I'm looking for. Here's more detail. I'm trying to synchronize my PIC time with my server time over the internet. I have a page on my server that returns the time in 24hour 2 digit format (02:30:09). I have a hours and minutes byte var i...
- Wed Apr 30, 2008 2:27 pm
- Forum: Flowcode V2 & V3
- Topic: Combining bytes
- Replies: 4
- Views: 3550
Combining bytes
Good day all. I would like to know can I combine 2 bytes into and int and create from that 1 Int. In particular if I took a byte number 1 as my high byte and number 2 as my low byte would this give me and Int value of 12, and would I have any problems using this in a calculation. Also could you give...
- Wed Apr 16, 2008 5:14 pm
- Forum: Flowcode V2 & V3
- Topic: Calculating distance
- Replies: 10
- Views: 6818
Re: Calculating distance
Thanks Steve and Sean. Sean as per your suggestion I could use tmr1 which is a 16 bit timer, could you give me a modified version using tmr1? I modified the fcd for the 18f258 so I could use tmr1 without writing c code. Also I tried to change the target device to the 18F258 and it would not compile....
- Wed Apr 16, 2008 12:23 pm
- Forum: Flowcode V2 & V3
- Topic: Calculating distance
- Replies: 10
- Views: 6818
Calculating distance
Good day all. I would like to get some help calculating distance using a ranging sensor module. Heres what I have. I have 2 pins connected to a ranging sensor unit. Using tmr1 to count down, every 5sec a macro is called that outputs a 1 to start the ranging unit and enables tmr0 which increments a v...
- Fri Apr 11, 2008 11:03 am
- Forum: Flowcode V2 & V3
- Topic: LIN component VREG
- Replies: 1
- Views: 1771
LIN component VREG
Good day all. I have a question concerning the VREG connections for the Lin component. Under Flowcodes Lin component connections, flowcode forces you to connect the VREG to the same port CS is connected to. According to the MCP201 datasheet it look like I am to connect VREG to VDD. Also I don't want...
- Tue Apr 08, 2008 10:21 am
- Forum: Flowcode V2 & V3
- Topic: RAM and ROM
- Replies: 4
- Views: 3369
Re: RAM and ROM
Got it. Thanks Steve.
- Mon Apr 07, 2008 7:30 pm
- Forum: Flowcode V2 & V3
- Topic: RAM and ROM
- Replies: 4
- Views: 3369
Re: RAM and ROM
Ok Benj. You've raised the bar a little too high too soon. I looked at the BoostC manual. Is there an easier way? Not so much the writing to ROM part, but a more efficient way of putting together a program that saves on RAM use. What if any are the things I should be considering as far as RAM is con...
- Mon Apr 07, 2008 3:36 pm
- Forum: Flowcode V2 & V3
- Topic: RAM and ROM
- Replies: 4
- Views: 3369
RAM and ROM
Good day all.
I wrote this program using a lot of string manipulations. When I tried to compiled it. My RAM use was way over and my ROM use was 0. Where can I get more information on the effective use of RAM and ROM when building my program. I searched this forum with no luck.
Ondra
I wrote this program using a lot of string manipulations. When I tried to compiled it. My RAM use was way over and my ROM use was 0. Where can I get more information on the effective use of RAM and ROM when building my program. I searched this forum with no luck.
Ondra
- Thu Apr 03, 2008 11:24 am
- Forum: Components (Comms)
- Topic: RS232 Program conflict
- Replies: 22
- Views: 12390
Re: RS232 Program conflict
That did it. Thanks Steve. And about the first question I think Benj might have the answer for that. It working fine for now, if I have any other issues I guess I'll come back to the first question. Thanks again.
Ondra
Ondra
- Wed Apr 02, 2008 4:10 pm
- Forum: Components (Comms)
- Topic: RS232 Program conflict
- Replies: 22
- Views: 12390
Re: RS232 Program conflict
Benj or Steve any help on the above? I've been here before. I sure could use some resolve on this.
Ondra
Ondra
- Sat Mar 29, 2008 9:59 am
- Forum: Components (Comms)
- Topic: RS232 Program conflict
- Replies: 22
- Views: 12390
Re: RS232 Program conflict
Thanks Benj. I made the changes as you suggested and the custom serial interrupt is working. Two question though. 1) Is there a way to know how many time I should do a read to be certain that the buffer is cleared. I got this from the data sheet. "The FIFO buffering allows reception of two complete ...
- Fri Mar 28, 2008 1:17 pm
- Forum: Flowcode V2 & V3
- Topic: IF Statement help
- Replies: 4
- Views: 5225
Re: IF Statement help
Steve Could you explain the above statement a little more.steve wrote:Note that the word "AND" is used for a "bitwise" AND in all Flowcode versions.
Also I would like to know how to use OR in an if icon i.e is this right: -
decision - a=b OR c=5
Ondra
- Fri Mar 28, 2008 1:08 pm
- Forum: Flowcode V2 & V3
- Topic: Quotes in variables
- Replies: 5
- Views: 3746
Re: Quotes in variables
Thanks for going the extra on this Steve. I thought I saw something like that somewhere.
Ondra
Ondra
- Thu Mar 27, 2008 12:23 pm
- Forum: Components (Comms)
- Topic: RS232 Receive Variable
- Replies: 21
- Views: 12666
Re: RS232 Receive Variable
Thanks Benj.
Ondra
Ondra
- Wed Mar 26, 2008 11:46 pm
- Forum: Components (Comms)
- Topic: RS232 Receive Variable
- Replies: 21
- Views: 12666
Re: RS232 Receive Variable
Your other questions are difficult to answer without knowing the system you are interfacing with. The unit I'm working with is a dial up modem. The Responses are typical for most modems. I'll check on whether or not it sends a LF. So that I'm prepared in the event that it does, how would you includ...
- Wed Mar 26, 2008 11:31 pm
- Forum: Components (Comms)
- Topic: LIN Components Help
- Replies: 6
- Views: 6197
Re: LIN Components Help
Thanks Benj I'll be working at it.
Ondra
Ondra