Search found 6670 matches

by medelec35
Wed Jul 17, 2019 1:58 pm
Forum: Flowcode V8
Topic: EEPROM losses data
Replies: 3
Views: 74

Re: EEPROM losses data

Hi Jan,
There was a few issues.
For example in the read EEPROM, read EEPROM address loop continued when value read was greater than 0.
By default, the value of each EEPROM address is 255 if never used, not 0.

Try the attached flowchart.
by medelec35
Mon Jul 15, 2019 6:25 pm
Forum: Flowcode V8
Topic: Keypad 4x4
Replies: 10
Views: 169

Re: Keypad 4x4

Indeed, never too old to learn!
Its a pleasure.
At least you now have two different solutions, which is way better then none!
by medelec35
Mon Jul 15, 2019 6:10 pm
Forum: Flowcode V8
Topic: Keypad 4x4
Replies: 10
Views: 169

Re: Keypad 4x4

Hi Jan,
Jan Lichtenbelt wrote:It looks perfect your solution, but I could not find it.

Hi Jan,
Sorry perhaps
medelec35 wrote:use search: keypad

Was not clear enough.
Search.png
Search.png (23.7 KiB) Viewed 69 times

This is the method, both mysef and Ben are stating.
by medelec35
Mon Jul 15, 2019 2:12 pm
Forum: Flowcode V8
Topic: Keypad 4x4
Replies: 10
Views: 169

Re: Keypad 4x4

Hi Jan,
What about using the Generic Keypad (use search: keypad), changing Columns and Rows to 4, then changing ascii returns and intfixed values?
4x4 Keypad.png
4x4 Keypad.png (95.52 KiB) Viewed 99 times
by medelec35
Sat Jul 06, 2019 8:16 pm
Forum: Flowcode V6
Topic: PIC16F19156
Replies: 8
Views: 210

Re: PIC16F19156

Hi John, not just for the 18f world but same applies to the 16f world as well.
by medelec35
Sat Jul 06, 2019 1:44 am
Forum: Flowcode V6
Topic: PIC16F19156
Replies: 8
Views: 210

Re: PIC16F19156

Caution: Delay inaccurrate: 'delay_us', Delay overhead:0ms, Unit delay:0.00101725ms, Delay resolution:1 units Caution: Delay inaccurrate: 'delay_ms', Delay overhead:0ms, Unit delay:1.00016ms, Delay resolution:1 units Take a look at this post Also at this post Glad it compiles for you that is promis...
by medelec35
Sat Jul 06, 2019 12:58 am
Forum: Flowcode V6
Topic: PIC16F19156
Replies: 8
Views: 210

Re: PIC16F19156

Hi John, Benj do you happen to know a 28pin chip with SRAM Byte 2048 ? Looking at devices Flowcode 6 supports then what about 18F26K80? It has 3.6K of SRAM which is over 1K more than PIC16F19156. You can program the newer devices with PICkit 2, without a resistor in series with VPP. Maybe best to us...
by medelec35
Mon Jun 24, 2019 4:44 pm
Forum: Flowcode V8
Topic: Issues with reading an analogue voltage signal
Replies: 5
Views: 180

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: 122

Components cosmetic issues

The following components have cosmetic issues with cal layer being visible e.g:
Cosmetic.png
Cosmetic.png (13.84 KiB) Viewed 122 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: 477

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: 477

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: 369

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: 244

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: 369

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: 239

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: 212

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: 3245

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: 373

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: 3245

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: 251

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: 373

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: 297

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: 43414

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: 190

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: 190

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