Search found 211 matches
- Wed Jan 27, 2016 11:28 am
- Forum: Flowcode V6
- Topic: I can not get to my ICD3 or my PICkit3 to work in flowcode
- Replies: 7
- Views: 5857
Re: I can not get to my ICD3 or my PICkit3 to work in flowco
I am not sure if this will work for you but, if you have tried everything else and still can not get the PICkit3 to work you could try the following: Download and install the PICkit3 Programmer App and Scripting Tool v3.10 which is available in the Downloads Archive section. It is probably on the sa...
- Sat Sep 05, 2015 12:19 am
- Forum: Flowcode V6
- Topic: 433mhz receiver
- Replies: 11
- Views: 7851
Re: 433mhz receiver
I don't have one of these units to test with so this is just an idea. No clue if it would really work. It would require C Code to implement and an understanding of the EUSART. Connect the signal to the EUSART RX and also to an input pin setup to cause an interrupt. Setup the EUSART for synchronous m...
- Tue Sep 01, 2015 6:49 pm
- Forum: Bug reports
- Topic: PIC16F150x missing Oscillator selections
- Replies: 5
- Views: 4249
Re: PIC16F150x missing Oscillator selections
Thank you so much for the update and for pointing out the fact that the 16F1503 and 16F1507 micro's do not have those settings. That was my error. The timely service of Matrixtsl is amazing.
- Tue Sep 01, 2015 10:41 am
- Forum: Bug reports
- Topic: PIC16F150x missing Oscillator selections
- Replies: 5
- Views: 4249
Re: PIC16F150x missing Oscillator selections
Perhaps my version is out of date. Checking for updates says no updates available. Yet, for a specific chip the PIC16F1509 it does not have those selections. Could it be because I have the Chip Pack version?
- Tue Sep 01, 2015 9:36 am
- Forum: Bug reports
- Topic: PIC16F150x missing Oscillator selections
- Replies: 5
- Views: 4249
PIC16F150x missing Oscillator selections
In the device configuration for the PIC16f150x series, EXTRC, HS, XT and LP are missing from the Oscillator selection.
- Fri Aug 28, 2015 6:13 am
- Forum: Flowcode V6
- Topic: RBG LED WS2812 Adafruit NeoPixel - anyone got it working
- Replies: 23
- Views: 25684
Re: RBG LED WS2812 Adafruit NeoPixel - anyone got it working
You might want to look into the application note pointed out by a forum member in this post: http://www.matrixtsl.com/mmforums/viewtopic.php?f=41&t=14504&hilit=ws2812 Flowcode 6 now supports that chip, so you can ignore the parts of the post that add it to the chip list. I was a bit curious about th...
- Thu Jul 31, 2014 9:01 pm
- Forum: Flowcode V6
- Topic: Enabling internal pull-ups on AVR's
- Replies: 4
- Views: 7898
Re: Enabling internal pull-ups on AVR's
If you need to program the registers in a micro, which is required to do what you need, without using the 'Insert C Code' icon you could try this method. Define a Flowcode variable in Supplementary Code... to be the register you need to use and then add that variable to the Project explorer. You can...
- Mon Jul 21, 2014 8:54 pm
- Forum: Forums d'aide en français
- Topic: initialiser une variable problème de syntaxe
- Replies: 4
- Views: 4372
Re: initialiser une variable problème de syntaxe
Utiliser le calcul pour les données.
Use the calculation for data.
Use the calculation for data.
- Mon Jul 21, 2014 12:29 am
- Forum: Forums d'aide en français
- Topic: initialiser une variable problème de syntaxe
- Replies: 4
- Views: 4372
Re: initialiser une variable problème de syntaxe
Mettez-la dans un calcul.
Put it in a calculation.
Put it in a calculation.
- Mon Jul 14, 2014 11:09 pm
- Forum: Flowcode V6
- Topic: Compiler error always return=1
- Replies: 3
- Views: 2910
Re: Compiler error always return=1
Somehow I missed your post medelec35 which is the reason for this late reply. Since I am only getting return = 1 and your getting details on the error it must be because I use the PIC Chip Pack only version. Is this working as intended? If it is then I guess I need to upgrade to either Flowcode V6 P...
- Mon Jul 14, 2014 5:33 am
- Forum: Programming Tips & Tricks
- Topic: Read and Write to flash memory macros
- Replies: 0
- Views: 4945
Read and Write to flash memory macros
I made experimental flash memory read and write macros and thought I would share. The macros read or write a single byte at a time and are used in a style similar to that of how the EEPROM Component is used. These eeprom style flash memory macros are in blocks of 256 bytes. You can have 1 block (256...
- Mon Jul 07, 2014 10:45 pm
- Forum: Flowcode V6
- Topic: Writting to flash on PIC
- Replies: 17
- Views: 9544
Re: Writting to flash on PIC
To answer your original question, yes it can be done but your right, asm or 'c' code will have to be used. Below is a conceptual program (no asm or 'c' code included) on how the write portion might be done using Flowcode. There are probably errors in it. There also may be enough information in the d...
- Sat Jul 05, 2014 12:18 am
- Forum: Flowcode V6
- Topic: Components available with Home & Professional licence
- Replies: 3
- Views: 2438
Re: Components available with Home & Professional licence
In the second chart you posted, unless I am misunderstanding the meaning, Code customization is "X"ed out in the "Home" version. It is available in "Home" version by right clicking the icons. Is this an error in the release, the chart, or my interpretation of it? As it is now, the Chip Pack version ...
- Fri Jul 04, 2014 8:25 pm
- Forum: Flowcode V6
- Topic: Components available with Home & Professional licence
- Replies: 3
- Views: 2438
Re: Components available with Home & Professional licence
The "Storage" listing should not have a grey background in the chart or is this an error in the release?
- Wed Jul 02, 2014 9:42 pm
- Forum: General Programming
- Topic: How to compile a 10F200 program in V6.9
- Replies: 3
- Views: 4157
Re: How to compile a 10F200 program in V6.9
I could not find a link to HITECH C 9.83 either. This might get you started with that compiler using V5: http://www.matrixtsl.com/mmforums/viewt ... ers#p55495
- Thu Jun 26, 2014 9:52 pm
- Forum: Flowcode V6
- Topic: Need system info for custom macros
- Replies: 1
- Views: 1655
Need system info for custom macros
I would like to make some custom macros. In one macro I need to know the clock speed that is entered into the Project Options... Clock speed(Hz); and then do a calculation based on that number. In another macro I need to know the file name (the path would work too) so it can be converted into ascii ...
- Mon Jun 23, 2014 8:50 pm
- Forum: Flowcode V6
- Topic: Stack problem?
- Replies: 3
- Views: 2611
Re: Stack problem?
If you suspect the reset is caused by a stack overflow/underflow, you could check the 'pcon' register to verify it. Below is a simple example on how to do that. You can easily add checking for the other reset conditions too. Out of curiosity, what happens if the software stack is disabled? (-swcs 6 ...
- Mon Jun 23, 2014 8:43 am
- Forum: Flowcode V6
- Topic: Component Macro for reading ADC temperature indicator
- Replies: 1
- Views: 1873
Re: Component Macro for reading ADC temperature indicator
Here is the macro from the following post converted to V6.
http://www.matrixtsl.com/mmforums/viewt ... nit#p57003
http://www.matrixtsl.com/mmforums/viewt ... nit#p57003
- Mon Jun 16, 2014 11:19 pm
- Forum: Flowcode V6
- Topic: ARM Debate
- Replies: 29
- Views: 21725
Re: ARM Debate
Thank you for the link Hydro-Jeff. I have always wanted to use a 32 bit micro so I could use equations that would otherwise bring an 8 bit micro to it's knees. The problem was I could not find one with the features I needed. With your help I think I found one in the 4100 series. I am experimenting n...
- Thu Jun 12, 2014 8:04 pm
- Forum: Flowcode V5
- Topic: WDT not working. Won't reboot software
- Replies: 14
- Views: 10778
Re: WDT not working. Won't reboot software
I think the wdt postscaler needs to be (divide by 2) to get 16 seconds. Your assuming a wdt timeout will always reset the micro. It might just wake from sleep. So, it is not "independent of any code I write". Some things that will reset the wdt are: sleep, a write to the the clock ircf bits and a cl...
- Sun Jun 08, 2014 5:33 am
- Forum: General Programming
- Topic: Help Please: Lowest-power sleep and 25s wake-up
- Replies: 6
- Views: 5630
Re: Help Please: Lowest-power sleep and 25s wake-up
It doesn't, it just wakes it up. You can turn off the wdt after it wakes up if you like.I understand that use of the WDT would initiate a reset
If your using a crystal, try enabling 2 speed startup if it's available.Due to the desire to keep wake-up processes short
- Sun Jun 08, 2014 12:27 am
- Forum: General Programming
- Topic: Help Please: Lowest-power sleep and 25s wake-up
- Replies: 6
- Views: 5630
Re: Help Please: Lowest-power sleep and 25s wake-up
No idea how to set it up for an 18LF series but for the 16LF series like the PIC16LF1936 it is simply: wdtcon =0b00xxxxx1; where the x's are the time and the 1 enables the wdt. sleep(); If the gie bit is clear it will not vector when the wdt times out. The wdt configuration bits are set to 'controll...
- Fri Jun 06, 2014 11:15 pm
- Forum: Flowcode V5
- Topic: PIC10F200
- Replies: 2
- Views: 3112
Re: PIC10F200
Here are a few options: wake up from a pin change, comparator output change and wdt timeout. To use the wake up from pin change, the gpwu bit of the option register needs to be clear. To wake from sleep using the comparator, bit0 of the cmcon0 register must be cleared. To wake up from sleep using wd...
- Mon Jun 02, 2014 12:32 am
- Forum: Flowcode V6
- Topic: 3D variable array?
- Replies: 8
- Views: 6067
Re: 3D variable array?
Could you use three sets of 30 container arrays instead (3 * 30 * 8bits)? For example just add these string type variables to your project, X[29], Y[29] and Z[29]. I am sure I don't understand your question but, Flowcode is great at easily handling arrays.
- Fri May 30, 2014 10:52 pm
- Forum: Flowcode V5
- Topic: interrupts
- Replies: 5
- Views: 5524
Re: interrupts
Perhaps the high speed interrupt is affecting the timings of the communication with the lcd display. You could try using timer1 (16bit) as the interrupt source instead. Timer1's register pair (tmr1l,tmr1h) can be preloaded with specific values to obtain custom interrupt timings. Attached is an untes...