Search found 6663 matches

by medelec35
Mon Jun 24, 2019 4:44 pm
Forum: Flowcode V8
Topic: Issues with reading an analogue voltage signal
Replies: 5
Views: 69

Re: Issues with reading an analogue voltage signal

Hi Aidan,
It would help if you can post the flowchart that's got the issues you describe.
by medelec35
Sat Jun 22, 2019 12:03 pm
Forum: Bug Reports
Topic: Components cosmetic issues
Replies: 1
Views: 64

Components cosmetic issues

The following components have cosmetic issues with cal layer being visible e.g:
Cosmetic.png
Cosmetic.png (13.84 KiB) Viewed 64 times

EB057/058
EBM016
EBM20
EBM003
EBM014
EBM019
by medelec35
Fri Jun 21, 2019 2:08 pm
Forum: 8-Bit PIC
Topic: control over WDT timeout
Replies: 5
Views: 289

Re: control over WDT timeout

At least you are sorted for now?
hackinblack wrote:postage here is eye-watering like 15 euros for 1 chip

Ouch, that does seem very steep!
hackinblack wrote:thanks sooo much for the help.

Not a problem, I try and help when I can.
All the best.
by medelec35
Sun Jun 16, 2019 11:28 am
Forum: 8-Bit PIC
Topic: control over WDT timeout
Replies: 5
Views: 289

Re: control over WDT timeout

Hi hackinblack, option_reg = option_reg | 0b00001111; //Configure watchdog to 1:128 Postscaler With Flowcode V7 and above, registers are all in upper case. Within 12F509 The register you are referring to as option_reg is just called OPTION . However within 12F509 this register is Write only! So inst...
by medelec35
Wed Jun 12, 2019 8:53 pm
Forum: Feature Requests
Topic: DS1820 + DS18B20
Replies: 7
Views: 232

Re: DS1820 + DS18B20

Hi Jorgen,
Glad you now have a working version.
Thanks for letting us know. :)
by medelec35
Wed Jun 12, 2019 8:51 pm
Forum: Flowcode V7
Topic: ERROR IN PIC16F1709 CODE
Replies: 7
Views: 189

Re: ERROR IN PIC16F1709 CODE

Running with internal osc at 16MHz, you will to:
Disable PLL
Within Build, Project options change the osc type from HS (that is for an external crystal or resonator above 4MHz) to Intosc.
Place a C code icon at the very start,before the main loop.
Within the C code icon add

Code: Select all

OSCCON = 0x78;
by medelec35
Wed Jun 12, 2019 7:06 pm
Forum: Feature Requests
Topic: DS1820 + DS18B20
Replies: 7
Views: 232

Re: DS1820 + DS18B20

I created a flowchart here a fair while ago that displayed temperatures below 0.
Maybe you can use the formula in that within your flowchart?
by medelec35
Mon Jun 10, 2019 11:52 am
Forum: Flowcode V8
Topic: Audio DSP solution manual query
Replies: 3
Views: 203

Re: Audio DSP solution manual query

Hi Aidan,
Extensions that are .fcm are Flowcode Macros.
You will need to go to the Macros menu and select Import....
by medelec35
Sun Jun 09, 2019 11:52 am
Forum: Flowcode V8
Topic: Problems with HC SR04 and servo
Replies: 2
Views: 174

Re: Problems with HC SR04 and servo

Hi B electron, The forum rules here state: 5. The “Tips and Tricks” sub forum is for sharing your knowledge and NOT for starting off with asking questions. I will move the topic to V8 section as that is what I'm assuming you are using? It looks like you are basing your flowchart on mine, but the del...
by medelec35
Thu Jun 06, 2019 10:52 pm
Forum: Flowcode V8
Topic: Bluetooth interaction with mobile phone
Replies: 36
Views: 2928

Re: Bluetooth interaction with mobile phone

Hi Jan, Had a quick look and the rapid chars is confusing it. Does not know when the last char has been sent or the first char of the next set. My advice would be to send an invisible end char e.g a Space. Then when the APP sees a space it knows that the next set is being sent. It was not set up lik...
by medelec35
Thu Jun 06, 2019 4:56 pm
Forum: Programming Tips & Tricks
Topic: Using XC8 V2.00 or greater with Flowcode 8
Replies: 2
Views: 299

Re: Using XC8 V2.00 or greater with Flowcode 8

Hi Ben, This is the full information from micorochip: Martin, So, today I installed flowcode on my machine and created a sample project. And Now I understood the situation. I think there is no real issue of PRO vs Free compiler here. Your license is working fine and it is evident from xclm -status. ...
by medelec35
Thu Jun 06, 2019 7:31 am
Forum: Flowcode V8
Topic: Bluetooth interaction with mobile phone
Replies: 36
Views: 2928

Re: Bluetooth interaction with mobile phone

Hi Jan,
Sorry been on a course so have a bit less time than normal.
Hopefully will get a chance this evening to check it out.
by medelec35
Tue Jun 04, 2019 5:05 pm
Forum: Flowcode V8
Topic: A Phone Controlled Door Lock
Replies: 4
Views: 213

