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

BASCOM-8051 : BASCOM 8051 compatibility : REPLY

$
0
0
Together with Andy we got it working. With the attached DAT-file, and the two pictures from the datasheet. [code:1:b3067dee95]$crystal = 24500000 $regfile = "8051F930.DAT" OSCICN = OSCICN OR &H80 'Enable the precision internal osc. RSTSRC = &H06 'Enable missing clock detector and leave VDD Monitor enabled. CLKSEL = &H00 'Select precision internal osc & divided by 1 as the system clock PCA0MD = &B00000000 P2MDOUT = &H00 XBR2 = &H40 do WAITMS 200 P2 = &B11110100 WAITMS 200 P2 = &B11111111 loop End [/code:1:b3067dee95]

Viewing all articles
Browse latest Browse all 20562

Trending Articles



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