Evening all,
is there a command / macro to convert hex to integer in v9 ?
Steve
convert hex to integer { Solved}
-
- Valued Contributor
- Posts: 185
- http://meble-kuchenne.info.pl
- Joined: Wed Jan 13, 2021 7:15 pm
- Has thanked: 81 times
- Been thanked: 30 times
-
- Valued Contributor
- Posts: 997
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 190 times
- Been thanked: 217 times
Re: convert hex to integer
Hi Steve
I'm not sure if you ask this.
your_variable = 0x4C
regards
Stefan
I'm not sure if you ask this.
your_variable = 0x4C
regards
Stefan
-
- Valued Contributor
- Posts: 997
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 190 times
- Been thanked: 217 times
Re: convert hex to integer
Hi Steve
You mean you receive 2 ascii char like 4C and convert it in an integer like 76?
You mean you receive 2 ascii char like 4C and convert it in an integer like 76?
-
- Valued Contributor
- Posts: 185
- Joined: Wed Jan 13, 2021 7:15 pm
- Has thanked: 81 times
- Been thanked: 30 times
Re: convert hex to integer { Solved }
Was getting confused - old age setting in
i was looking at the debugger console following my results (didn't see the box ticked show integers as hex until after)
and also putting a 7 seg display on the 2D panel confirmed everything is correct.
I wont say how long i have wasted trying to sort that out
Steve
i was looking at the debugger console following my results (didn't see the box ticked show integers as hex until after)
and also putting a 7 seg display on the 2D panel confirmed everything is correct.
I wont say how long i have wasted trying to sort that out

Steve
- Attachments
-
- Capture - Copy.JPG (62.81 KiB) Viewed 4339 times