Quantcast
Channel: MCS Electronics Forum
Viewing all articles
Browse latest Browse all 20578

BASCOM-AVR : using If statement with And statement : REPLY

$
0
0
Hello Walter I like select case for this sort of thing it can be faster with less code in flash and is easy to add more tests to but it works a bit backwards you also add one to your reading so at the setting its going to be true. [code:1:c962d55b33] select case Pressure5 case is >Maxpress 'you can set a fail safe case is > Phigh case is > Plow case else 'here it will be below Plow end select [/code:1:c962d55b33] Regards Paul

Viewing all articles
Browse latest Browse all 20578

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>