Search found 665 matches

by Rudi
Thu Apr 28, 2016 3:14 pm
Forum: Flowcode V6
Topic: HOW CAN I DO AN ARRAY OF VARIABLES 4 bytes
Replies: 12
Views: 13162

Re: HOW CAN I DO AN ARRAY OF VARIABLES 4 bytes

ok, but also need to convert 2 bytes registers Uint format to send it via Modbus, the Modbus send in Hex. I tried several examples in simulation but do not work properly. not sure, whats the problem exact is, so feel free to lookup here onetime: Hex Data Stored BYte Order registers depth.. Each tab...
by Rudi
Wed Apr 27, 2016 8:22 pm
Forum: Flowcode V6
Topic: HiTech C error: system.h not found
Replies: 4
Views: 7318

Re: HiTech C error: system.h not found

hi not sure is this the end solution for yours. in HITECH include folder: - copy sys.h to system.h now you have 2 same files with same defines take this to the HITECH include file too, you will be missing this in next steps. if your chip is not supported you can try this too not sure that all steps ...
by Rudi
Wed Apr 27, 2016 5:46 pm
Forum: Flowcode V6
Topic: Arduino Programming In Flowcode v6
Replies: 116
Views: 231331

Re: Arduino Programming In Flowcode v6

Hi Rudi, Please try the attached updated AVR CAL file Regards, Leigh Hi Leigh txs, runs like a clock work. Leigh, one more question ( not hurry ) the I2C_Cal_Slave component, this does only support the HW Mode? ( 2560 R3 ) if i change in same project ( basis matrixTSL demo project ) to software mod...
by Rudi
Wed Apr 27, 2016 2:40 pm
Forum: Flowcode V6
Topic: HOW CAN I DO AN ARRAY OF VARIABLES 4 bytes
Replies: 12
Views: 13162

Re: how can i do an array of variables 4 bytes

hi

simple change the type from byte to uint for your variable
you can edit the variable type by call the variable manager..
uintArr.png
best wishes
rudi ;-)

edit:
and be sure, your size of array is the same you need for the RegValue
by Rudi
Wed Apr 27, 2016 12:46 pm
Forum: Flowcode V6
Topic: HOW CAN I DO AN ARRAY OF VARIABLES 4 bytes
Replies: 12
Views: 13162

Re: HOW CAN I DO AN ARRAY OF VARIABLES 4 bytes

Good guys days, I need to create an array of variables of 4 bytes. I've never worked with arrays of data, information've searched forum but it is not me how to create the structure. Some partner can help. thank you very much. welcome, please read first by clicking here create a new variable over pr...
by Rudi
Tue Apr 26, 2016 11:09 am
Forum: General Programming
Topic: a general question to I2C Slave mode
Replies: 0
Views: 3212

a general question to I2C Slave mode

hi i try to get a CPU ( ESP8266 ) in I2C Slave mode. my thinking for Slave mode is, that SDA and SCL must be an Input, where SDA can be a output by send Data / ACK so my thinking is, to setup SDA and SCL as "open-drain" in init procedure and set is as input. because SDA, SCL is pulled up the level w...
by Rudi
Tue Apr 26, 2016 10:56 am
Forum: Flowcode V6
Topic: Arduino Programming In Flowcode v6
Replies: 116
Views: 231331

Re: Arduino Programming Atmega 2560 R3

hi have an 2560 R3 as I2S CAL Master in HW Mode with channel mode by 100Khz. i tested by change to customer frequenz samples in 50000 ( 50kHz ) , 10000 ( 10kHz ) and other i tested low frequenz example 1000 ( 1kHz ) , but i get 125 kHz by SCL time 3.958 µs at 500 Hz get SCL 250 kHz :mrgreen: HW_Cust...
by Rudi
Sun Apr 24, 2016 4:54 pm
Forum: Flowcode V6
Topic: HiTech C error: system.h not found
Replies: 4
Views: 7318

Re: HiTech C error: system.h not found

EDIT: for interest only.. do you installed the compiler as PRO or as LITE version? Launching the compiler... HI-TECH C Compiler for PIC10/12/16 MCUs (PRO Mode) V9.83 Copyright (C) 2011 Microchip Technology Inc. Serial number: HCPICP-654321 (PRO) (908) exit status = 1 C:\Program Files\HI-TECH Softwar...
by Rudi
Thu Apr 21, 2016 6:16 am
Forum: Flowcode V6
Topic: have a try: Send Struct Data
Replies: 0
Views: 2710

