Search found 211 matches
- Fri May 30, 2014 6:18 am
- Forum: Flowcode V5
- Topic: interrupts
- Replies: 5
- Views: 5520
Re: interrupts
I have done this in the past using the UART to generate the frequencies. Maybe this method will be of some use to you. The frequency out is determined by the register pair spbrgh and spbrgl. There is a formula in the attached program on how to determine the values of that register pair to get the de...
- Mon May 26, 2014 2:16 am
- Forum: Flowcode V5
- Topic: interface to 4ma to 20 ma current loop
- Replies: 6
- Views: 7539
Re: interface to 4ma to 20 ma current loop
That is a nice chip combination. After a bit of looking into the XTR series, in place of the XTR110 I am leaning more towards the XTR116. The Vin min. is lower and is also available in a 1.27mm pitch SMT package. There is a diagram in the data sheet with a micro using PWM thru an RC filter to interf...
- Mon May 19, 2014 11:44 pm
- Forum: Flowcode V5
- Topic: interface to 4ma to 20 ma current loop
- Replies: 6
- Views: 7539
Re: interface to 4ma to 20 ma current loop
I am also interested in this. Thank you for the tips Steve001. Perhaps you could comment on the simplified interface drawing in the panel of the attachment since I am new to using 4-20ma. It looks like the tx micro program is doable using the spi component and the rx micro program just uses the ADC ...
- Tue May 13, 2014 11:34 pm
- Forum: Flowcode V6
- Topic: Compiler error always return=1
- Replies: 3
- Views: 2910
Compiler error always return=1
For some reason the only compiler error I ever get if I make a mistake is: Completed BoostC compilation, return = 1 For instance, if I forget a ; in a c code icon box I would expect to get: compilererrors.c(the line number where the error is): error: missing semicolon Do I have a setting wrong somew...
- Tue May 13, 2014 10:34 pm
- Forum: Flowcode V6
- Topic: Custom interrupts PICmicro question
- Replies: 2
- Views: 2975
Re: Custom interrupts PICmicro question
That was a bit confusing to me at first too. First, make your custom enable interrupt, then add another interrupt icon but select disable. Select the Custom interrupt name in the drop down box after pressing Properties.. . You can now enter your disable code. I am not sure from your question if you ...
- Tue May 13, 2014 9:20 pm
- Forum: General Programming
- Topic: SPI to SHIFTREGISTER not working
- Replies: 2
- Views: 3615
Re: SPI to SHIFTREGISTER not working
The help or sometimes ? buttons will provide you with most of your answers. As you will see, some of the SPI stuff is for a specific board. I am not familiar with that shift register chip. Is there an 8 bit version? Shouldn't data transmit be on falling SPI clock edge? For an SPI manual, it is in th...
- Mon May 12, 2014 6:36 am
- Forum: General Programming
- Topic: Call Macro + jump to Connection Point..
- Replies: 2
- Views: 3575
Re: Call Macro + jump to Connection Point..
Not sure if this method will work for you but this will perform a specific task based on a specific variable value.
http://www.matrixmultimedia.com/mmforum ... ble#p55729
Let me know if you need it converted to V6.
http://www.matrixmultimedia.com/mmforum ... ble#p55729
Let me know if you need it converted to V6.
- Sun May 11, 2014 8:49 am
- Forum: Flowcode V6
- Topic: Acurate time measurement
- Replies: 10
- Views: 5790
Re: Acurate time measurement
Very nice job in writing the interrupt handler routine. Thanks for sharing it. Very useful topic. I am curious how you progress.
- Fri May 09, 2014 11:13 pm
- Forum: Flowcode V6
- Topic: Acurate time measurement
- Replies: 10
- Views: 5790
Re: Acurate time measurement
Not sure about the best way. You could set up 4 input pins as some type of individual interrupt. At each interrupt you can read the value of a running timer, do some math and get a value. Lots of ways for mishaps using this so it might take awhile to sort out all the possibilities in your software a...
- Fri Apr 25, 2014 9:04 pm
- Forum: Flowcode V6
- Topic: Need to add a new device file
- Replies: 3
- Views: 2723
Re: Need to add a new device file
Nice to hear it is possible kersing, I will give it a try. And thanks for your commitment to support Benj.
- Fri Apr 25, 2014 9:11 am
- Forum: Flowcode V6
- Topic: Need to add a new device file
- Replies: 3
- Views: 2723
Need to add a new device file
Has anyone had any success creating device files for the pic default compiler? I would like to add the 16F1705. I have an application that needs the low pin count, 2 opamps and 8 bit dac.
- Tue Apr 22, 2014 3:19 am
- Forum: General Programming
- Topic: 10 volt input circuit for data acquisition
- Replies: 2
- Views: 3529
Re: 10 volt input circuit for data acquisition
Interesting read, thanks for sharing. One use that came to mind was measuring the voltage across a current sense resistor on a line you would not normally tie to. I think I would be tempted to encase the whole thing in some heat shrink tubing though, just to remind me that I could possibly get zapped.
- Sun Apr 20, 2014 10:12 pm
- Forum: Flowcode V5
- Topic: I do not understand ...
- Replies: 3
- Views: 4902
- Wed Apr 16, 2014 10:29 am
- Forum: Flowcode V5
- Topic: How to store a nr on a 18f46j50
- Replies: 4
- Views: 5064
Re: How to store a nr on a 18f46j50
I made some Flowcode V5 flash memory macros to be used on some 12 and 16 series devices. You can't use flash memory like eeprom. First you need make sure the address you want to write to has been previously erased. Then you can write your data. If you need to erase it, you have to erase an entire ro...
- Fri Apr 11, 2014 9:28 pm
- Forum: Flowcode V6
- Topic: LUFA AVRISP MKII and Flowcode v6
- Replies: 8
- Views: 5783
Re: LUFA AVRISP MKII and Flowcode v6
Very nice work on your board, I am impressed. I have questions too, but yes the biggest question is - What are you using for the solder mask? How do you prevent the solder mask from coating the solder pads and thru holes? What method are you using for registration of the top and bottom artwork? What...
- Sat Apr 05, 2014 8:42 pm
- Forum: Flowcode V6
- Topic: Auto Shutdown interrupt
- Replies: 2
- Views: 2078
Re: Auto Shutdown interrupt
Just a thought. If the auto shutdown event is initiated from the comparator, then maybe enable the interrupt for the comparator (pie2, C1IE)?
- Wed Apr 02, 2014 9:04 pm
- Forum: Feature requests
- Topic: Variable watch window - decimal(hex)(binary)
- Replies: 1
- Views: 2362
Variable watch window - decimal(hex)(binary)
One thing I miss from earlier versions of Flowcode is the ability to have the variable watch window display both decimal and hex at the same time. The way it is now works but, I find myself toggling the hex and decimal selection box. I program a lot with displays, so I need to quickly see the decima...
- Sat Mar 29, 2014 12:12 am
- Forum: General Programming
- Topic: Global Variable / Local Variable crossing
- Replies: 2
- Views: 4221
Re: Global Variable / Local Variable crossing
Using global variables would make it very simple. Using local variables is possible, but I don't understand the advantage. Attached is a program using only local variables. I am still learning V6 so maybe an experienced V6 programmer can come up with a better way.
- Fri Mar 28, 2014 7:17 pm
- Forum: Flowcode V6
- Topic: Flowcode Release Candidate 6.0.6
- Replies: 61
- Views: 44124
Re: Flowcode Release Candidate 6.0.6
The Console is not available for Chip Pack users. I understand that this matches the data sheet showing that the console is not included with Chip Pack. The Console allows for a simplified approach for creating simulating macros especially for communication type macros. It is just a tool. It is not ...
- Sun Mar 23, 2014 9:29 pm
- Forum: User Components
- Topic: Component Creation Tutorials
- Replies: 6
- Views: 10922
Re: Component Creation Tutorials
Thank you so much for writing the tutorial. I have been struggling with trying to understand how to create component macros. I am confused by the usage of "this". I am not sure what that term is referring to. Is it referring to, the Property name that you type into the Property field? What does "thi...
- Fri Mar 21, 2014 9:06 pm
- Forum: Flowcode V6
- Topic: 16C924 Not supported ??
- Replies: 21
- Views: 7984
Re: 16C924 Not supported ??
Creating a simulating component macro for a specific glass with a specific microcontroller using specific pins is quite doable by Users. A more generalized component macro might end up being extremely complex and I would have to agree with Benj, "a real nightmare". Below is a link if you are still i...
- Tue Mar 18, 2014 10:45 pm
- Forum: Flowcode V5
- Topic: EEPROM Type Definition in fcd for 16F676
- Replies: 4
- Views: 4577
Re: EEPROM Type Definition in fcd for 16F676
I do not have that chip to test with but, you could try editing the 16F676.fcd by deleting the line under [Defines] that has TYPE3 in it, save changes, restart Flowcode, and then test it to make sure it writes and reads eeprom correctly.
- Tue Mar 18, 2014 9:38 pm
- Forum: Flowcode V6
- Topic: Goodbye all!
- Replies: 21
- Views: 14076
Re: Goodbye all!
I have always found your posts to be honest, accurate and above all, you seem to actually care about the users problems. Those qualities are hard to find these days. You will be missed. Best of luck in your new adventure.
- Tue Mar 18, 2014 9:07 pm
- Forum: Forums d'aide en français
- Topic: Pic 16F1509 pour piloter WS2811 et WS2812
- Replies: 6
- Views: 7885
Re: Pic 16F1509 pour piloter WS2811 et WS2812
Sorry you are having problems. The translation from english to french might be the problem. Pictures might help. Try this, open the 16F1829.fcdx file with the XML editor. 1. change the name to 16F1509 2. Select File Save As... and type in 16F1509.fcdx and change Save as type to All files(*.*) Start ...
- Tue Mar 18, 2014 4:59 am
- Forum: Flowcode V6
- Topic: Auto Shutdown PWM
- Replies: 1
- Views: 1365
Re: Auto Shutdown PWM
I don't think that is the way they intended it to be read, although that is how it is written. I think what it is trying to say is, if you want PWM 3 to automatically turn off if comparator2 output goes low, then set that bit. I could be very wrong. I know it says comparator3 output and that model o...