I have a variable with a range from 000 to 990.
How can I identify specific numbers like:
x20
x45
x70
x95
x can be from 0 to 9
I don't see a quick and simple way of doing this.
I have a variable with a range from 000 to 990.
How can I identify specific numbers like:
x20
x45
x70
x95
x can be from 0 to 9
I don't see a quick and simple way of doing this.
My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.
Not as dumb as yesterday, but stupider than tomorrow!
SOLVED: Confirmed
(it's been a while since I've coded and it shows - obvious things don't jump out at me any moreCode:COM_KHz_Remainder = COM_KHz_Counter // 100)
I think Melanie is showing me the way:
https://www.picbasic.co.uk/forum/sho...=9768#post9768
divide by 100
keep the remainder
My mind is mush, I have to test it to be sure.
Last edited by Demon; - 25th August 2024 at 04:38.
My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.
Not as dumb as yesterday, but stupider than tomorrow!
Bookmarks