Calculation for Hex to Number

Post here to discuss any new features, components, chips, etc, that you would like to see in Flowcode.
Post Reply
flowcode-developer
Posts: 37
http://meble-kuchenne.info.pl
Joined: Thu Feb 02, 2023 9:32 pm
Has thanked: 19 times
Been thanked: 3 times

Calculation for Hex to Number

Post by flowcode-developer »

Hi,
A request I would like to make is a HEXTONUMBER() in the calculation f$ options.

BenR
Matrix Staff
Posts: 1739
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 440 times
Been thanked: 603 times

Re: Calculation for Hex to Number

Post by BenR »

Hello,

Thats a good suggestion thanks.

This video may help in the mean time to allow you to do the conversion yourself.
https://www.youtube.com/watch?v=gavpYt-SqcY

RGV250
Posts: 264
Joined: Sat Mar 19, 2022 4:53 pm
Has thanked: 23 times
Been thanked: 30 times

Re: Calculation for Hex to Number

Post by RGV250 »

Hi,
I do not like looking at youtube videos as I find them difficult to follow, normally the text or detail on the screen. I found this somewhere on the website which converts a hex string from a serial port to an integer. I have stripped all the other code out so it may not compile but it should give you enough to use it.
RPI_HexStringToInt.fcfx
(22.58 KiB) Downloaded 46 times
Regards,
Bob

Post Reply