Search found 101 matches

by kennethnilsen69
Mon Dec 19, 2016 2:01 pm
Forum: Flowcode V6
Topic: Calculatino problems
Replies: 3
Views: 4061

Calculatino problems

I have a calculation I did not get. Var 1 = 1 (Byte) Var 2 = 144 (Byte) Var3 is Int calculation is: Var3 = (Var2 / 400) + (Var1 * 100 * 400 * 0.0016) This should be 1 but I get 0 then I think that the problem is maybe decimals. so I try: Var3 = ((Var2 * 100/400) + (Var1 * 100 * 400 * 0.0016)) / 100 ...
by kennethnilsen69
Thu Dec 15, 2016 2:49 pm
Forum: Flowcode V6
Topic: CAN-bus reading buffer Data problems
Replies: 9
Views: 8288

Re: CAN-bus reading buffer Data problems

LeighM wrote:Thanks for your work on this, I've now found and fixed the bug.
Updated CAN component attached.
Please replace the CAN component found in your Flowcode6\components directory.
Thanks so much LeighM. It is much better now :-)


Kenneth
by kennethnilsen69
Wed Dec 14, 2016 9:50 pm
Forum: Flowcode V6
Topic: CAN-bus reading buffer Data problems
Replies: 9
Views: 8288

Re: CAN-bus reading buffer Data problems

I tested just with an EB018 E-blocks CAN bus board which I had lying in a drawer.
I get the same problem with it
by kennethnilsen69
Wed Dec 14, 2016 4:33 pm
Forum: Flowcode V6
Topic: CAN-bus reading buffer Data problems
Replies: 9
Views: 8288

Re: CAN-bus reading buffer Data problems

Here are pictures of the chips
by kennethnilsen69
Wed Dec 14, 2016 4:17 pm
Forum: Flowcode V6
Topic: CAN-bus reading buffer Data problems
Replies: 9
Views: 8288

Re: CAN-bus reading buffer Data problems

Sorry I forgot to say that I of course have switched to 20Mhz crystal on my unit. if it has a genuine Microchip or not I do not know. is there any way I can confirm that? Hi, Yes, I've checked our component code and I cannot see any problems, the MCP2515 should not be updating the receive buffer wit...
by kennethnilsen69
Wed Dec 14, 2016 11:50 am
Forum: Flowcode V6
Topic: CAN-bus reading buffer Data problems
Replies: 9
Views: 8288

Re: CAN-bus reading buffer Data problems

Hi LeighM and thank you for your answers :-) But it reads the data buffer before it sends it so it should anyway have the right data for right ID to send when it has time to send it. it might not have time to read all the data but the data it reads should be correct. I'm not so worried that it does ...
by kennethnilsen69
Wed Dec 14, 2016 2:39 am
Forum: Flowcode V6
Topic: CAN-bus reading buffer Data problems
Replies: 9
Views: 8288

CAN-bus reading buffer Data problems

I have problems with message data comes in the wrong ID message. I'll create a program that sniffing a CAN-bus and sends all received messages out via RS232 port. I am sending 6 CAN messages from my PC and when I send all message with 300ms cycle time then it reads the data buffer properly. in my ex...
by kennethnilsen69
Tue Dec 06, 2016 8:39 pm
Forum: Flowcode V6
Topic: Winstar and RayStar OLED 2004A whit WS0010 controller
Replies: 4
Views: 5865

Re: Winstar and RayStar OLED 2004A whit WS0010 controller

yes Benj you are the king :-). The table worked perfectly on Adafurit components. Moving corsor in X and not Y worked perfectly. :-) I have a small isju with these: every time I send the program over to the Arduino I must disconnect the power completely on it. Otherwise the display will not work pro...
by kennethnilsen69
Tue Dec 06, 2016 1:36 pm
Forum: Flowcode V6
Topic: Winstar and RayStar OLED 2004A whit WS0010 controller
Replies: 4
Views: 5865

Re: Winstar and RayStar OLED 2004A whit WS0010 controller

Is there no one who knows anything about this?

Thanks

Kenneth
by kennethnilsen69
Thu Dec 01, 2016 12:21 pm
Forum: Flowcode V6
Topic: Winstar and RayStar OLED 2004A whit WS0010 controller
Replies: 4
Views: 5865

Winstar and RayStar OLED 2004A whit WS0010 controller

Hi I have some trouble getting text on more than 2 lines on these 4x20 OLED screens. on both Winstar and RayStar 4x20 displays whit WS0010 controller. If I use LCD 4x20 (Adafruit, OLED) component I get the following error: Line 1 comes on line 1 (as it should) Line 2 coming on line 2 (as it should) ...
by kennethnilsen69
Tue Oct 04, 2016 5:15 pm
Forum: Flowcode V6
Topic: LCD (i2c) component. is this possible?
Replies: 5
Views: 6073

Re: LCD (i2c) component. is this possible?

Thanks Benj :-) this worked perfectly :-) Hello, I have looked at the component source, there is a SetI2CAddress macro but it had not been exposed in the component. So I have now exposed the macro for you and you should be able to access it by copying the file below to your "Flowcode 6/Components" f...
by kennethnilsen69
Thu Sep 29, 2016 7:43 pm
Forum: Flowcode V6
Topic: LCD (i2c) component. is this possible?
Replies: 5
Views: 6073

LCD (i2c) component. is this possible?

I'll try to explain what I want. at the start of the program I want to auto search for i2s address and store the result in EEprom. So far all good. (here I have lcd_I2C1 as a dummy to be able to find a addreses). Here comes the problem. I now want to start the lcd_I2C2 component with LCD Address fro...
by kennethnilsen69
Mon Jul 18, 2016 8:08 am
Forum: Flowcode V6
Topic: lcd_i2c component
Replies: 1
Views: 2668

