Search found 211 matches

by Kenrix2
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: 5798

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...
by Kenrix2
Sat Sep 05, 2015 12:19 am
Forum: Flowcode V6
Topic: 433mhz receiver
Replies: 11
Views: 7746

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...
by Kenrix2
Tue Sep 01, 2015 6:49 pm
Forum: Bug reports
Topic: PIC16F150x missing Oscillator selections
Replies: 5
Views: 4212

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.
by Kenrix2
Tue Sep 01, 2015 10:41 am
Forum: Bug reports
Topic: PIC16F150x missing Oscillator selections
Replies: 5
Views: 4212

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?
by Kenrix2
Tue Sep 01, 2015 9:36 am
Forum: Bug reports
Topic: PIC16F150x missing Oscillator selections
Replies: 5
Views: 4212

PIC16F150x missing Oscillator selections

In the device configuration for the PIC16f150x series, EXTRC, HS, XT and LP are missing from the Oscillator selection.
by Kenrix2
Fri Aug 28, 2015 6:13 am
Forum: Flowcode V6
Topic: RBG LED WS2812 Adafruit NeoPixel - anyone got it working
Replies: 23
Views: 24147

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...
by Kenrix2
Thu Jul 31, 2014 9:01 pm
Forum: Flowcode V6
Topic: Enabling internal pull-ups on AVR's
Replies: 4
Views: 7764

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...
by Kenrix2
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: 4335

Re: initialiser une variable problème de syntaxe

Utiliser le calcul pour les données.
Use the calculation for data.
by Kenrix2
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: 4335

Re: initialiser une variable problème de syntaxe

Mettez-la dans un calcul.
Put it in a calculation.
by Kenrix2
Mon Jul 14, 2014 11:09 pm
Forum: Flowcode V6
Topic: Compiler error always return=1
Replies: 3
Views: 2879

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...
by Kenrix2
Mon Jul 14, 2014 5:33 am
Forum: Programming Tips & Tricks
Topic: Read and Write to flash memory macros
Replies: 0
Views: 4909

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...
by Kenrix2
Mon Jul 07, 2014 10:45 pm
Forum: Flowcode V6
Topic: Writting to flash on PIC
Replies: 17
Views: 9407

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...
by Kenrix2
Sat Jul 05, 2014 12:18 am
Forum: Flowcode V6
Topic: Components available with Home & Professional licence
Replies: 3
Views: 2414

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 ...
by Kenrix2
Fri Jul 04, 2014 8:25 pm
Forum: Flowcode V6
Topic: Components available with Home & Professional licence
Replies: 3
Views: 2414

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?
by Kenrix2
Wed Jul 02, 2014 9:42 pm
Forum: General Programming
Topic: How to compile a 10F200 program in V6.9
Replies: 3
Views: 4119

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
by Kenrix2
Thu Jun 26, 2014 9:52 pm
Forum: Flowcode V6
Topic: Need system info for custom macros
Replies: 1
Views: 1642

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 ...
by Kenrix2
Mon Jun 23, 2014 8:50 pm
Forum: Flowcode V6
Topic: Stack problem?
Replies: 3
Views: 2572

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 ...
by Kenrix2
Mon Jun 16, 2014 11:19 pm
Forum: Flowcode V6
Topic: ARM Debate
Replies: 29
Views: 20933

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...
by Kenrix2
Thu Jun 12, 2014 8:04 pm
Forum: Flowcode V5
Topic: WDT not working. Won't reboot software
Replies: 14
Views: 10489

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...
by Kenrix2
Sun Jun 08, 2014 5:33 am
Forum: General Programming
Topic: Help Please: Lowest-power sleep and 25s wake-up
Replies: 6
Views: 5561

Re: Help Please: Lowest-power sleep and 25s wake-up

I understand that use of the WDT would initiate a reset
It doesn't, it just wakes it up. You can turn off the wdt after it wakes up if you like.
Due to the desire to keep wake-up processes short
If your using a crystal, try enabling 2 speed startup if it's available.
by Kenrix2
Sun Jun 08, 2014 12:27 am
Forum: General Programming
Topic: Help Please: Lowest-power sleep and 25s wake-up
Replies: 6
Views: 5561

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...
by Kenrix2
Fri Jun 06, 2014 11:15 pm
Forum: Flowcode V5
Topic: PIC10F200
Replies: 2
Views: 3090

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...
by Kenrix2
Mon Jun 02, 2014 12:32 am
Forum: Flowcode V6
Topic: 3D variable array?
Replies: 8
Views: 5990

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.
by Kenrix2
Fri May 30, 2014 10:52 pm
Forum: Flowcode V5
Topic: interrupts
Replies: 5
Views: 5481

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...