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

Share your working BASCOM-AVR code here : RHT03 (DHT22) Sensor : REPLY

$
0
0
thanks for sharing Alan. One remark : i see cbi/sbi which will work fine but you can best use SET/RESET or just PORTX.y= 1|0 , bascom will make exact the same cbi/sbi instructions. The advantage : when you change processor and it does not have these ports at the low address , cbi/sbi will not work. bascom will create the proper code in that case. so for better portability between chips it is best to use basic instead of asm.

Viewing all articles
Browse latest Browse all 20562

Trending Articles



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