Search found 20 matches

Return

by medelec35
Sun Aug 14, 2011 10:51 pm
Jump to forum
Jump to topic

Re: Port B6 & B7 Interrupt on 16F887, not resetting

Please select from the task bar "Chip"--> "Configure" and press "Switch to Expert Config Screen" button. I have the expert screen permanently enabled To do this if simple configuration screen loads: On simple configuration screen, select options, then un-tick 'Use simp...
by JohnCrow
Thu Aug 04, 2011 7:34 pm
Jump to forum
Jump to topic

Re: Flowcode for dsPIC/PIC24 'best chip'

Hi Mark The 30F3014 is a 40 pin device (this one is sold by matrix as well) The thing to always remember with the 16bit series of devices is make sure you get the correct device for the supply voltage you are using. i.e. the 40pin & 18Pin (dsPIC 30) devices are 5V the 20pin & 28 pin (PIC24 a...
by Sean
Fri Aug 05, 2011 2:23 pm
Jump to forum
Jump to topic

Re: Flowcode for dsPIC/PIC24 'best chip'

The 40-pin socket of the EB064 is compatible with two devices from the current 16-bit PIC range: the dsPIC30F3014 and dsPIC30F4013. The 3014 can be considered to be a good general purpose device (5V operation, maximum number of port pins available in this format); the 4013 is similar but with more m...
by Benj
Tue Aug 02, 2011 10:09 am
Jump to forum
Jump to topic

Re: gLCD with Formula Flowcode

Hi Mark, Sorry about this. I think I know what happened. Basically we made it easier to work with the EB057 and EB058 modules in hardware mode by dropping the extra pin connections from the component when that display type is selected. This means that in software mode most of the pins other then the...
by JonnyW
Thu Jul 28, 2011 9:24 am
Jump to forum
Jump to topic

Re: Integer Array?

Hi Mark. Sorry, Ive just re-read your post - still bleary eyed this morning. Another possibility if you are struggling for size (using an int array) and your 'X' value is always the same is to store a value of 0-2 in a byte array then do: X = (array[index] - 1) * speed Where 'array' is a byte array ...
by JohnCrow
Tue Aug 16, 2011 9:37 am
Jump to forum
Jump to topic

TPA81 Infrared Thermopile

TPA81 Infrared Thermopile Array The TPA81 is a thermopile array, that operates in the infrared spectrum ( 2um to 22um range). It has an array of 8 infrared sensors and a ninth sensor to measure local ambient temperature. Unit has a maximum reading of 100°C. I have managed to get reading up to 150°C...
by Benj
Fri Aug 26, 2011 10:23 am
Jump to forum
Jump to topic

Re: SPI Memory, 25LC1024 and SPI Component

Hello, Ok I've had a quick play with your program and have written macros which should perform the byte read and byte write operations. Hopefully this should work correctly on the hardware. There are other commands to do page read and page write so you could implement these by referring to the curre...
by Dave S
Fri Sep 23, 2011 8:50 pm
Jump to forum
Jump to topic

Re: Random() function

Dave, Thanks, I understand the concept, but how would I actually impliment that in Flowcode? In a C icon? If so please post the syntax. Thanks (and to Martin also) I just put srand(tmr0); in a C box at the start of the flowchart, then RandomNumber = random() in a calculation box when a random numbe...
by Benj
Wed May 23, 2012 2:09 pm
Jump to forum
Jump to topic

Re: gLCD EB0058 Board and FCv5, speed

Hello Mark, If you look in the following directory "Flowcode\v5\CAL\PIC" and then open the following file in a text editor "PIC_CAL_SPI.c" Then find the function named like this "CALFUNCTION(MX_UINT8, FC_CAL_SPI_Master_Byte_, (MX_UINT8 DataOut))" Inside the function are...
by Benj
Tue May 29, 2012 2:46 pm
Jump to forum
Jump to topic

Re: Memory usage by macro variables

Hi Mark, You should be able to use the string variable type to return an array of data. The string data type will let you access each of the memory locations as a byte so you could return data like this. .Return[0] = ADC0ReadByte .Return[1] = ADC1ReadByte Then outside the function simply use a strin...
by JonnyW
Mon May 28, 2012 2:43 pm
Jump to forum
Jump to topic

Re: Port-pin variables

Hi. The TRIS will always be written as required for input or output. This means if you do $PORTB = 0b01010101 the TRIS will always be set as an output first for all bits, so TRIS = 0b00000000. In project-wide cases where this is not necessary you can add the following to supplementary code: #define ...
by Benj
Fri Aug 24, 2012 2:56 pm
Jump to forum
Jump to topic

Re: PicKit 3 not detected - chip specific

Hi Mark, I think the PICkit 3 is not detected unless the system is externally powered or you are supplying power via the PICkit. Looking through the PK3 readme document you need to add the following to the parameters to allow the device to be powered via the PICkit. -V5 -Drives VDD @ 5V -V3.3 -Drive...
by Enamul
Sat Aug 25, 2012 11:16 pm
Jump to forum
Jump to topic

Re: Flowcode v5.4 PIC18F47J53 Code Error

Hi,
Thanks for the post about TMR1, TMR3 & TMR5 FCD problem. I have manged to replicate the issue if I select external clock source as clock. I have attached here the corrected FCD.
by Benj
Thu Sep 13, 2012 10:16 am
Jump to forum
Jump to topic

Re: Flowcode v5.4 PIC18F47J53 Code Error

Hello Mark, Right I think I have now fixed some of the bugs and hopefully I2C channel 2 should work correctly for you now using the updated files attached below. The I2C is not remappable, not sure why I thought it was, and the 18F2xJ53 devices seem to only have one I2C channel even though the Micro...
by Benj
Mon Mar 18, 2013 11:16 am
Jump to forum
Jump to topic

Re: EB037 error when using FAT Component

Hi Mark,

I've just tried it here and it's compiling ok for me. Here are the files I'm using.

This file goes into the components directory.
FC5_PIC_FAT16.c


And this file goes into the CAL/PIC directory.
PIC_CAL_SPI.c
by JohnCrow
Sun Sep 16, 2012 10:54 am
Jump to forum
Jump to topic

Accelerometer DataLogger

Accelerometer DataLogger This is my first project using the “001-Tech” Accelerometer Board. It is fully compatible with the accelerometer module in Flowcode 5. It is designed to show the principles of operation and test the unit. The sensor used is the the LIS3LV02DQ 3 axis accelerometer. This devi...
by Benj
Wed Feb 09, 2011 9:39 am
Jump to forum
Jump to topic

Re: EB006 board. Onboard ship issues.

Hello, It might be worth unplugging the three way jumpers J29 and J12-J14 and reseating them in their position. We have had a couple of problems where the jumpers are not making contact correctly and this is stopping autodetection and programming from working. If you have a multimeter then you can g...
by medelec35
Mon Apr 14, 2014 9:32 pm
Jump to forum
Jump to topic

Re: Flowcode 6 Pickit3

Hi Mark,
Have you tried removing all spaces.

I know if you leave any spaces within file name, you get a hex not found error.

Martin
by DavidA
Tue May 27, 2014 11:26 am
Jump to forum
Jump to topic

Re: Flowcode 6 to Formula Flowcode

Hello mark,

Dont select the 18F4455, select the Misc-> Formula Flowcode!

That should hopefully work.

The drivers should work for Windows 7 if you select the 64bit driver (dpinst_amd64.exe)
by Benj
Tue Jun 10, 2014 7:17 pm
Jump to forum
Jump to topic

Re: PicKit3 Command Line Extensions - Power

Hi Mark, Thanks for the detailed post :) Makes my job much easier. You could try these to see if they make any difference. -P$(chip) -F$(target).hex -E -M -V5 -P$(chip) -F$(target).hex -E -M -V5.0 -P$(chip) -F$(target).hex -E -M -V5.0 -I Let me know how you get on. I seem to remember a niggle with t...