freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

[工學(xué)]arduino課件v(參考版)

2025-01-22 10:51本頁面
  

【正文】 官方庫文件 ? EEPROM EEPROM讀寫程序庫 ? Ether 以太網(wǎng)控制器程序庫 ? LiquidCrystal LCD控制程序庫 ? Servo 舵機(jī)控制程序庫 ? SoftwareSerial 任何數(shù)字 IO口模擬串口程序庫 ? Stepper 步進(jìn)電機(jī)控制程序庫 ? Wire TWI/I2C總線程序庫 ? Matrix LED矩陣控制程序庫 ? Sprite LED矩陣圖象處理控制程序庫 非官方庫文件 DateTime a library for keeping track of the current date and time in software. ? Debounce for reading noisy digital inputs (. from buttons) ? Firmata for municating with applications on the puter using a standard serial protocol. ? GLCD graphics routines for LCD based on the KS0108 or equivalent chipset. ? LCD control LCDs (using 8 data lines) ? LCD 4 Bit control LCDs (using 4 data lines) ? LedControl for controlling LED matrices or sevensegment displays with a MAX7221 or MAX7219. ? LedControl an alternative to the Matrix library for driving multiple LEDs with Maxim chips. ? Messenger for processing textbased messages from the puter ? Metro help you time actions at regular intervals ? MsTimer2 uses the timer 2 interrupt to trigger an action every N milliseconds. ? OneWire control devices (from Dallas Semiconductor) that use the One Wire protocol. ? PS2Keyboard read characters from a PS2 keyboard. ? Servo provides software support for Servo motors on any pins. ? Servotimer1 provides hardware support for Servo motors on pins 9 and 10 ? Simple Message System send messages between Arduino and the puter ? SSerial2Mobile send text messages or s using a cell phone (via AT mands over software serial) ? TextString handle strings ? TLC5940 16 channel 12 bit PWM controller. ? X10 Sending X10 signals over AC power lines 。 ? (data) 串口輸出數(shù)據(jù)。 ? int () 讀串口并返回收到參數(shù)。 ? detachInterrupt(interrupt) 中斷開關(guān), interrupt=1 開, interrupt=0 關(guān)。 ? long random(min, max) 隨機(jī)數(shù)函數(shù),返回數(shù)據(jù)大于等于 min,小于 max。 ? pow(base, exponent) 開方函數(shù), base的 exponent次方。 ?數(shù)學(xué)函數(shù) ? min(x, y) 求最小值 ? max(x, y) 求最大值 ? abs(x) 計算絕對值 ? constrain(x, a, b) 約束函數(shù),下限 a,上限 b, x必須在 ab之間才能返回。 ? delay(ms) 延時函數(shù)(單位 ms)。比如 value為 HIGH,那么當(dāng) pin輸入為高電平時,開始計時,當(dāng) pin輸入為低電平時,停止計時,然后返回該時間。 ?擴(kuò)展 I/O ? shiftOut(dataPin, clockPin, bitOrder, value) SPI外部 IO擴(kuò)展函數(shù),通常使用帶 SPI接口的 74HC595做 8個 IO擴(kuò)展, dataPin為數(shù)據(jù)口, clockPin為時鐘口, bitOrder為數(shù)據(jù)傳輸方向( MSBFIRST高位在前, LSBFIRST低位在前), value表示所要傳送的數(shù)據(jù)( 0~ 255),另外還需要一個 IO口做 74HC595的使能控制。 ? analogWrite(pin, value) PWM 數(shù)字 IO口 PWM輸出函數(shù), Arduino數(shù)字 IO口標(biāo)注了 PWM的 IO口可使用該函數(shù), pin表示 3, 5, 6, 9, 10, 11, value表示為 0~255。 ?模擬 I/O ? int analoRgead(pin) 模擬 IO口讀函數(shù), pin表示為 0~ 5( Arduino Diecimila為 0~ 5, Arduino nano為 0~ 7)。 digital
點擊復(fù)制文檔內(nèi)容
教學(xué)課件相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1