Search found 445 matches

Return

by kersing
Mon Oct 12, 2015 5:59 pm
Jump to forum
Jump to topic

Re: DS PIC ECIO CAN bug? Or am I missing something?

Yes, looks like a bug, in line 1650 of PIC16BIT_CAL_CAN.c MX_MEMBUF_X[buffer][0] = (MX_CAN_TXB0ID_X << 2) & 0b0001111111111100; This is using the component property value, MX_CAN_TXB0ID_X, rather than the macro parameters. Oops, my bad. You would probably be better using SetTxIdent macro, altho...
by dazz
Thu Nov 19, 2015 8:09 pm
Jump to forum
Jump to topic

Re: Flowcode and hardware (slightly off topic)

Hi Secs Sorry for posting the link ;) , the miac and a few other boards are also on my to get list, if i had more money i would have 2 of everything :lol: Also bear in mind that the support from matrix themselves is first rate and more accessible than any other company i have used in the past, also ...
by medelec35
Tue Nov 24, 2015 11:13 pm
Jump to forum
Jump to topic

Re: Converting Flowcode v5 Program to v6

The components now say "v5" rather than being on the v6 version Your hardware should work the same with V6 showing V5 components as it did by actually using V5 Flowcode V6 should be designed (with a few minor exceptions) to run hardware after loading a V5 flowchart, then compiling to targ...
by bvolken
Fri Dec 04, 2015 7:26 pm
Jump to forum
Jump to topic

Re: SOLVED: Problem sending character to LCD via UART/Serial

Okay, turns out the problem was indeed the "Extended CPU Enable"
UART1.jpg

After switching to "disabled", the code worked as expected.
HelloWorld.jpg

THANKS FOR THE SUGGESTION! :D
by kersing
Mon Dec 07, 2015 6:02 pm
Jump to forum
Jump to topic

Re: String Handling Questions

2) is a STRING null terminated (and the documentation is correct) or it is NOT (and the documentation is in error). If you are telling me that a string[20] that contains 20 characters has no null termination, then that means the documentation is not accurate. The documentation is not incorrect but ...
by kersing
Mon Dec 07, 2015 11:41 pm
Jump to forum
Jump to topic

Re: String Handling Questions

