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

BASCOM-AVR : This is a compiler bug?($ crystal) : NEWTOPIC

$
0
0
[code:1:2045db8b7f] $ regfile = "m128def.dat" 'declare controller $ crystal = 18432000 '18,432 MHz crystal oscillator '$ crystal = 16000000' 16,0 MHz crystal oscillator '$ crystal = 14745600' 14,7456 MHz crystal oscillator                       'Set RC5 (timer 1) '************************************************* ************************************** Config Timer1 = Timer, Prescale = 1 Config Rc5 = Pind.4, Timer = 1, Wait = 2000, Mode = Background [/code:1:2045db8b7f] Here's a piece of software. With a frequency of 18432000 everything compiles (and works in a full program), and with 16 and 14,7456 gives an error - Error: 96 Prescale value must be 1,8,64,256 or 1024 ... This is a compiler bug? [b:2045db8b7f][color=red:2045db8b7f](BASCOM-AVR version : 2.0.7.6 )[/b:2045db8b7f][/color:2045db8b7f]

Viewing all articles
Browse latest Browse all 20562

Trending Articles



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