-
Path: news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed.pionier.net.pl!feeder.erje.net
!eu.feeder.erje.net!news.mb-net.net!open-news-network.org!aioe.org!.POSTED!not-
for-mail
From: Michał Lankosz <m...@t...pl>
Newsgroups: pl.misc.elektronika
Subject: Re: avr i C - kto nie rozumie: kompilator, procesor czy ja?
Date: Wed, 09 Jan 2013 09:51:10 +0100
Organization: Aioe.org NNTP Server
Lines: 22
Message-ID: <kcjb1r$2e1$1@speranza.aioe.org>
References: <kcc0uj$9sa$1@node1.news.atman.pl> <g...@n...chmurka.net>
NNTP-Posting-Host: iaDePkCT4n9mnTK0uiF4FA.user.speranza.aioe.org
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-2; format=flowed
Content-Transfer-Encoding: 8bit
X-Complaints-To: a...@a...org
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0
X-Notice: Filtered by postfilter v. 0.8.2
Xref: news-archive.icm.edu.pl pl.misc.elektronika:640580
[ ukryj nagłówki ]W dniu 2013-01-08 11:15, Adam Wysocki pisze:
> Jakub Rakus <s...@o...pl> wrote:
>
>> #define F_CPU 16000000UL
>> _delay_ms(500);
>
> Za dużo.
>
> http://www.nongnu.org/avr-libc/user-manual/group__ut
il__delay.html
>
> The maximal possible delay is 262.14 ms / F_CPU in MHz.
>
Czytaj dalej:
"When the user request delay which exceed the maximum possible one,
_delay_ms() provides a decreased resolution functionality. In this mode
_delay_ms() will work with a resolution of 1/10 ms, providing delays up
to 6.5535 seconds (independent from CPU frequency). The user will not be
informed about decreased resolution."
Michał
Następne wpisy z tego wątku
- 09.01.13 13:36 Adam Wysocki
Najnowsze wątki z tej grupy
- Jak sie smazy elektronike z odleglosci kilkuset metrów?
- William Shockley, co-inventor of the transistor
- Gazowy kocioł CO regulacja cyklingu i regulacja pogodowa
- Zamek elektroniczny
- szablon do pasty DIY
- Głośnik potrzebny
- Silikonowy przewód ekranowany
- Wtyk bananowy ekranowany
- Co może być gorsze od pożaru elektryka?
- daltonizm
- Mały Linux
- Superkondensator. Czy to się uda?
- Stare filmy o technice
- Zasilanie własnych konstrukcji przez PoE
- Jak działa domofon?
Najnowsze wątki
- 2025-11-07 OBD2 napięcie akumulatora
- 2025-11-06 citek i GP.
- 2025-11-06 envelo - list polecony
- 2025-11-06 Ostrów Wielkopolski => Specjalista ds. Marketingu Online (PPC) <=
- 2025-11-06 Warszawa => Strategic Account Manager <=
- 2025-11-06 Warszawa => Senior Frontend Developer (React + React Native) <=
- 2025-11-06 Ktoś się wybiera?
- 2025-11-05 Warszawa => C Programmer <=
- 2025-11-05 Rzeszów => International Freight Forwarder <=
- 2025-11-05 Warszawa => OSS System Administrator <=
- 2025-11-05 Gdańsk => Programista Delphi <=
- 2025-11-05 Warszawa => AWS Cloud Engineer <=
- 2025-11-05 Wrocław => Programista React ze znajomością C++ <=
- 2025-11-05 Wrocław => React Developer with knowledge of C++ <=
- 2025-11-04 A jednak o prawnikach




Elektromobilność dojrzewa. Auta elektryczne kupujemy z rozsądku, nie dla idei