91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 8KB
    文件類型: .rar
    金幣: 2
    下載: 3 次
    發布日期: 2021-05-29
  • 語言: 其他
  • 標簽: 庫文件??

資源簡介

arduino軟串口庫文件SoftwareSerial

資源截圖

代碼片段和文件信息

/*
SoftwareSerial.cpp?(formerly?NewSoftSerial.cpp)?-?
Multi-instance?software?serial?library?for?Arduino/Wiring
--?Interrupt-driven?receive?and?other?improvements?by?ladyada
???(http://ladyada.net)
--?Tuning?circular?buffer?derivation?from?class?Print/Stream
???multi-instance?support?porting?to?8MHz?processors
???various?optimizations?PROGMEM?delay?tables?inverse?logic?and?
???direct?port?writing?by?Mikal?Hart?(http://www.arduiniana.org)
--?Pin?change?interrupt?macros?by?Paul?Stoffregen?(http://www.pjrc.com)
--?20MHz?processor?support?by?Garrett?Mace?(http://www.macetech.com)
--?ATmega1280/2560?support?by?Brett?Hagman?(http://www.roguerobotics.com/)

This?library?is?free?software;?you?can?redistribute?it?and/or
modify?it?under?the?terms?of?the?GNU?Lesser?General?Public
License?as?published?by?the?Free?Software?Foundation;?either
version?2.1?of?the?License?or?(at?your?option)?any?later?version.

This?library?is?distributed?in?the?hope?that?it?will?be?useful
but?WITHOUT?ANY?WARRANTY;?without?even?the?implied?warranty?of
MERCHANTABILITY?or?FITNESS?FOR?A?PARTICULAR?PURPOSE.??See?the?GNU
Lesser?General?Public?License?for?more?details.

You?should?have?received?a?copy?of?the?GNU?Lesser?General?Public
License?along?with?this?library;?if?not?write?to?the?Free?Software
Foundation?Inc.?51?Franklin?St?Fifth?Floor?Boston?MA??02110-1301??USA

The?latest?version?of?this?library?can?always?be?found?at
http://arduiniana.org.
*/

//?When?set?_DEBUG?co-opts?pins?11?and?13?for?debugging?with?an
//?oscilloscope?or?logic?analyzer.??Beware:?it?also?slightly?modifies
//?the?bit?times?so?don‘t?rely?on?it?too?much?at?high?baud?rates
#define?_DEBUG?0
#define?_DEBUG_PIN1?11
#define?_DEBUG_PIN2?13
//?
//?Includes
//?
#include?
#include?
#include?
#include?
//
//?Lookup?table
//
typedef?struct?_DELAY_TABLE
{
??long?baud;
??unsigned?short?rx_delay_centering;
??unsigned?short?rx_delay_intrabit;
??unsigned?short?rx_delay_stopbit;
??unsigned?short?tx_delay;
}?DELAY_TABLE;

#if?F_CPU?==?16000000

static?const?DELAY_TABLE?PROGMEM?table[]?=?
{
??//??baud????rxcenter???rxintra????rxstop????tx
??{?115200???1?????????17????????17???????12????}
??{?57600????10????????37????????37???????33????}
??{?38400????25????????57????????57???????54????}
??{?31250????31????????70????????70???????68????}
??{?28800????34????????77????????77???????74????}
??{?19200????54????????117???????117??????114???}
??{?14400????74????????156???????156??????153???}
??{?9600?????114???????236???????236??????233???}
??{?4800?????233???????474???????474??????471???}
??{?2400?????471???????950???????950??????947???}
??{?1200?????947???????1902??????1902?????1899??}
??{?600??????1902??????3804??????3804?????3800??}
??{?300??????3804??????7617??????7617?????7614??}
};

const?int?XMIT_START

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件???????1363??2013-05-17?22:25??SoftwareSerial\examples\SoftwareSerialExample\SoftwareSerialExample.ino

?????文件???????2562??2013-05-17?22:25??SoftwareSerial\examples\TwoPortReceive\TwoPortReceive.ino

?????文件????????601??2013-05-17?22:25??SoftwareSerial\keywords.txt

?????文件??????13606??2013-05-17?22:25??SoftwareSerial\SoftwareSerial.cpp

?????文件???????3566??2013-05-17?22:25??SoftwareSerial\SoftwareSerial.h

?????目錄??????????0??2016-12-08?22:23??SoftwareSerial\examples\SoftwareSerialExample

?????目錄??????????0??2016-12-08?22:23??SoftwareSerial\examples\TwoPortReceive

?????目錄??????????0??2016-12-08?22:23??SoftwareSerial\examples

?????目錄??????????0??2016-12-08?22:23??SoftwareSerial

-----------?---------??----------?-----??----

????????????????21698????????????????????9


評論

共有 條評論