Re: A Phone Controlled Door Lock

That's doable. I believe the simplest way would be to use Bluetooth. There is a topic about it here I did not continue with blog as the original development app (Mit App innventor) has a serious bug, so switched to AppyBuilder as that is currently working well. What version of Flowcode are you using...
by medelec35
Tue Jun 04, 2019 12:09 pm
Forum: Programming Tips & Tricks
Topic: Using XC8 V2.00 or greater with Flowcode 8
Replies: 2
Views: 299

Using XC8 V2.00 or greater with Flowcode 8

Microchip have changed the way XC8 compiler works from V2.00 Pre V2.0 the default was to use C90 as standard. From V2.0 the default is C99 as standard. This will mean you will not get expected results if you start using XC8 V2.00 or above, especially if using pro version of compiler. One typical exa...
by medelec35
Sat Jun 01, 2019 12:42 pm
Forum: General Programming
Topic: Interrupt Question
Replies: 2
Views: 241

Re: Interrupt Question

Hi James, Depending on the microcontroller, it will or will not have an internal interrupt on change register. If It does then there will be an option to select which edge is used for triggering as properties will be enabled. E.g an example is 16F(L)18xx range: IOC1.png Unfortunately, there are also...
by medelec35
Sat Jun 01, 2019 10:28 am
Forum: General Programming
Topic: Measurement of temperature and relative humidity using DHT11
Replies: 90
Views: 42812

Re: Measurement of temperature and relative humidity using DHT11

Please have a little help.I have question (20.0 MHz, the TMR0 increments by 1 in every 0.8 μs (prescaler 1:4)). without a prescaler =4 in the instruction st_bit(intcon, TMR0IE); tmr0=0x00; What has this got to do with Re: Measurement of temperature and relative humidity using DHT11. Not sure what y...
by medelec35
Thu May 30, 2019 5:31 pm
Forum: Feature Requests
Topic: Simulation Debugger - Specifying an array range of elements..
Replies: 2
Views: 145

Re: Simulation Debugger - Specifying an array range of elements..

Hi Ben, I believe in Matlab you would do something like this ScheduledSetTimes [48..52] That would be great if it can be implemented? The issue I'm currently facing is with 112 elements, its impossible to see all the values as it truncated after 64 elements: Array Range.png As the function is not al...
by medelec35
Thu May 30, 2019 3:38 pm
Forum: Feature Requests
Topic: Simulation Debugger - Specifying an array range of elements..
Replies: 2
Views: 145

Simulation Debugger - Specifying an array range of elements..

I have an array that has 115 elements. I'm trying just to show a small range e.g ScheduledSetTimes [48]-[52] Tried ScheduledSetTimes [48]-[52] & ScheduledSetTimes [48],[52] Showing a single element works e.g ScheduledSetTimes [48] What is the correct syntax for a range please? I can manually add...
by medelec35
Thu May 30, 2019 7:33 am
Forum: Electronics products
Topic: PCB layout and schematic software
Replies: 34
Views: 33996

Re: PCB layout and schematic software

Library Loader looks interesting do you use that ? Yes I use it as it's very useful. For example: If I need to use 18f47k40, I first run Library loader then select my PCB package: LL1.png Then search for component: LL2.png Note: It automatically takes you to RS or Mouser depending on your selection...
by medelec35
Wed May 29, 2019 1:05 pm
Forum: Electronics products
Topic: PCB layout and schematic software
Replies: 34
Views: 33996

Re: PCB layout and schematic software

What about Kicad along with Library loader?
by medelec35
Tue May 21, 2019 1:43 pm
Forum: Flowcode V8
Topic: Not working SPI .
Replies: 4
Views: 181

Re: Not working SPI .

Hi, there is an initialise component to select:
Initialise.png
Initialise.png (139.39 KiB) Viewed 171 times

Same applies to the SPI slave.
by medelec35
Fri May 17, 2019 7:16 pm
Forum: Flowcode V8
Topic: Bluetooth interaction with mobile phone
Replies: 36
Views: 2928

Re: Bluetooth interaction with mobile phone

Hi Jan,
Glad it works as I could not see any issues with your flowchart.
by medelec35
Tue May 14, 2019 10:21 pm
Forum: 8-Bit PIC
Topic: variable square wave
Replies: 19
Views: 604

Re: variable square wave

Hi Bob,
I will see if its plausible 0 to 2 KHz via timer interrupt.
by medelec35
Tue May 14, 2019 7:24 pm
Forum: 8-Bit PIC
Topic: variable square wave
Replies: 19
Views: 604

Re: variable square wave

Hi Bob, You will not achieve this with PWM.
The best way will be with a timer interrupt.
by medelec35
Mon May 13, 2019 11:06 am
Forum: Bug reports
Topic: Workaround for fround(x,y) for PIC?
Replies: 7
Views: 181

Re: Workaround for fround(x,y) for PIC?

Hi,
Have you read this post on a different forum?