Ben, thanks for the reply.
Do you mean that the 28-pin, 0.3 inch wide socket is underneath the 40-pin 0.6 inch wide socket/chip shown as item 25 on page 5 of http://www.matrixtsl.com/resources/file ... 6-30-9.pdf ?
Jan Didden
Search found 273 matches
- Wed Sep 20, 2017 7:41 pm
- Forum: Electronics products
- Topic: EB006 compatibility
- Replies: 5
- Views: 7481
- Wed Sep 20, 2017 4:57 pm
- Forum: Electronics products
- Topic: EB006 compatibility
- Replies: 5
- Views: 7481
EB006 compatibility
Hello, I want to get an EB006 to replace my aging Picstart+ (I know!), but have two queries I can't seem to find an answer on: - is the latest version (I think EB006V9) compatible with Flowcode 7? - the brochure shows a socket for 28 pin devices as a large, wide (0.6 inch) DIL. Does that mean that f...
- Sat Jun 24, 2017 11:38 am
- Forum: Bug reports
- Topic: Floating point numbers
- Replies: 5
- Views: 5586
Re: Floating point numbers
Hello Lagoda, Thanks for letting us know of the problem. I have found the cause and hopefully fixed it. Simply copy the file below into your "Flowcode 7/CAL/PIC16BIT" folder and then compilation should work correctly. PIC16BIT_CAL_Float.c Let me know how you get on. Good day Ben, Having had the sam...
- Thu Jun 22, 2017 12:39 pm
- Forum: Flowcode V7
- Topic: Supplementary code / definitions and declarations
- Replies: 10
- Views: 7326
Re: Supplementary code / definitions and declarations
I have now and it is exactly what I was looking for! Many thanks.
I also note that there is apparently no firm standard of naming those SFRs - I see WPUP and WPUPE; OPTION and OPTION_REG.
Jan
- Thu Jun 22, 2017 8:25 am
- Forum: Flowcode V7
- Topic: Supplementary code / definitions and declarations
- Replies: 10
- Views: 7326
Re: Supplementary code / definitions and declarations
Hi, I have to predefine 2 constant values in the internal eeprom of a PIC18F25K50. For this i used supplementary code, definition and functions declarations where i wrote: #pragma DATA _EEPROM, 45, 182, 28, 45 The problem is at compiling: Ver3.1.c: 442: #pragma DATA _EEPROM, 45, 182, 28, 45 ^ (335)...
- Wed Jun 21, 2017 3:57 pm
- Forum: Flowcode V7
- Topic: Supplementary code / definitions and declarations
- Replies: 10
- Views: 7326
Re: Supplementary code / definitions and declarations
I reviewed this stuff in the FC7 C-compiler XC8, and apparently there is a nifty feature toi use EEPROM to store named variables as in regular RAM. I wonder if this is supported by FC7? Or I can use inline C-code, but Ben doesn't like that ;-) Qoute from the user manual (bold mine): "5.5.5 Variables...
- Wed Jun 21, 2017 12:34 pm
- Forum: Flowcode V7
- Topic: Supplementary code / definitions and declarations
- Replies: 10
- Views: 7326
Re: Supplementary code / definitions and declarations
OK, I will try that.
But it seems a big step backwards. No possibility to preset individual EEPROM locations and no possibility to read/write 16bit integers.
Jan
But it seems a big step backwards. No possibility to preset individual EEPROM locations and no possibility to read/write 16bit integers.
Jan
- Wed Jun 21, 2017 12:03 pm
- Forum: Flowcode V5
- Topic: Conversion rules float to/from unsigned integer
- Replies: 10
- Views: 11673
Re: Conversion rules float to/from unsigned integer
I bit the bullet and upgraded to FC7
But I am getting stuck with the Supp Code for EEPROM presetting. Would be nice if you could take a look at my latest post in the FC7 forum.
But I am getting stuck with the Supp Code for EEPROM presetting. Would be nice if you could take a look at my latest post in the FC7 forum.
- Wed Jun 21, 2017 11:55 am
- Forum: Flowcode V7
- Topic: Supplementary code / definitions and declarations
- Replies: 10
- Views: 7326
Re: Supplementary code / definitions and declarations
You can use the EEPROM component to set the initial values. Or use __EEPROM_DATA (45, 182, 28, 45); in the supplementary code. Thanks; I had the same issue migrating from FC5/6 to FC7. How do I specify which EEPROM location to preset? I don't want to start from loc 0 and sequentially fill the memor...
- Tue Jun 20, 2017 2:57 pm
- Forum: Flowcode V5
- Topic: Conversion rules float to/from unsigned integer
- Replies: 10
- Views: 11673
Re: Conversion rules float to/from unsigned integer
Thanks Ben, that is very helpful. I thought that something like fSomething = fSomethingElse + uiNumber would implicitly convert the ui before doing the operation but it is not consistent. I was not aware of the float2int function. Can I assume there is also an int2float? Is there a list of these fun...
- Tue Jun 20, 2017 9:52 am
- Forum: Flowcode V5
- Topic: Conversion rules float to/from unsigned integer
- Replies: 10
- Views: 11673
Conversion rules float to/from unsigned integer
Hi, My project requires conversion of (unsigned)integer to floating point and back. I've seen some anomalies in equations where I thought the conversion was inplicit but did not give the expected result. I perused the Help file but it only gives rules for floating point operations as such, no conver...
- Wed Aug 24, 2016 11:43 am
- Forum: Flowcode V5
- Topic: programming for HD44780 16x2 OLED?
- Replies: 48
- Views: 41090
Re: programming for HD44780 16x2 OLED?
Have done some more testing on this, with a new Oled display from Winstar. Still the same issue; it only displays the 1st line, nothing on the 2nd, despite me setting the cursor to various Y values. Earlier there were some comments here on the requirement for a different init sequence from the 'regu...
- Thu Apr 14, 2016 2:18 pm
- Forum: Flowcode V5
- Topic: ADC Vref hardware setting
- Replies: 6
- Views: 9184
Re: ADC Vref hardware setting
Clear.
Thanks,
Jan
Thanks,
Jan
- Mon Apr 11, 2016 2:17 pm
- Forum: Flowcode V5
- Topic: programming for HD44780 16x2 OLED?
- Replies: 48
- Views: 41090
Re: programming for HD44780 16x2 OLED?
Any more experiences to share with A/N OLED displays? I am using a 16F886 at 4MHz and a 2x16 OLED (NHD-0216KZW-AG5) and only line one shows anything. The display controller does not hang because that line one can be refreshed and modified normally. It's just as if there is no line two. I deselected ...
- Mon Apr 11, 2016 1:26 pm
- Forum: Flowcode V5
- Topic: ADC Vref hardware setting
- Replies: 6
- Views: 9184
Re: ADC Vref hardware setting
Better late than never - just got around to checking whether the Vref for the ADC works - and it indeed does, thanks again Martin! But as is often the case, one answer brings up another question. In the ADC dialog box there is a field where you can set the Vref voltage per 10mV chunks; for a 5V ref ...
- Wed Feb 24, 2016 9:24 am
- Forum: Flowcode V5
- Topic: programming for HD44780 16x2 OLED?
- Replies: 48
- Views: 41090
Re: programming for HD44780 16x2 OLED?
John which display type did you select from the FC5 library for this?
What clock speed is your system running?
Jan
What clock speed is your system running?
Jan
- Tue Jan 26, 2016 3:01 pm
- Forum: Flowcode V5
- Topic: programming for HD44780 16x2 OLED?
- Replies: 48
- Views: 41090
Re: programming for HD44780 16x2 OLED?
Has this been resolved? I have a piece of gear that works flawlessly with a 2x16 Newhaven LCD but when I replace the display with a Newhaven OLED, supposedly identical controller, I can only display anything on the top line - the 2nd line remains blank. Reading the info here I suspect timing issues,...
- Tue Jan 26, 2016 2:42 pm
- Forum: Flowcode V5
- Topic: ADC Vref hardware setting
- Replies: 6
- Views: 9184
Re: ADC Vref hardware setting
Martin, thank you! I cannot test it right now but will and report if there are other issues - but I trust this will fix it! Jan Hi Jan, I have just looked into why enabling Vref+ within ADC properties (Right click ADC component on the panel and click Ext properties & change Vref option) is not worki...
- Thu Dec 10, 2015 1:09 pm
- Forum: Flowcode V5
- Topic: ADC Vref hardware setting
- Replies: 6
- Views: 9184
Re: ADC Vref hardware setting
Nobody? I should add that when I reset the component property to use Vdd as ref all works as intended.
Jan
Jan
- Tue Dec 08, 2015 4:12 pm
- Forum: Flowcode V5
- Topic: ADC Vref hardware setting
- Replies: 6
- Views: 9184
ADC Vref hardware setting
I searched the forums and though several users had this issue I didn't see a solution for this. I want to use the Vref input pin for the ADC reference (16PIC886). I set the Component properties for the ADC to +Vref. I assume I also need to set up the appropriate input ports, so right after the macro...
- Thu Jan 31, 2013 11:03 am
- Forum: Flowcode V5 Free Edition
- Topic: Simple problems and mistakes
- Replies: 15
- Views: 8672
Re: Simple problems and mistakes
If I move the two asm lines shown above *after* the delay, all goes well and subsequent delays also work as advertised.
Still have no idea why it doesn't work with the register settings at the beginning but it's a useable workaround.
jan
Still have no idea why it doesn't work with the register settings at the beginning but it's a useable workaround.
jan
- Thu Jan 17, 2013 12:41 pm
- Forum: Flowcode V5 Free Edition
- Topic: Simple problems and mistakes
- Replies: 15
- Views: 8672
Re: Simple problems and mistakes
I think I have isolated the problem. At the start of my flowchart I have: asm { // bcf _option_reg, 7 //enable wpup bsf _wpua, 2 //A2 wpu } If I un-comment the first line, the delay statement later on doesn't work and the program never gets out of the delay loop. With this line commented out, all wo...
- Thu Jan 17, 2013 9:28 am
- Forum: Flowcode V5 Free Edition
- Topic: Simple problems and mistakes
- Replies: 15
- Views: 8672
Re: Simple problems and mistakes
Post deleted - wrong info.
jan
jan
- Wed Jan 16, 2013 1:59 pm
- Forum: Flowcode V5 Free Edition
- Topic: Simple problems and mistakes
- Replies: 15
- Views: 8672
Re: Simple problems and mistakes
Re-installed V4 (which doesn't recognise 12HV615 but does the 12F615 and I assumed it is identical as far as internals is concerned sans the shunt reg. Same problem. Goes into the delay and stays there indefinitely. Frustrating! It appears that the original poster and I have in common the 12F6xx chi...
- Wed Jan 16, 2013 11:25 am
- Forum: Flowcode V5 Free Edition
- Topic: Simple problems and mistakes
- Replies: 15
- Views: 8672
Re: Simple problems and mistakes
Hello Jan, Have you done the 1 second flasher test to get your delays correct. My guess is that your delays are appearing wrong because the software clock speed and configuration options do not match the hardware. Ben, thanks for replying. Tried a very basic thing, set two output pins, then delay, ...