Search found 1171 matches

by QMESAR
Mon Nov 30, 2020 2:53 pm
Forum: Flowcode V8
Topic: Ghost Issue with 16F648A
Replies: 2
Views: 68

Re: Ghost Issue with 16F648A

[Hi Ben
Thank you very much :D
by QMESAR
Sat Nov 28, 2020 2:05 pm
Forum: Flowcode V8
Topic: Ghost Issue with 16F648A
Replies: 2
Views: 68

Ghost Issue with 16F648A

Hi Team. I am having issue with a PIC16F648A and Ghost , It is inpossible to add a Analog trace to the Data Recorder Here you can see pins RA2 and RA 3 are set as Analog pins in Ghost this is done automatically by FC Gosht Select.jpg Trying to select the RA2 or RA3 as Analog pin in the recorder is n...
by QMESAR
Tue Nov 24, 2020 10:27 am
Forum: General Programming
Topic: Putting PIC16F18857 MCU in to sleep mode and coming out from sleep mode
Replies: 4
Views: 161

Re: Putting PIC16F18857 MCU in to sleep mode and coming out from sleep mode

HI.

I would advise you to ask this at the Microchip forum ,People here work with Flowcode on PIC
by QMESAR
Fri Nov 20, 2020 2:18 pm
Forum: Freelance Embedded Engineers
Topic: PIC Custom Interupt
Replies: 1
Views: 49

Re: PIC Custom Interupt

Hi

I have send you an PM :D

Have good time
by QMESAR
Sun Nov 15, 2020 1:07 pm
Forum: General Programming
Topic: Proteus
Replies: 6
Views: 720

Re: Proteus

Hi.

Ok I was in opinion you are using a PIC micro then it will be a COFF file, however for arduino it can be a ELF file,I never used Arduino (ATMEL)

However it seems from your screen print it is working now with you ?
by QMESAR
Fri Nov 13, 2020 5:51 pm
Forum: General Programming
Topic: Proteus
Replies: 6
Views: 720

Re: Proteus

Hi

What file are you using
hex or COFF file in your Proteus project?
by QMESAR
Wed Nov 11, 2020 2:11 pm
Forum: Flowcode V8
Topic: Simulated encoder connected to the motor
Replies: 3
Views: 193

Re: Simulated encoder connected to the motor

Hi
You can do this in Proteus
by QMESAR
Fri Oct 30, 2020 1:44 pm
Forum: Flowcode V8
Topic: Interrupt Help
Replies: 3
Views: 143

Re: Interrupt Help

Hi
No problem made this mistake many times and look hours for the bug :D
by QMESAR
Fri Oct 30, 2020 6:55 am
Forum: Flowcode V8
Topic: Interrupt Help
Replies: 3
Views: 143

Re: Interrupt Help

Hi

If you are not supplying a clock signal to the Timer 0 external clock Pin then the interrupt will never fire,in this case set the Timer clock to Internal Clock (Clock Source Property)

P5.jpg
P5.jpg (22.53 KiB) Viewed 141 times
Set The property to Internal as shown below
P6.jpg
P6.jpg (19.23 KiB) Viewed 141 times
by QMESAR
Wed Oct 28, 2020 3:00 pm
Forum: Flowcode V8
Topic: Cannot configure Internal Oscillator
Replies: 7
Views: 479

Re: Cannot configure Internal Oscillator

Hi I never used this chip however I haven't seen a PIC18 that can run at 80Mhz the max I expects 64Mhz I would guess that in the OSC Helper you select the Internal OSC speed as 16Mhz (click on the OSC parameter and a list box will open that shows the various speeds the Internal OSC can run at. Then ...
by QMESAR
Thu Oct 22, 2020 10:03 am
Forum: Flowcode V8
Topic: MQTT Basics and FC
Replies: 13
Views: 473

Re: MQTT Basics and FC

Thanks Ben and leigh

Much appreciated !
by QMESAR
Thu Oct 22, 2020 9:00 am
Forum: Flowcode V8
Topic: MQTT Basics and FC
Replies: 13
Views: 473

Re: MQTT Basics and FC

Hi Guys, Adding a password to the broker in the RPI (as per your document Ben) publishing to the topic by the commnad window in the RPI works However How do I add the password as a parameter to the publish component in FC mosquitto_pub -h localhost -t "test" -m "Sensor/Pot" -u "Fred" -P "password" S...
by QMESAR
Tue Oct 20, 2020 6:21 pm
Forum: General Programming
Topic: calculation question
Replies: 11
Views: 476

Re: calculation question

No Problem ,I had a quick look and saw you are using local variables ,I am not so well informed with this in FC
maybe Martin or someone that works a lot with FC can help you here ,I know how to solve this in C code but that helps you nothing
by QMESAR
Tue Oct 20, 2020 5:33 pm
Forum: General Programming
Topic: calculation question
Replies: 11
Views: 476

Re: calculation question

Hi data200= .data129/.data109 t Is the data200 of type Integer or float? if it is type integer or unsigned integer you loose the decimal part by the nature of the variable type is my guess, if data200 is type float then you will see the vale of 1-3.xxx you can then do the multiplication by 10 000 an...
by QMESAR
Tue Oct 20, 2020 9:53 am
Forum: Flowcode V8
Topic: MQTT Basics and FC
Replies: 13
Views: 473

Re: MQTT Basics and FC

Hi Ben, Thank a million for the example once again ,I have it now running on HW my sensor node is connecting to the RPI successfully :D and I publish the sensor data to the Broker on the RPI and see the real data in the terminal window. With that said there is a long way still ,I am still confused w...
by QMESAR
Tue Oct 20, 2020 6:41 am
Forum: Bug Reports
Topic: PIC18F2685 CAN with wrong BAUD Rate
Replies: 6
Views: 175

Re: PIC18F2685 CAN with wrong BAUD Rate

As Ben said use a higher Clock Frequency ,4MHZ clock for a CAN application is not desired :D
by QMESAR
Tue Oct 20, 2020 6:30 am
Forum: Flowcode V8
Topic: MQTT Basics and FC
Replies: 13
Views: 473

Re: MQTT Basics and FC

Hallo Ben. Just an interesting thing I notice when using the MOTT components with ESP Component your example FC Chart compiles perfectly for all the bigger RAM values like the PIC182585,16F18877,16F18857 etc these chips has 2096 and 4096 RAM the chips such as PIC16F1938,16F18855 with 1024 RAM the co...
by QMESAR
Mon Oct 19, 2020 5:12 pm
Forum: Flowcode V8
Topic: Bringing up a new chip 18f24k50 Having some problems. Resolved use OSCCON and not OSCFREQ.
Replies: 9
Views: 381

Re: Bringing up a new chip 18f24k50 Having some problems. Resolved use OSCCON and not OSCFREQ.

Hi Martin

No issues ,I just did not see you already replied and that was the meaning not to double post the same things ,
I apologize if you feel I did not like that you posted That was really not the intention .

Chad as Martin I really hope you get things going all fingers crossed ,
by QMESAR
Mon Oct 19, 2020 4:33 pm
Forum: Flowcode V8
Topic: Bringing up a new chip 18f24k50 Having some problems. Resolved use OSCCON and not OSCFREQ.
Replies: 9
Views: 381

Re: Bringing up a new chip 18f24k50 Having some problems.

Ok Martin
I leave this post now ,Sorry I posted just after you posted did not see your response
by QMESAR
Mon Oct 19, 2020 2:58 pm
Forum: Flowcode V8
Topic: Bringing up a new chip 18f24k50 Having some problems. Resolved use OSCCON and not OSCFREQ.
Replies: 9
Views: 381

Re: Bringing up a new chip 18f24k50 Having some problems.

With me these settings compile just fine
?
can you upload your FC files and I will try to compile it !

P1.jpg
P1.jpg (37.48 KiB) Viewed 328 times
by QMESAR
Mon Oct 19, 2020 2:38 pm
Forum: Flowcode V8
Topic: Bringing up a new chip 18f24k50 Having some problems. Resolved use OSCCON and not OSCFREQ.
Replies: 9
Views: 381

Re: Bringing up a new chip 18f24k50 Having some problems.

Hi Chad The OSChelper gives all the possible Frequencies for the internal OSC if you select 16Mhz then the Internal OSC is running at 16Mhz which is the input frequency to the MUX unit then by setting the PLL bit to 3 times is 3 x16 = 48Mhz Clock frequency as you will see in the above post OSC block...
by QMESAR
Mon Oct 19, 2020 1:31 pm
Forum: Flowcode V8
Topic: Bringing up a new chip 18f24k50 Having some problems. Resolved use OSCCON and not OSCFREQ.
Replies: 9
Views: 381

Re: Bringing up a new chip 18f24k50 Having some problems.

Hi Guys, I do not have such an device however In my opinion it should work as follow You need to set the frequency of the Internal OSC use the OSC helper the setting of the PLL 3 or 4 times depend on the setting of the OSCCon register if 16MHz is used the you can only set the PLL to 3 which expects ...
by QMESAR
Mon Oct 19, 2020 11:16 am
Forum: Flowcode V8
Topic: MQTT Basics and FC
Replies: 13
Views: 473

Re: MQTT Basics and FC

Hallo Ben,

Thank you this helps a lot ,I will try it with the 5V at the Pins Vdd I hooked up to 3v3 . :D

Have good time
by QMESAR
Mon Oct 19, 2020 11:03 am
Forum: Flowcode V8
Topic: MQTT Basics and FC
Replies: 13
Views: 473

Re: MQTT Basics and FC

Hi Guys, The ESP8266 module is 3.3V so my question do I need to use level shifter for the UART RX and TX pins and the Enable and reset Pins as I am hooking up to a 5V mcu ,I am not sure if the ESP pins are 5V tolerant and any help is appreciated Secondly the enable pin is not included in the ESP Com...