Search found 118 matches
- Wed Jan 13, 2016 1:23 pm
- Forum: Flowcode V6
- Topic: Serial Static Memory 23LCV1024
- Replies: 2
- Views: 2671
Serial Static Memory 23LCV1024
Hello, Is there any example FC programs using the 23LCV1024 SPI memory chip? @Ben, i did mention this chip before in another thread and you said it exists on the EB006 ghost board, do you have any example code using this device? I did look at the ghost board page but there is nothing about any code ...
- Wed Jan 13, 2016 12:31 pm
- Forum: General Programming
- Topic: How to use mLoader
- Replies: 3
- Views: 7365
How to use mLoader
Hello From what i can see the mloader is a bootloader tool that covers a variety of pic chips for bootloading, but looking at the tools folder of FC V6 that i have, i dont see an actual bootload "program" so to speak.... Question is how do i use this for example with a 18F25K22 device as all i see i...
- Thu Mar 05, 2015 2:36 pm
- Forum: Flowcode V5
- Topic: RECEIVERS232STRING QUESTION
- Replies: 12
- Views: 9513
Re: RECEIVERS232STRING QUESTION
Hi Ben,
Ok found the problem
Cannot make the string 256 members, otherwise it falls
on its nose. I needed a large buffer because i could receive
up to 200 chars at a time.
I changed the string array to 200 members and it now works.
Little headsup there for you fellows out there
Thanx
Mark
Ok found the problem
![Very Happy :D](./images/smilies/icon_biggrin.gif)
Cannot make the string 256 members, otherwise it falls
on its nose. I needed a large buffer because i could receive
up to 200 chars at a time.
I changed the string array to 200 members and it now works.
Little headsup there for you fellows out there
Thanx
Mark
- Thu Mar 05, 2015 2:08 pm
- Forum: Flowcode V5
- Topic: RECEIVERS232STRING QUESTION
- Replies: 12
- Views: 9513
Re: RECEIVERS232STRING QUESTION
Hi Ben,
Also tried using the string receive function in the uart interrupt
without a loop, also nothing doing....does not exit the interrupt
and does not send out anything either (sending out the string
once supposedly captured)
Thanx
Mark
Also tried using the string receive function in the uart interrupt
without a loop, also nothing doing....does not exit the interrupt
and does not send out anything either (sending out the string
once supposedly captured)
Thanx
Mark
- Thu Mar 05, 2015 1:54 pm
- Forum: Flowcode V5
- Topic: RECEIVERS232STRING QUESTION
- Replies: 12
- Views: 9513
Re: RECEIVERS232STRING QUESTION
Hi Ben, Just got round to trying the receive string macro. Does not seem to be working.... Using 18F66K22 and FC V5 I am putting the receive string function in an interrupt macro which has a loop to receive the string. Copied the procedure exact same as the flowcode V5 example. I set the timeout to ...
- Tue Dec 23, 2014 9:42 am
- Forum: Flowcode V5
- Topic: RECEIVERS232STRING QUESTION
- Replies: 12
- Views: 9513
Re: RECEIVERS232STRING QUESTION
Hi Ben, Thanx for explaining that....had idea that was going on there. Can you also please explain the ntimeout value? For example if i use 200 in the ntimeout value, does this mean 200mS or some other quantity? Martin suggested i use the "milliseconds" in the 232 config panel.... What is the differ...
- Mon Dec 22, 2014 3:17 pm
- Forum: Flowcode V5
- Topic: RECEIVERS232STRING QUESTION
- Replies: 12
- Views: 9513
Re: RECEIVERS232STRING QUESTION
Hi (sorry dont know your name!) What you say might be so, however logically i think whats going on is that the timeout is a time period for waiting to see if all chars are received for the string. If so it should end the string with a null character and then exit the interrupt macro....going to test...
- Mon Dec 22, 2014 9:28 am
- Forum: Flowcode V5
- Topic: RECEIVERS232STRING QUESTION
- Replies: 12
- Views: 9513
Re: RECEIVERS232STRING QUESTION
Hi there, Thanx for info....i didnt know that setting also worked for receive string. So, if i set it to millisecs, and in the string receive function i set the ntimeout value as 200, that would imply 200mS delay to terminate the string capture? Just trying to understand the timeout value/meaning :)
- Sun Dec 21, 2014 10:54 am
- Forum: Flowcode V5
- Topic: RECEIVERS232STRING QUESTION
- Replies: 12
- Views: 9513
RECEIVERS232STRING QUESTION
Hello, I have looked in the help section about the receive string function, and understand the various parameters, but i have a question about what the timeout parameter is actually based on? Using FC V5.... The nTimeout byte seems like a value between 0-255. But the help file does not explain what ...
- Fri Oct 17, 2014 6:24 pm
- Forum: General Programming
- Topic: Flash Memory Question
- Replies: 5
- Views: 4611
Re: Flash Memory Question
Hi Ben, Thanx for your reply on that.....pretty much sums it up. Think i will go with the SRAM instead. The chip draws a very small amount of current when running on the VBAT battery input. It actually has 2 supply pins.....one for VCC and one for VBAT. I am going to run the VBAT on tiny Seiko lithi...
- Thu Oct 16, 2014 10:04 am
- Forum: General Programming
- Topic: Flash Memory Question
- Replies: 5
- Views: 4611
Flash Memory Question
Hi All, Looking to use some sort of non-volatile memory for data logging. There are options like flash memory chip, SD flash card and battery backed SRAM etc.... I have never used flash memory before, so the question is this: 1. When using flash memory i have been told they can "wear" out. Since i a...
- Mon Sep 01, 2014 9:19 am
- Forum: Flowcode V5
- Topic: ADC Internal Vref 18F66K22
- Replies: 2
- Views: 3414
Re: ADC Internal Vref 18F66K22
That did the trick
Much appreciated. .....I had idea those functions had something to do
with it.
![Very Happy :D](./images/smilies/icon_biggrin.gif)
Much appreciated. .....I had idea those functions had something to do
with it.
- Sun Aug 31, 2014 8:37 pm
- Forum: Flowcode V5
- Topic: ADC Internal Vref 18F66K22
- Replies: 2
- Views: 3414
ADC Internal Vref 18F66K22
Hi Using FC V5 and 18F66K22 This micro has 3 internal Vref+ sources for the ADC. Namely, VCC / 2.048 / 4.096 However, the ADC component setup allows for only "VCC/AVDD" and "External Vref" There is no setting for 2.048 Vref. I need to be able to have this lower Vref+ setting as my supply to the micr...
- Thu Aug 28, 2014 11:32 am
- Forum: Flowcode V5
- Topic: String sending for AT command
- Replies: 2
- Views: 3100
Re: String sending for AT command
Hi Ben,
Great.....thank you.
Makes things a bit simpler![Very Happy :D](./images/smilies/icon_biggrin.gif)
Great.....thank you.
Makes things a bit simpler
![Very Happy :D](./images/smilies/icon_biggrin.gif)
- Mon Aug 25, 2014 1:22 pm
- Forum: Flowcode V5
- Topic: String sending for AT command
- Replies: 2
- Views: 3100
String sending for AT command
Hi there, I need to send an AT command to a GSM module that is used to setup gprs mode etc. However, within the string constant i also need to send the quote char ( " ) which kind of messes with the string format requirements. You then land up with quotes within quotes..... I know one can send part ...
- Fri Aug 08, 2014 2:52 pm
- Forum: Flowcode V5
- Topic: Compare str$
- Replies: 2
- Views: 3076
Re: Compare str$
Hi Ben,
Thanx, will give that a try.....will post results for others to see.
Mark
Thanx, will give that a try.....will post results for others to see.
Mark
- Thu Aug 07, 2014 2:15 pm
- Forum: Flowcode V5
- Topic: Compare str$
- Replies: 2
- Views: 3076
Compare str$
Hello,
Can anyone tell me if the strings that are being compared need to be same array size?
Lets say str1 has array size of 10 elements and str2 has array of 5 elements. Will the
compare str$ function work? Help files dont really elaborate too much on that.....
Thanx
Mark
Can anyone tell me if the strings that are being compared need to be same array size?
Lets say str1 has array size of 10 elements and str2 has array of 5 elements. Will the
compare str$ function work? Help files dont really elaborate too much on that.....
Thanx
Mark
- Fri Mar 21, 2014 1:57 pm
- Forum: General Programming
- Topic: Detect long press of switch/tactile
- Replies: 5
- Views: 4908
Re: Detect long press of switch/tactile
Hi Martin,
Thanx for the example.....will take a look and see how it works
Can you tell me what version FC you did this?
Thanx
Mark
Thanx for the example.....will take a look and see how it works
![Very Happy :D](./images/smilies/icon_biggrin.gif)
Can you tell me what version FC you did this?
Thanx
Mark
- Fri Mar 21, 2014 10:09 am
- Forum: General Programming
- Topic: Detect long press of switch/tactile
- Replies: 5
- Views: 4908
Re: Detect long press of switch/tactile
Hi Martin,
Sounds like a good idea. I will try it out and see if it works in my application.
In the meantime, if you get a chance, could you show me an example
program? I have both FC V4 and V5
Thanx
Mark
Sounds like a good idea. I will try it out and see if it works in my application.
In the meantime, if you get a chance, could you show me an example
program? I have both FC V4 and V5
Thanx
Mark
- Thu Mar 20, 2014 4:04 pm
- Forum: General Programming
- Topic: Detect long press of switch/tactile
- Replies: 5
- Views: 4908
Detect long press of switch/tactile
Hi What methods have been used to detect the long press of a switch/tactile? I have a project that needs to detect if a press the switch briefly or for say 3 secs, to generate different response like display a different menu on LCD screen? Switch bounce is not an issue, i have a dedicated hardware c...
- Tue Jan 28, 2014 6:53 pm
- Forum: Flowcode V6
- Topic: String Manipulation
- Replies: 1
- Views: 1731
String Manipulation
Hello What would be the most efficient way to setup a string variable such that the " char can be included into the string? (The problem is that the string variable uses " " to enclose the string chars, and you cannot use " inside the string....) This string variable is then used to be sent out the ...
- Tue Jan 21, 2014 8:42 pm
- Forum: Flowcode V5
- Topic: Baud Rate problem FC5 - 18F66K22
- Replies: 8
- Views: 5651
Re: Baud Rate problem FC5 - 18F66K22
Tried the +1 in the calculation....still not working. I also tried hard coding the figures from 7 - 9. No luck. Other compiler is the MikroBasic compiler for 12/16/18F devices. I used this for the bootloader as they have nice library functions for read/write to flash memory(cuz i am a lazy sod :D ) ...
- Tue Jan 21, 2014 4:13 pm
- Forum: Flowcode V5
- Topic: Baud Rate problem FC5 - 18F66K22
- Replies: 8
- Views: 5651
Re: Baud Rate problem FC5 - 18F66K22
Hi Ben Will try that.....but will that not fix the baudrate at that speed? Since you are commenting out the calculation? Just remember this...my other compiler works 100% at 115200 baud with my 16mhz clock speed (internal). So, they are getting it right somehow....but FC5 is not calculating correctl...
- Tue Jan 21, 2014 2:35 pm
- Forum: Flowcode V5
- Topic: Baud Rate problem FC5 - 18F66K22
- Replies: 8
- Views: 5651
Re: Baud Rate problem FC5 - 18F66K22
Hi Ben I set the custom baud again 115200 (its the only way to select 115200)....and tried all different baud rates on the PC side....not working, garbled data. Tried setting 9600 on the "custom" method....works OK. This might give you some clue? I have an idea that when you enter "115200" on the cu...
- Tue Jan 21, 2014 12:02 pm
- Forum: Flowcode V5
- Topic: Baud Rate problem FC5 - 18F66K22
- Replies: 8
- Views: 5651
Re: Baud Rate problem FC5 - 18F66K22
Hi Ben Yup, tried 9600 / 19200 / 38400....all work. Soon as you set 115200 on the "custom" baud rate setting, the data is garbled. I know 115200 works, because i used it with a bootloader i used with another compiler. That works flawlessly.... Something is not being calculated properly :roll: Thanx ...