CAL: SPI Transaction

For general Flowcode discussion that does not belong in the other sections.
Post Reply
chipfryer27
Valued Contributor
Posts: 1685
http://meble-kuchenne.info.pl
Joined: Thu Dec 03, 2020 10:57 am
Has thanked: 374 times
Been thanked: 583 times

Flowcode v10 CAL: SPI Transaction

Post by chipfryer27 »

Hi

Not sure if a bug or me being stupid (my money is on the latter).

Using the CAL:SPI component I have an option for Master_Transaction.

It has parameters for Buffer and Length however irrespective of what / how / type I try and enter a variable/value for buffer I always get an error.

Capture.JPG
Capture.JPG (46.6 KiB) Viewed 1853 times

What is it expecting to see? I've tried bytes / integers / unsigned integers / arrays etc but still the same error. The above is just an example of the error.

Regards

mnfisher
Valued Contributor
Posts: 1630
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 142 times
Been thanked: 761 times

Re: CAL: SPI Transaction

Post by mnfisher »

Doesn't need the brackets and size for buffer....
If does need to be an array of bytes though.

Martin

chipfryer27
Valued Contributor
Posts: 1685
Joined: Thu Dec 03, 2020 10:57 am
Has thanked: 374 times
Been thanked: 583 times

Re: CAL: SPI Transaction

Post by chipfryer27 »

Thanks Martin
I guess the brackets in the "Type" threw me (or at least I'm sticking to that excuse <s>)

Regards

Post Reply