lcd_i2c component

Hi I need to change I2C address and will then get this from a variable. the reason is that my I2C chips do not always have the same address as I will then make a autosearch for the address and store it in a variable so that I then can use it lcd_I2C address. autosearch part I get but I am unable to ...
by kennethnilsen69
Thu Jun 23, 2016 4:18 pm
Forum: Flowcode V6
Topic: Can I use 20*4 OLED WEH002004A/B with FC6?
Replies: 2
Views: 2524

Re: Can I use 20*4 OLED WEH002004A/B with FC6?

Thanks Benj :-) then I shall I order a pair for testing :-)))
by kennethnilsen69
Thu Jun 16, 2016 11:29 pm
Forum: Bug reports
Topic: FlowCode 6.1.3.2 freezes often when I start up Flowcode
Replies: 11
Views: 11693

Re: FlowCode 6.1.3.2 freezes often when I start up Flowcode

When you get the freeze I suggest you run Windows Task Manager to see which process is using most resources. I’ve known Windows Defender to cause issues on Windows 10 I have no abnormal high processes running when this happens https://dl.dropboxusercontent.com/u/20952570/Flowcode/Problem/Skjermbild...
by kennethnilsen69
Wed Jun 15, 2016 5:24 pm
Forum: Bug reports
Topic: FlowCode 6.1.3.2 freezes often when I start up Flowcode
Replies: 11
Views: 11693

Re: FlowCode 6.1.3.2 freezes often when I start up Flowcode

I'm sorry but my problem has now come back again :-( any suggestions on what I can do to fix this it was absolutely fine for about 2 months after I upgraded windows to Pro it is incredibly annoying and I have to restart the computer several times a days I think it may have been something I have inst...
by kennethnilsen69
Thu Apr 28, 2016 12:54 am
Forum: Flowcode V6
Topic: Extend range for the MFRC522 RFID Reader
Replies: 1
Views: 3559

Re: Extend range for the MFRC522 RFID Reader

Nobody knows anything about this?
by kennethnilsen69
Fri Apr 22, 2016 6:51 am
Forum: Bug reports
Topic: FlowCode 6.1.3.2 freezes often when I start up Flowcode
Replies: 11
Views: 11693

Re: FlowCode 6.1.3.2 freezes often when I start up Flowcode

The problem is solved :-) upgrading to Win 10 Pro fixed the error that was in windows and not FlowCode :-)
by kennethnilsen69
Thu Apr 21, 2016 6:14 pm
Forum: Bug reports
Topic: FlowCode 6.1.3.2 freezes often when I start up Flowcode
Replies: 11
Views: 11693

Re: FlowCode 6.1.3.2 freezes often when I start up Flowcode

Thanks Steve, I suspect it is my PC that is the problem. I have another windows10 Home pc that does not have this problem. I have now upgraded the one who has problems from Win10 Home to Win10 Pro just to see if that helps. Next step for me to try a clean installation of Win 10 Pro but hope that I d...
by kennethnilsen69
Thu Apr 21, 2016 1:48 pm
Forum: Bug reports
Topic: FlowCode 6.1.3.2 freezes often when I start up Flowcode
Replies: 11
Views: 11693

Re: FlowCode 6.1.3.2 freezes often when I start up Flowcode

Hello. I've running that version regularly on my Win10 PC and I've not seen this problem, so I wonder if there is something specific to your project that is causing this slowdown. Could you please PM me with some of your project files and I will see if I have a similar issue with them. Regards, Ste...
by kennethnilsen69
Thu Apr 21, 2016 1:46 pm
Forum: Bug reports
Topic: FlowCode 6.1.3.2 freezes often when I start up Flowcode
Replies: 11
Views: 11693

Re: FlowCode 6.1.3.2 freezes often when I start up Flowcode

I use only Microsoft's firewall and the defender. possible this is a windows problem because when this happens then it also happens sometimes that some of the other programs that are open freeze well. But the error occurs always when I start a project in flowcode. Another symptom is that the flow co...
by kennethnilsen69
Wed Apr 20, 2016 10:17 pm
Forum: Bug reports
Topic: FlowCode 6.1.3.2 freezes often when I start up Flowcode
Replies: 11
Views: 11693

FlowCode 6.1.3.2 freezes often when I start up Flowcode

This started about 1 to 2 weeks ago and happens today several times a day. When this happens I have to reboot the pc to quit Flow Code. I can not terminate flow code with Ctrl-Alt-Delete. I need to reboot and then it will be ok again for a little while. I have tried to reinstall Flowcode but this di...
by kennethnilsen69
Thu Apr 14, 2016 11:10 pm
Forum: Flowcode V6
Topic: Extend range for the MFRC522 RFID Reader
Replies: 1
Views: 3559

Extend range for the MFRC522 RFID Reader

there's one thing I miss, and it is to raise RFCfgReg up to 48dB as that they can do in Arduino library to Extend range for the MFRC522 RFID Reader. Is this possible to achieve here in flowcode?
http://forum.arduino.cc/index.php?topic=199983.0

Thanks :-)

Kenneth
by kennethnilsen69
Thu Apr 14, 2016 1:34 am
Forum: Feature requests
Topic: Mifare RC522 RFID
Replies: 72
Views: 96184

Re: Mifare RC522 RFID

Hello, Right I have added STibor's changes to the component, also added the dynamic SPI layer to the component and exported so we have something much more like a finished polished component now. RFID_MFRC522.fcpx Update the component by copying the file above into your "Flowcode 6/Components" direc...