Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Only hieroglyphic text in Terminal emulator
Goto page Previous  1, 2
 
Post new topic   Reply to topic    www.mcselec.com Forum Index -> BASCOM-AVR
View previous topic :: View next topic  
Author Message
StSch

Bascom Member



Joined: 08 Feb 2015
Posts: 8
Location: Heilbronn, Germany

germany.gif
PostPosted: Mon Feb 09, 2015 4:00 am    Post subject: Reply with quote

Duval JP wrote:
Do you use a bootloader?

What kind of programmer do you use?

Yes, my evaluation board's ATmega88 uses the MCS Bootloader. It comes with a USB to UART Bridge (FTDI FT232RL) to program it.
Back to top
View user's profile
MWS

Bascom Member



Joined: 22 Aug 2009
Posts: 1801

blank.gif
PostPosted: Mon Feb 09, 2015 10:19 am    Post subject: Reply with quote

StSch wrote:
8533333 = 8000000 + 6,66% (from the LED blink ratio; 2 * 100 / 30), right?

Yes, the idea was to get it within a working range.
Your code:
Code:
  Toggle Portb.6
  Waitms 1000

gave a very course result, as each blink lasts 2 seconds.
It depends how the last blink was counted, so it could be a bit more than 31, till true 32 blinks.
Making the delay shorter will give a more exact result.
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    www.mcselec.com Forum Index -> BASCOM-AVR All times are GMT + 1 Hour
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
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