The documentation is not incorrect but allows different interpretations. Gotta be honest, not sure how to even process that bit of information. Then don't try. Just accept that different people read different meanings into the same sentence. So, it is null terminated unless it's not. (for clarity o...
by medelec35
Wed Jan 27, 2016 8:55 am
Jump to forum
Jump to topic

Re: Mloader erros

Just found this on the microchip forums: There appears to be a feature / problem with my setup at least, probably for the OP too, and maybe for others. This feature makes it seem, at first glance, as if the PIC12F629 will only program once. What actually happens is that after the second programming ...
by alanwms
Tue Feb 09, 2016 3:50 pm
Jump to forum
Jump to topic

Re: PIC18f26k80 Analog

I made a few changes and empirically ended up with Fosc/4 and 6 cycles acquisition time. Certainly got my analog acting more realistic.
If you wouldn't mind detailing me about the values - Is it more beneficial to be slower?

Thanks much - I can take it from here. :D
by medelec35
Tue Feb 16, 2016 8:39 pm
Jump to forum
Jump to topic

Re: Learner PIC

1.As per the flowchart I thought the counter would reset after 255 but it doesnt.it seems to be counting forever.I made it count more than 1049 It depends on what type the variables are designed to. When you add a new variable: Variable ranges1.png You can see if you add a byte, when incrementing t...
by medelec35
Thu Feb 18, 2016 10:14 pm
Jump to forum
Jump to topic

Re: PIC18F25K80 timer1 problem

Hi STibor Here is an unofficial temporary solution. I have modified: 18F25K80.fcdx That's in: C:\Program Files (x86)\Flowcode 6\FCD\PIC (If 64 bit windows) or C:\Program Files\Flowcode 6\FCD\PIC(If 32 bit windows.) If you make a copy of the original files and replace with the attached file, hopefull...
by STibor
Fri Feb 19, 2016 7:17 pm
Jump to forum
Jump to topic

Re: PIC18F25K80 timer1 problem

Hello medelec35!

Also, check with the following types:
PIC18F25K80
PIC18LF25K80
PIC18F26K80
PIC18LF26K80
PIC18F45K80
PIC18LF45K80
PIC18F46K80
PIC18LF46K80
PIC18F65K80
PIC18LF65K80
PIC18F66K80
PIC18LF66K80
by medelec35
Sun Feb 21, 2016 9:42 pm
Jump to forum
Jump to topic

Re: PIC18F25K80 timer1 problem

Hi Simpi,
Only posted the one you mentioned as I thought it would help you get out of a jam.

I will leave matrix to update the rest of them as lack of time my side.

Martin
by dazz
Fri Feb 26, 2016 8:38 pm
Jump to forum
Jump to topic

Re: Flowcode V5 Exponential Function

HI
Welcome to the forums, please sign up to the V5 forums(link is in my sig) , as this will make it easier to help you

Im not very good with maths ,however type in exponential in the search box on the forum and a few results come up, hopefully this will help you

Regards
Dazz
by secs
Wed Mar 09, 2016 3:51 pm
Jump to forum
Jump to topic

Re: DS18b20 and an endless loop

Ok all. I have a DS18B20 in and operating. I use the one wire component and simply use the value returned by the gettemp and multiply it by .0625 It seems to be running ok. I have it in an outdoor system I am using to control my Aquaponics setup. I expect to see a - value sometime in winter I will n...
by medelec35
Fri Mar 11, 2016 3:56 pm
Jump to forum
Jump to topic

Re: bug with 16f88

At the very start, so should be the first icon.
Place a C code block with

Code: Select all

osccon=0x60;
:
setting osccon.png

It's not a Flowcode bug so moved topic from the Bugs section.

Martin
by Jay Dee
Wed Mar 16, 2016 10:31 pm
Jump to forum
Jump to topic

Re: dsPIC ECIO40P16 and internal CAN

Well Flippin' eck!! I might have learnt something tonight.. haha!! Leigh, I read out the C1CFG1 C1CFG2 C1CTRL1 and C1CTRL2 registers, displayed them on the LCD and compared them to the DataSheets. I toggled bit 11 of C1CTRL1 and its all working fine. :D Its register value CANCKS ECAN Module Clock So...
by E*2Engineer
Thu Mar 17, 2016 2:13 pm
Jump to forum
Jump to topic

Re: Multiple pots in program move in unison

Leigh,
This was more than a solution, it was a great bit of usable information in making components, and programming as well.
Very useful for all other projects.
Thanks again,
-Craig
by medelec35
Fri Apr 01, 2016 11:38 pm
Jump to forum
Jump to topic

Flowcode V6. Assigning Formulas & variables to keys.

Here is a simple flowchart: Keymapping1.png All I would like to do is run the simulation in full speed and press q to decrease count by 1 & press w to increase count by 1. Just select Edit, Key mappings... In the new window that appears, select New, then Add New: Keymapping2.png Enter in the new...
by mikn
Tue Apr 05, 2016 1:39 am
Jump to forum
Jump to topic

Re: help with types

damn yes, I have fixed it.
the problem was in readtemperature macro, when I read second byte of data, Last parameter in i2c_Rxbyte was 0 instead of 1.
so next macro ReadPressure was reading completely wrong data and all calculations were wrong.
Whew.
by medelec35
Wed Apr 06, 2016 10:36 pm
Jump to forum
Jump to topic

Re: Measurement of temperature and relative humidity using D

Hi paridhi, The errors are caused because ECIO-40 has a 16bit timer0 but the V5 flowchart was designed for 16F877A which has a 8bit timer. Therefore all the C code blocks referring to tmr0 will produce an error. You could use timer2 instead of timer0 and change all tmr0 to tmr2 . Also when changing ...
by MJU
Wed Apr 13, 2016 10:35 pm
Jump to forum
Jump to topic

My working IR sensor MLX90614 chart

I want to share this working flowchart for the Melexis MLX90614 IR temperature sensor. This sensor has two temperature readings (some in the MLX90614 family has two IR zones). I only read the ambient temperature and the IR temperature in it's view. I made this project on an Arduino Uno, with the se...
by Rudi
Wed Apr 20, 2016 2:12 am
Jump to forum
Jump to topic

Re: Simulation

Steve001 wrote:Evening

When running simulation how do you add variables to the event viewer box ?

Steve



like this?
varDebug.png


hope this helps
;-)
by kersing
Tue Apr 19, 2016 7:03 pm
Jump to forum
Jump to topic

Re: Needed help with oled display

I understand you are looking for an answer, keep in mind the people reading your request for help might not have an answer because they do not have and do not know the hardware you are using. providing a link to a data sheet and attaching your flow chart might help. (But does not guarantee an answer!)
by jollybv
Wed Apr 27, 2016 1:31 pm
Jump to forum
Jump to topic

Re: Understanding I2C EEprom addressing

Hi Leigh

Thanks for this it's sorted now can read and write byte or page no matter what page
by Rudi
Wed Apr 27, 2016 2:40 pm
Jump to forum
Jump to topic

Re: how can i do an array of variables 4 bytes

hi

simple change the type from byte to uint for your variable
you can edit the variable type by call the variable manager..

uintArr.png


best wishes
rudi ;-)

edit:
and be sure, your size of array is the same you need for the RegValue