basic question

Status
Not open for further replies.
sure but you may need to tell it it's a hex but seeing I don't no what your using C or basic or assembly and endc so it maybe like this (vin> $FA) binary (vin>%11111010) that swordfish basic I'm sure c Is some what the same
 
Dear all,sorry for this stupid question

Can I write if(vin> 0xFA ) instead of if(vin>250)

If you're using C or another language which uses the 0x prefix to indicate a hexadecimal number, then yes.


Torben
 
Last edited:
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…