have a try: Send Struct Data

hi request have try to do this in FC, not the best but think its not to bad, so i share ;-) SendStructs.png a struct is defined in supplementary code and "namdata" was declare in flowchart, there will be a pointer to the struct declared "namdata" and the elementarys by using the pointer ptr->element...
by Rudi
Wed Apr 20, 2016 10:42 am
Forum: General Programming
Topic: [Q]..point in Makro to a Function as Parameter (solved)
Replies: 2
Views: 4109

Re: [Q]..point in Makro to a Function as Parameter (base sol

update

solved
thanks to Leigh,
edit the c code in FCM_helperFunc_X:

Code: Select all

int (*lf) ();
lf = ( unsigned short *) FCL_PADDR;

lf("DODO1\n");
// old
// lf(FCL_SBUFF);
// new
lf(FCL_SBUFF, FCLsz_SBUFF);
best wishes
rudi ;-)
by Rudi
Wed Apr 20, 2016 2:12 am
Forum: Flowcode V6
Topic: Simulation
Replies: 2
Views: 2680

Re: Simulation

Steve001 wrote:Evening

When running simulation how do you add variables to the event viewer box ?

Steve

like this?
varDebug.png
hope this helps
;-)
by Rudi
Wed Apr 20, 2016 1:52 am
Forum: Bug reports
Topic: Strings are cut if more as 10 byte send by * Param [solved]
Replies: 1
Views: 5969

Strings are cut if more as 10 byte send by * Param [solved]

FC 6.1.3.2 (18.02.2016) hi this was my base, and my solution for this. but if i send more as 10 Bytes ( data + \0 ) then the string is cutting. Scuts1.png because the sbuffer is 20 ( sbuff[20] ) i think there can it be a bug in FC. perhabs you can check it, would be fine thank you. best wishes rudi ...
by Rudi
Wed Apr 20, 2016 1:51 am
Forum: General Programming
Topic: [Q]..point in Makro to a Function as Parameter (solved)
Replies: 2
Views: 4109

Re: [Q] How to point in Makro to a Function as Parameter

hi, i have tested this: supplementary code: // Define a pointer for FCM's int (*f) (); in the main use c code: // f is then pointer adress of FCM_f1 // FCM_f1 is a Flowcode Makro named f1 f = &FCM_f1; // FCV_ADDRESS = &FCM_f1; // create a lokal ( unsigned short ) variable (uint ) // and get the poin...
by Rudi
Mon Apr 18, 2016 10:51 pm
Forum: General Programming
Topic: [Q]..point in Makro to a Function as Parameter (solved)
Replies: 2
Views: 4109

[Q]..point in Makro to a Function as Parameter (solved)

