Search found 428 matches
- Fri Jan 05, 2018 9:38 am
- Forum: Bug reports
- Topic: First LCD digit is shaded
- Replies: 10
- Views: 5824
Re: First LCD digit is shaded
Thanks Giuseppe You are right about other missing details. The current version of FlowCode is 7.3.0.5 Professional and just now i installed the patch to v7.3 but the problem remains. The graphics card is ASUS HD-6670 with 1GB-GDDR5. The PC is running Win7x64-Pro, CPU is i3 at 3.3GHz, RAM 8GB, SSD 12...
- Thu Jan 04, 2018 5:36 pm
- Forum: Bug reports
- Topic: First LCD digit is shaded
- Replies: 10
- Views: 5824
Re: First LCD digit is shaded
Sure, here the project:LeighM wrote:Hi, Would it be possible for you to post your project file? (*.fcfx)
Thanks!
- Thu Jan 04, 2018 11:49 am
- Forum: Bug reports
- Topic: First LCD digit is shaded
- Replies: 10
- Views: 5824
First LCD digit is shaded
Happy 2018
In the simulation, the first digit of LCD display is always shaded and this applies to all types. However in actual LCD there is not this problem, all digits are printed correctly.
Where is the problem?
Thanks
In the simulation, the first digit of LCD display is always shaded and this applies to all types. However in actual LCD there is not this problem, all digits are printed correctly.
Where is the problem?
Thanks
- Mon Jan 01, 2018 9:26 pm
- Forum: General Programming
- Topic: Float to string convertion?
- Replies: 8
- Views: 5374
Re: Float to string convertion?
Why i thought TMR1? Because the load will vary. For example, it will start from 4KW and gradually will drop to 0.5KW. A 4KW load will consume 4000/3600=1.1111W per second or 1/1.1111=0.9 i.e. 1W per 0.9sec. Now we have to change the offset so as TMR1 will overflow each 0.9sec. So, 65535*0.9=58981.5 ...
- Mon Jan 01, 2018 7:24 pm
- Forum: General Programming
- Topic: Float to string convertion?
- Replies: 8
- Views: 5374
Re: Float to string convertion?
Happy 2018 :D Now i have to implement an electric energy consumption counter in KWh, similar to this installed in our home by the electric company which can count up to 99999.9 KWh and then rolls over to 00000.0. It increments by 0.1KWh. Let's make some calculations: A 3600W load connected for 1 hou...
- Sun Dec 31, 2017 10:40 pm
- Forum: General Programming
- Topic: Float to string convertion?
- Replies: 8
- Views: 5374
Re: Float to string convertion?
And yes, it works on actual hardware
- Sun Dec 31, 2017 8:46 pm
- Forum: General Programming
- Topic: Float to string convertion?
- Replies: 8
- Views: 5374
Re: Float to string convertion?
OK, i found the way to discard the fraction part of voltage and power, and to have only one fraction digit for current indication:
It remains to verify on actual hardware.
Many thanks again
Code: Select all
Str1 = FloatToString$ (f1,0)
Code: Select all
Str2 = FloatToString$ (f2,1)
Code: Select all
f3 = f1 * f2
Str3 = FloatToString$ (f3,0)
Many thanks again
- Sun Dec 31, 2017 7:30 pm
- Forum: General Programming
- Topic: Float to string convertion?
- Replies: 8
- Views: 5374
Re: Float to string convertion?
Hi Christina Yes, you got me. For mains voltage reading (230Vac nominal) actually i need only the integer part for the LCD, the fractional part will be discarded. For current reading i need the fractional part for LCD but up to 1 digit, e.g. if is 12.43 i only need 12.4. For Power indication i need ...
- Sun Dec 31, 2017 11:20 am
- Forum: General Programming
- Topic: Float to string convertion?
- Replies: 8
- Views: 5374
Float to string convertion?
Hi How could we convert a non-integer (float) with 1 or 2 digits in fractional part to string? What i need is to print e.g. the number 17.4 or 17.45 on the LCD. This process is included in the ADC component, e.g. you could select "ReadAsString" and the non-integer value will be printed with two frac...
- Fri Dec 15, 2017 9:45 am
- Forum: Flowcode V7
- Topic: Simple routine for a rotary encoder
- Replies: 6
- Views: 4491
Re: Simple routine for a rotary encoder
Hi Graham The attached fcf simulates the operation of a detent equiped encoder. Is this: http://uk.farnell.com/alps/ec11e18244a5/encoder-vertical-11mm-36det-18ppr/dp/2064993?ost=2064993&iscrfnonsku=false&ddkey=http%3Aen-GB%2FElement14_United_Kingdom%2Fsearch This type is more complex compared to non...
- Thu Dec 14, 2017 8:49 pm
- Forum: General Programming
- Topic: I2C slave address mask
- Replies: 1
- Views: 3408
I2C slave address mask
Hi I will setup a PIC as slave in I2C bus with a 7 bit ID. I came across the Microchip datasheet and from what i understood, for a slave to respond in a unique ID all bits in Slave Address Mask register must be set to 1? E.g. if i want the slave to respond only in device address (or ID) 0x30, the Ad...
- Tue Dec 12, 2017 9:55 am
- Forum: General Programming
- Topic: P18F47J53 is not supported by EB006?
- Replies: 1
- Views: 1980
P18F47J53 is not supported by EB006?
Hi I came across EB006 programmer datasheet and in the list of supported devices the familly of P18F26-27-46-47J53 is not included. Why this? Within FCv5 and FCv7 are included in the target device list. Is simply an issue of the package as all are SMT type? In this case the ICSP header could be used...
- Sun May 22, 2016 10:45 am
- Forum: Electronics products
- Topic: Remotely Controlled Motorized Volume Pot.
- Replies: 25
- Views: 53392
Re: Remotely Controlled Motorized Volume Pot.
Thank you Steve. Regarding myself there is no problem. I'm not so willing to get into a debate with Parts Connexion. I haven't neither time nor the physical strength for it as i suffer from CAD (coronary artery disease). On the other hand, such actions should be mentioned and denounced as insulting ...
- Sun May 22, 2016 8:05 am
- Forum: Electronics products
- Topic: Remotely Controlled Motorized Volume Pot.
- Replies: 25
- Views: 53392
Passible copy of SW and HW for commercial use
Hello to all Two days ago, i discovered that the code is probably used for commercial purposes by a company which sells an identical kit like the project of this thread. Here the link http://www.partsconnexion.com/kits_remote.html The instructions in the user manual of this kit regarding the initial...
- Thu Sep 24, 2015 6:00 pm
- Forum: Electronics products
- Topic: Remote Control Handset "1"
- Replies: 11
- Views: 27220
Re: Remote Control Handset "1"
Thanks for your reply! In the mean time, I manage to alter your original flowchart with RC5 component and its working ok! Hi! I want to make a remote control with 6 buttons and I chose pic16F1828 too but my program doesn't run! I post my fcf file and please, when you have time, to correct my code. ...
- Tue Nov 25, 2014 8:53 am
- Forum: Electronics products
- Topic: Remote Control Handset "1"
- Replies: 11
- Views: 27220
Re: Remote Control Handset "1"
Hi there! I want to make a remote control with 10 buttons. For this, I chose pic16F1828 because that has 10 IOC. All well and good, but I can not manage to alter your code for my needs ... I post my altered version for the 16F1828 and please, when you have time, to correct my code. Regards, Puiu! H...
- Sat Nov 23, 2013 12:43 pm
- Forum: Flowcode V5
- Topic: RC5 compo problem on P18F4520
- Replies: 10
- Views: 11575
Re: RC5 compo problem on P18F4520
Jan i think you need a fully RC5 compatible remote control handset. It is not only the period, it is also the transmition protocol structure. An RC5 transmiter transmits: 2 start bits for AGC of receiver, 1 toggle bit, 5 address bits and 6 command bits. There are enough compatible handsets on e-bay ...
- Fri Nov 08, 2013 12:57 am
- Forum: Flowcode V5
- Topic: Producing PWM with 15msec period
- Replies: 3
- Views: 3316
Re: Producing PWM with 15msec period
Hi Ben My intention is to produce 3 individually activated pulses to drive 3 relays. Using 3 TMR interrupts to this could cause side effects. So i did some calculations to use 3 of the 5 CCP modules provided by P16F1939. The coil of relay must be powered for the less possible time so as to consume t...
- Thu Nov 07, 2013 1:19 pm
- Forum: Flowcode V5
- Topic: LCD 16X1 problem
- Replies: 9
- Views: 10055
Re: LCD 16X1 problem
It works.brandonb wrote:try this... use it as a 1x16 that is addresses 0-16 for cursor
Thanks fellow from hot Arizona!
- Thu Nov 07, 2013 1:17 pm
- Forum: Flowcode V5
- Topic: Producing PWM with 15msec period
- Replies: 3
- Views: 3316
Producing PWM with 15msec period
Hi I use a P16F1939 with Fosc=4MHz (internal module). I do like to configure three CCP outputs of it (it offers up to 5) to produce 3 PWM (or pulse streams) with period=15msec and duty cycle=33% (or ON=5msec and OFF=10msec). Using the PWM component provided by FlowCode i can obtain a max period=4mse...
- Sun Oct 20, 2013 5:05 pm
- Forum: Flowcode V5
- Topic: LCD 16X1 problem
- Replies: 9
- Views: 10055
Re: LCD 16X1 problem
OK fellow, since you persist on it, here is the - incomplete - fcf till now.brandonb wrote:fotio's post your flowchart and i'll change the code to make it work for you
- Sun Oct 20, 2013 8:59 am
- Forum: Flowcode V5
- Topic: LCD 16X1 problem
- Replies: 9
- Views: 10055
Re: LCD 16X1 problem
My LCD is 16X1. Here a picture how it prints in 8X2 configuration. Attached is the datasheet.
- Fri Oct 18, 2013 6:47 am
- Forum: Flowcode V5
- Topic: LCD 16X1 problem
- Replies: 9
- Views: 10055
Re: LCD 16X1 problem
Yes, i tried the 16X2 configuration but again the same problem, only first 8 characters are printed.Spanish_dude wrote:Have you tried just keeping the configuration at 16x2 and only writing on the first line ?
Thanks friend by anyway.
- Wed Oct 16, 2013 6:04 pm
- Forum: Flowcode V5
- Topic: LCD 16X1 problem
- Replies: 9
- Views: 10055
LCD 16X1 problem
Hello I bought two 16X1 LCDs, one cheap from e-bay and one expensive MIDAS with large characters from Farnell UK, both compatible with Hitachi HD44780 controller. If are configured in FlowCode as 16X1 only the first 8 characters are printed. If are configured as 8X2 then with proper calculation of c...
- Tue Oct 15, 2013 7:08 am
- Forum: Flowcode V5 Issues
- Topic: P16F1937 port RA.6 config. as general I/O issue
- Replies: 2
- Views: 6724
Re: P16F1937 port RA.6 config. as general I/O issue
Yes, you are right. PPP i use is the latest version, simply i didn't noticed the "Clock Out Enable bit" on config table.
Thanks by any way.
Thanks by any way.