Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] AVR GCC settings

2013-05-12 by David VanHorn

Never hurts to include parens.  CLKPR = (1<<7);


On Sun, May 12, 2013 at 10:02 AM, Dave McLaughlin <
dave_mclaughlin@nerdshack.com> wrote:

> My mistake, it is:
>
>
>
> CLKPR = 1 << 7;
>
>
>
>
>
> From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf
> Of Dave McLaughlin
> Sent: 12 May 2013 22:43
> To: AVR-Chat@yahoogroups.com
> Subject: [AVR-Chat] AVR GCC settings
>
>
>
>
>
> Hi All,
>
> The fuses are set for external xtal osc. The board is fitted with 16Mhz. I
> configure the CLKPR = 1; for division of 1.
>
> Regards
>
> Dave.
>
>
>
>
>
> [Non-text portions of this message have been removed]
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>


[Non-text portions of this message have been removed]

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.