edit: like this (1) or this (2) Hi just at time i puzzle with a simple doing, perhabs i no longer see the tree in the forest i have a c code function like this with a named FCM_XYZ as parameter void myFunction (FCM_XYZ, 0 ) { // do somthing } how must i create a new makro, i i want to be free with n...
by Rudi
Sun Apr 17, 2016 10:10 pm
Forum: Deutsch Support-Forum
Topic: PICmicro multiprogrammer EB006V9
Replies: 17
Views: 20719

Re: PICmicro multiprogrammer EB006V9

Hi Thomas, kann beim besten Willen nicht feststellen, warum es nicht bei dir läuft. Ich kann mich erinnern, ich hatte ein Problem bei WIN7/64 - da lief das nicht gleich. Mein Fehler war, das ich wegen Cygwin die gross/kleinschreibung aktiviert habe. Das hatte ich dann wieder zurückgestellt, nach ein...
by Rudi
Sun Apr 17, 2016 9:52 pm
Forum: Flowcode V6
Topic: [parts solved] PIC18F2550 I2C Master/Slave and I2C CAL Prob
Replies: 5
Views: 4479

Re: [parts solved] PIC18F2550 I2C Master/Slave and I2C CAL P

update: i do not understand the slave procedure with pic18F2550. if i use the pic as slave, then i must change the WHILE (Last=0) to WHILE (Last=1) otherwise the MASTER is waiting for the SLAVE ( or Slave hangs ) can it be a second or third reason for this? have someone a pic18F2550 and can test thi...
by Rudi
Fri Apr 15, 2016 10:42 am
Forum: Feature requests
Topic: change Icon Picture by selection / colored comments
Replies: 0
Views: 5146

change Icon Picture by selection / colored comments

hi know we can change the icon pictures. my Feature request is the next generation: "independent of other" change a selected icon to a user picture change comments with color properties reason: we can study the flowchart better, we can do "debug comments / debug message" in colored Text also we can ...
by Rudi
Fri Apr 15, 2016 1:04 am
Forum: Flowcode V6
Topic: [parts solved] PIC18F2550 I2C Master/Slave and I2C CAL Prob
Replies: 5
Views: 4479

Re: PIC18F2550 I2C Master/Slave and I2C CAL Problem

fast update, think can solve this..: do debug just in time and get more infos now. debug1.jpg I2C Slave ( Pic18F2550 ) found the 3 problem's why is not run. - problem one was: PortB.0 and PortB.1 are SDA, SCL and there was on one test hardware for LED a 1k Ohm Pull Down first change was then, the Pu...
by Rudi
Tue Apr 12, 2016 10:45 am
Forum: Deutsch Support-Forum
Topic: PICmicro multiprogrammer EB006V9
Replies: 17
Views: 20719

Re: PICmicro multiprogrammer EB006V9

@all talk about first time in thomas language and after possible solution then there is here a english "Summary for all". Hi Thomas, danke. -mLoader Version 3.3.0.9 -Treiberversion 1.0.0.5 Treiberdatum 06.01.2015 für multiprogrammer EB006V9 -Flowcode V6.1.3.2 (18.02.2016) Professional-Version ( PIC/...
by Rudi
Mon Apr 11, 2016 4:35 pm
Forum: Deutsch Support-Forum
Topic: PICmicro multiprogrammer EB006V9
Replies: 17
Views: 20719

Re: PICmicro multiprogrammer EB006V9

Hi Thomas kurze Daten: du hast.. - windows 10/64 bit - multiprogrammer EB006V9 wird im Gerätemanager "richtig" erkannt und angezeigt - der mloader findet jedoch den bootloader seit Umstellung/Neuinstallation Win 10/64 nicht mehr Könntest du versuchen über den Gerätemanager mit Rechtsklick auf den mu...
by Rudi
Mon Apr 11, 2016 4:15 pm
Forum: Flowcode V6
Topic: [parts solved] PIC18F2550 I2C Master/Slave and I2C CAL Prob
Replies: 5
Views: 4479

Re: PIC18F2550 I2C Master/Slave and I2C CAL Problem

Hi Rudi, Your programs certainly look ok and your configuration setup also seems to be correct. Are you saying that just the Slave doesn't work on the 18F2550 or do both the master and slave have problems? I'll investigate and see if I can work out why this would be failing on this device. hi benj ...
by Rudi
Sun Apr 10, 2016 12:22 pm
Forum: Other products
Topic: nice price : Pro Mini Module Atmega168 5V 16M For Arduino
Replies: 3
Views: 11154

Re: nice price : Pro Mini Module Atmega168 5V 16M For Arduin

update
eerie USD 1.25 !
2016-april-10.JPG
crazy price policy
best wishes
rudi ;-)
by Rudi
Sat Apr 09, 2016 12:30 pm
Forum: Feature requests
Topic: V-USB Support Icon ;-)
Replies: 0
Views: 5532

V-USB Support Icon ;-)

hi perhabs you know about this library, v-usb lib can help us in many usb projects perhabs. have a try here <"recursion" LINK REMOVED>. nice projects! - cdc232 - cdc-io - cdc-spi - .. midi is possible too , so think we can have a solution on "old" boostC? ;-) best wishes rudi ;-) edit: gnusb Midignu...
by Rudi
Fri Apr 08, 2016 11:02 pm
Forum: Flowcode V6
Topic: [parts solved] PIC18F2550 I2C Master/Slave and I2C CAL Prob
Replies: 5
Views: 4479

Re: PIC18F2550 I2C Master/Slave and I2C CAL Problem

PIC18F2550
simple software mode I2C Master
attached
by Rudi
Fri Apr 08, 2016 11:01 pm
Forum: Flowcode V6
Topic: [parts solved] PIC18F2550 I2C Master/Slave and I2C CAL Prob
Replies: 5
Views: 4479

[parts solved] PIC18F2550 I2C Master/Slave and I2C CAL Prob

FC 6.1.3.2 (18.02.2016) Hi attached are I2C Cal Master and I2C Cal Slave example with Arduino Mega 2560 R3. run for me with I2C Cal Master and Slave, with Hardware Mode. Pic18F2550 as Slave with I2C Cal Slave in HW Mode, do not run. Same in I2C Cal Slave Software Mode. One simple PIC18F2550 Example ...