Posted: Sat Mar 19, 2022 11:15 pm Post subject: AtMega32u2 vs AtMega16U2 with USB Addon
Hello all,
I'm trying to port software I wrote for an AtMega32U2 to an AtMega16U2.
The Xtal is 1600000
My software won't compile for a 16U2. Errormessage :
Error : 377 Line : 654 Unexpected non numeric characters found [PLLP0] , in File : usbinc.bas
This refers to the ' Pll_start_auto ' in which the frequency divider for the PLL.
In my case it should be divided by 2 but somehow something goed wrong.
If I change xtal to 8MHz it compiles fine.
Does someone recognize this?
Thanks in advance !
Peter
(BASCOM-AVR version : 2.0.8.1 , Latest : 2.0.8.5 )
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum