Search Results

AmebaD

…(by Kevin’s Lab) AMB21 MCU Part Number: RTL8722DM 32-bit KM4 (Arm Cortex-M33 compatible) 32-bit KM0 (Arm Cortex-M23 compatible) Memory 512KB SRAM + 4MB PSRAM + 2MB Flash Key Features Integrated…

Read More »

BLECharacteristic Class

…characteristic data buffer as an unsigned 8-bit integer. BLECharacteristic::readData16 Read the characteristic data buffer as an unsigned 16-bit integer. BLECharacteristic::readData32 Read the characteristic data buffer as an unsigned 32-bit integer….

Read More »

BLESecurity Class

…and output capabilities. Syntax void setIOCap(uint8_t ioCap); Parameters ioCap: desired device input output capabilities.Valid values:– GAP_IO_CAP_NO_INPUT_NO_OUTPUT– GAP_IO_CAP_DISPLAY_ONLY– GAP_IO_CAP_DISPLAY_YES_NO– GAP_IO_CAP_KEYBOARD_ONLY– GAP_IO_CAP_KEYBOARD_DISPLAYDefault values:– GAP_IO_CAP_NO_INPUT_NO_OUTPUT Returns NA Example Code NA Notes and Warnings…

Read More »

BLESecurity Class

…and output capabilities. Syntax void setIOCap(uint8_t ioCap); Parameters ioCap: desired device input output capabilities.Valid values:– GAP_IO_CAP_NO_INPUT_NO_OUTPUT– GAP_IO_CAP_DISPLAY_ONLY– GAP_IO_CAP_DISPLAY_YES_NO– GAP_IO_CAP_KEYBOARD_ONLY– GAP_IO_CAP_KEYBOARD_DISPLAYDefault values:– GAP_IO_CAP_NO_INPUT_NO_OUTPUT Returns NA Example Code NA Notes and Warnings…

Read More »

BLECharacteristic Class

…characteristic data buffer as an unsigned 8-bit integer. BLECharacteristic::readData16 Read the characteristic data buffer as an unsigned 16-bit integer. BLECharacteristic::readData32 Read the characteristic data buffer as an unsigned 32-bit integer….

Read More »

BLERemoteCharacteristic Class

…8-bit integer. BLERemoteCharacteristic::readData16 Read the characteristic data buffer as an unsigned 16-bit integer. BLERemoteCharacteristic::readData32 Read the characteristic data buffer as an unsigned 32-bit integer. BLERemoteCharacteristic::writeString Write data to the characteristic…

Read More »

BLERemoteDescriptor Class

…String object. BLERemoteDescriptor::readData8 Read the descriptor data buffer as an unsigned 8-bit integer. BLERemoteDescriptor::readData16 Read the descriptor data buffer as an unsigned 16-bit integer. BLERemoteDescriptor::readData32 Read the descriptor data buffer…

Read More »

BLERemoteCharacteristic Class

…8-bit integer. BLERemoteCharacteristic::readData16 Read the characteristic data buffer as an unsigned 16-bit integer. BLERemoteCharacteristic::readData32 Read the characteristic data buffer as an unsigned 32-bit integer. BLERemoteCharacteristic::writeString Write data to the characteristic…

Read More »

BLERemoteDescriptor Class

…String object. BLERemoteDescriptor::readData8 Read the descriptor data buffer as an unsigned 8-bit integer. BLERemoteDescriptor::readData16 Read the descriptor data buffer as an unsigned 16-bit integer. BLERemoteDescriptor::readData32 Read the descriptor data buffer…

Read More »

SPISettings Class

…mode to the preferred default value. Syntax SPISettings(uint32_t clock, BitOrder bitOrder, uint8_t dataMode); Parameters clock: SPI clock speed. (Default: 4000000(Hz)).bitOrder: The bit order of transmitting command/address/data. Select between MSBFIRST (MSB:…

Read More »

SPISettings Class

…setBitOrder(uint8_t _pin, BitOrder _bitOrder);void setBitOrder(BitOrder _order); Parameters _pin: slave select._bitOrder: The bit order of transmitting command/address/data. Select between MSBFIRST (MSB: Most Significant Bit) or LSBFIRST (LSB: Least Significant Bit). (Default:…

Read More »

Boards

…BW16 (by Ai-Thinker) WE310F5 (by Telit) Ameba RTL8722DM Board (AMB 21) CPU 32-bit Arm®Cortex®-M4, up to 200MHz 32-bit Arm®Cortex®-M0, up to 20MHz Memory 512KB SRAM + 4MB PSRAM Key Features…

Read More »

WiFiClass Class

…store MAC address (in 8-bit unsigned integer). Returns This function returns uint8_t array containing the macAddress with length WL_MAC_ADDR_LENGTH (6 bit). Example Code Example: ConnectWithWPA (https://github.com/ambiot/ambd_arduino/blob/dev/Arduino_package/hardware/libraries/WiFi/examples/ConnectWithWiFi/ConnectWithWPA/ConnectWithWPA.ino) Notes and Warnings “WiFi.h”…

Read More »

iBeacon Class

…containing current UUID. Returns NA Example Code NA Notes and Warnings UUID is a 128-bit number used to uniquely identify a beacon. It is commonly expressed as a 32-character hexadecimal…

Read More »

iBeacon Class

…containing current UUID. Returns NA Example Code NA Notes and Warnings UUID is a 128-bit number used to uniquely identify a beacon. It is commonly expressed as a 32-character hexadecimal…

Read More »

WiFiClass Class

…uint8_t* BSSID(uint8_t* bssid); Parameters bssid: an array to store bssid (8-bit unsigned integer). Returns This function returns the uint8_t array storing BSSID with length WL_MAC_ADDR_LENGTH (6 bit). Example Code Example:…

Read More »

SPISettings Class

…model to the preferred default value. Syntax SPISettings(uint32_t clock, BitOrder bitOrder, uint8_t dataMode); Parameters clock: SPI clock speed, default is 4000000.bitOrder: order of bit stream, MSB first or LSB first,…

Read More »

PlaybackWav Class

…use the class function. PlaybackWav::getBitDepth Description Get the bit depth of each sample in the .wav file. Syntax uint16_t getBitDepth(void); Parameters NA Returns This function returns bit depth encoded in…

Read More »

WS2812B Class

…Code Example: WS2812B_Basics (https://github.com/ambiot/ambd_arduino/blob/dev/Arduino_package/hardware/libraries/WS2812B/examples/WS2812B_Basics/WS2812B_Basics.ino) Notes and Warnings Only SPI MOSI pin is valid for driving WS2812B LEDs. “WS2812B.h” must be included to use the class function. WS2812B::begin Description Check for…

Read More »

SPI – Print image and text on LCD screen

…2.8 tft lcd touch shield的接法,要注意的是,這款shield預設已打上背光,並且pin 8不是背光的pin,所以不需接上背光的pin。另外它接到5V,而不是3.3V。 RTL8710 的接線圖: 打開範例程式, “Files” -> “Examples” -> “AmebaSPI” -> “ILI9341_LCD_basic” 編譯後上傳到Ameba,完成後按下Reset按鈕。 螢幕上會執行一些基本測試,像是刷新螢幕為不同顏色,畫直線與橫線,畫斜線,畫圓圈,畫正方形,顯示不同大小的文字,最後不停地旋轉螢幕並印出文字 程式碼說明 RGB 16-bitILI9341在繪圖時,使用的顏色代碼是RGB 16-bit, 與一般常見的RBG 24-bit差異是Red使用5 bit (原本的8 bits向右移3bits), Green使用6 bits(原本的8 bits向右移2bits),…

Read More »

IRDevice Class

…protocol. IRDevice::sendNEC Description Send data using the NEC protocol. Syntax void sendNEC(uint8_t adr, uint8_t cmd); Parameters adr: 8-bit NEC address data to be transmitcmd: 8-bit NEC command data to be…

Read More »

SPI – Print Image and Text On LCD Screen

…編譯後上傳到Ameba,完成後按下Reset按鈕。螢幕上會執行一些基本測試,像是刷新螢幕為不同顏色,畫直線與橫線,畫斜線,畫圓圈,畫正方形,顯示不同大小的文字,最後不停地旋轉螢幕並印出文字 程式碼說明 RGB 16-bit ILI9341在繪圖時,使用的顏色代碼是RGB 16-bit, 與一般常見的RBG 24-bit差異是Red使用5 bit (原本的8 bits向右移3bits), Green使用6 bits(原本的8 bits向右移2bits), Blue使用5 bit(原本的8 bits向右移3bits)舉例來說,天空藍的RGB 24 bit為0x87CEFF,表示成二進位為:Red: 0x87 = B10000111 Green: 0xCE = B11001110 Blue: 0xFF = B11111111…

Read More »

RecordWav Class

…class function. RecordWav::setBitDepth Description Set the recording bit depth of each sample in the .wav file. Syntax void setBitDepth(uint16_t bitDepth); Parameters bitDepth: number of bits per sample. Returns NA Example…

Read More »

AmebaZ2

…Boot BLE4.2 Support AWS IoT ExpressLink WE10 (by Celium Devices)   Partner Designed   MCU Part Number: RTL8710CF 32-bit KM4 (Arm Cortex-M33 compatible) 32-bit KM0 (Arm Cortex-M23 compatible) Memory 256KB SRAM +…

Read More »

SoftwareSerial Class

bits, 8 bits (default) or 7 bits.stop_bits: number of stop bits, 1 bit (default), 1.5 bits or 2 bits.flowctrl: flow control pin.rtsPin: request to send pin.ctsPin: clear to send pin….

Read More »

SPI – Print Image and Text On LCD Screen

bits(原本的8 bits向右移2bits), Blue使用5 bit(原本的8 bits向右移3bits)舉例來說,天空藍的RGB 24 bit為0x87CEFF,表示成二進位為:Red: 0x87 = B10000111 Green: 0xCE = B11001110 Blue: 0xFF = B11111111 轉成RGB 16 bit為 Red: B10000 Green: B110011 Blue: B11111 最後將這些二進位數值接起來 B1000011001111111 =…

Read More »

BLEHIDDevice Class

…bcd: 16-bit unsigned integer representing version number of base USB HID Specification implemented by HID Devicecountry: 8-bit integer identifying country HID Device hardware is localized for. Most hardware is not…

Read More »

PMUClass Class

…int WakePinCheck(void); Parameters NA Returns This function returns the GPIO wake pin number used on Ameba boards.– “1“: BIT(0): wakepin0– “2“: BIT(1): wakepin1– “4“: BIT(2): wakepin2– “8“: BIT(3): wakepin3– “0”:…

Read More »

AudioCodec Class

…per sample. (Default: 16 bits).Supported values:– 8 bits– 16 bits– 24 bits Returns NA Example Code NA Notes and Warnings Setting a bit depth of 24 bits per sample will…

Read More »

VideoStreamOverlay Class

…from to 255.green: Intensity level of green color expressed as an 8-bit unsigned integer from to 255.blue: Intensity level of blue color expressed as an 8-bit unsigned integer from to…

Read More »

AmebaILI9341 Class

…AmebaILI9341::writecommand Description Write a SPI command to the hardware peripheral. Syntax void writecommand(uint8_t command); Parameters command: SPI command in 8-bit. Returns NA Example Code NA Notes and Warnings “AmebaILI9341.h” must…

Read More »

IR – Infra-red receiver and emitter

…1 原理 紅外線是不可見光,波長在770nm~1mm之間,常見於家中的遙控器。一般的紅外線傳送端與接收端需要事先規範好傳送的頻率,常見的規範有NEC, Philips RC5, RC6, RCMM, Toshiba, Sharp, JVC, Sony SIRC……。其中NEC是家電常用的規範,它使用38K Hz的頻率。紅外線接收器裡面有解調器(demodulator),它的訊號線平常會輸出數位訊號3.3V (or 5V)。接收到一定頻率的紅外線訊號時,它的數位輸出會變成0V。如果不是這個頻率的紅外線,像是手上拿著紅外線燈開關個幾次,紅外線接收器不會對這有反應,以避免雜訊。紅外線發射器則要傳送對應頻率的訊號,一般來說是PWM訊號。一個完整的紅外線發設器的訊號如下圖,它分成幾個階段: 一開始它會送起始訊號,它分成Start high與Start low,其中Start high的訊號為PWM訊號,頻率為38K。Start low則是一般的數位輸出,只要不是PWM訊號即可,一般為了省電會將訊號置於0V。 接著會送資料,依序將資料以byte為單位送出,送的順序為LSB(Least Significant Bit) 至MSB(Most Significant Bit)。其中bit 1的表示方式,先打出長度560us的PWM訊號,再停止1.69ms。而bit 0的表示方式,打出長度560us的PWM訊號,再停止560us。可以看到0跟1的表示方式差別只在於後面的停止長度。 資料送完之後,送一個bit 1當作Stop…

Read More »

VideoStream Class

…video encoder bitrate. Valid values range from 1Mbps (1024 * 1024) to 50Mbps (50 * 1024 * 1024). Default value of 4Mbps. Returns NA Example Code VideoOnly (https://github.com/ambiot/ambpro2_arduino/blob/dev/Arduino_package/hardware/libraries/Multimedia/examples/StreamRTSP/VideoOnly/VideoOnly.ino) Notes and…

Read More »

BLEHIDDevice Class

…Syntax void setHidInfo (uint16_t bcd, uint8_t country, uint8_t flags); Parameters bcd: 16-bit unsigned integer representing version number of base USB HID Specification implemented by HID Devicecountry: 8-bit integer identifying country…

Read More »

AmebaILI9341 Class

…x: leftmost coordinate of the Bitmap imagey: top coordinate of the Bitmap imagew: width of the Bitmap imageh: height of the Bitmap imagecolor: the string name of the Bitmap image…

Read More »

UART – Set Callback Function for UART Communications

…接下來,使用串口終端程序,如TeraTerm或PuTTY,打開一個串口,並根據設置對其進行配置。確保串行端口號對應於USB到TTL適配器。 Port: <適配器的端口號> Speed: 38400 Data: 8 bit Parity: none Stop bits: 1 bit Flow control: none 當串行口打開後,在串口終端中輸入並按回車鍵,就會看到相應的輸出。 程式碼說明 mySerial.setAvailableCallback (mySerialCallback); 用於將函數mySerialCallback設置為軟件串行的回調函數。當接收到新字符時,回調函數檢查該字符是否與enter鍵相對應,如果返回值為真,則釋放信號標,從而允許主循環打印出之前接收到的所有字符。 解決方案 IoT SoC / MCU Video SoC 開發者專區…

Read More »

BLEUUID Class

…of bytes. Example Code NA Notes and Warnings A 4-character UUID will be 16 bits / 2 bytes long.A 8-character UUID will be 32 bits / 4 bytes long.A 32-character…

Read More »

AmebaPro2

…龍山寺 AirBox in 台大 登入 Choose a language 繁體中文 简体中文 English 搜尋 AmebaPro2 Boards Designed by Realtek AMB82 AMB82 MINI AMB82 MCU Part Number: RTL8735B 32-bit Arm v8M, up to…

Read More »

Standard SDK: Release History

…32-bit KM4 (Arm Cortex-M33 compatible) and 32-bit KM0 (Arm Cortex-M23 compatible) – MEMORY. 512KB SRAM + 4MB PSRAM Feature: – Integrated 802.11a/n Wi-Fi SoC – USB Host/Device – SD Host…

Read More »

bw16-intro

…5.0模組,BW16模組由B&T生產,擁有輕巧精實的50.4 x 25.4mm,整合了32-bit KM4 (相容Arm Cortex-M33) 高性能 MCU,和32-bit KM0 (相容Arm Cortex-M23) 低耗電MCU、WLAN(802.11 a / b / g / n)MAC、藍牙(BLE 5.0),基頻和RF射頻,提供了可配置的硬體I/O介面,可用於不同週邊設備的控制。 現在,一起來實現你的新穎點子,讓世界看見你的創意! • 學習指標Tips: 1. 認識Ameba開發平台:開發板及開發環境介紹。2. 認識Ameba 硬體I/O:GPIO, UART, PWM, ADC,…

Read More »

BLEUUID Class

…of bytes. Example Code NA Notes and Warnings A 4-character UUID will be 16 bits / 2 bytes long.A 8-character UUID will be 32 bits / 4 bytes long.A 32-character…

Read More »

TwoWire Class

…Warnings Originally, ‘endTransmission’ was an f(void) function. It has been modified to take one parameter indicating whether a STOP should be performed on the bus. Calling endTransmission(false) allows a sketch…

Read More »

IoT SoC / MCU

…Wi-Fi & BLE4.2 – Support Secure boot – Up to 4.2MB RAM(Max.) – Ultra Low Power design Details & Boards Ameba D RTL8722DM/RTL8721DM/RTL8720DN – 32-bit KM4 (Arm Cortex-M33 compatible) –…

Read More »

Wiring OS API

…memory heap only for this task. Returns This function returns the thread ID in 32-bit which is used in thread operation for reference by other functions or NULL in case…

Read More »

AmebaPro

…龍山寺 AirBox in 台大 登入 Choose a language 繁體中文 简体中文 English 搜尋 AmebaPro Boards Designed by Realtek AMB81 AMB81 MCU Part Number: RTL8715AD 32-bit Arm v8M, up to 300MHz 32-bit

Read More »

Ameba1

…RTL8710AF 32-bit Arm®Cortex®-M3, up to 83MHz Memory 1MB ROM, 512KB SRAM and 1MB flash Key Features Integrated with 802.11 b/g/n 1×1 Wi-Fi (HT20 only) Hardware SSL engine Maximum 17 GPIOs…

Read More »

TwoWire Class

…8-bit is to be transmitted from I2C master to slave.quantity: The number of data in 8-bit to be transmitted. Returns This function size_t write (uint8_t data); returns 1 if successful,…

Read More »

BLEDevice Class

…the class function. BLEDevice::setDeviceAppearance Description Set the BLE Generic Access Profile (GAP) device appearance. Syntax void setDeviceAppearance(uint16_t devAppearance); Parameters devAppearance: desired device appearance expressed as a 16-bit unsigned integer. Returns…

Read More »

AmebaILI9341 Class

…and Warnings Only use this method to write 1 byte at a time. “AmebaILI9341.h” must be included to use the class function. AmebaILI9341::setRotation Description Setting screen orientation, “0” for no…

Read More »

SoftwareSerial Class

…7 bitsstop_bits: number of stop bits, 1 bit (default), 1.5 bits or 2 bitsflowctrl: flow control pinrtsPin: request to send pinctsPin: clear to send pin Returns NA Example Code Example:…

Read More »

Amazon Kinesis News

…Video Streams 也支援 WebRTC,WebRTC 是一種開放原始碼專案,允許在網路瀏覽器、行動應用程式及連接的裝置之間透過簡單的 API 即時媒體串流與互動。 Ameba Pro2微控制器 提供更好的影像品質 Ameba Pro2配備了高效能的 32-bit Arm v8M 微控制器(MCU),專為處理高度複雜的影像處理任務而設計,並能夠支援高速運算,這對於攝影機應用來說是至關重要的。此外,它還配備了具有 AI智慧引擎,可以進行快速而高效的影像分析和處理。其內建的影像信號處理器 (ISP) 能夠精確處理來自攝影機的原始影像資料,並進行必要的優化,以確保提供最優質的影像。而其對 H.264 和 H.265 影像編解碼的支援,不僅確保了影像的高效壓縮和傳輸,還大大節省了儲存空間,且開發程式碼較先前短數百行,更可以有效降低攝影機製造成本。 Ameba Pro2 更提供了多元化的介面選項,包括 SPI、I2C、PWM、和 UART 等,使其可以輕鬆連接到各種外部裝置,其中包括攝影機。此外,它還支援 802.11…

Read More »

I2C – Display data on LCD screen

…POSITIVE); // Set the LCD I2C address 其中I2C的address是0x27, 後面八個參數代表1個byte裡, 每個bit代表的意義, 其中En為Bit 2, Rw為Bit 1, Rs為 Bit 0, d4為bit 4, 以此類推每款LCD需要設定的內容可能不一樣, 要參考datasheet做設定。 呼叫 backlight(), 打開背光使螢幕亮起,呼叫 setCursor(0, 0) 指定游標的位置, 第一個參數是行, 第二個參數是列LCD 繼承了Print…

Read More »

Flash Memory – Use flash memory larger than 4K

…-> “ReadWriteOneWord” 這個範例裡會宣告Flash起始位置為0xFC000, 大小為0x4000。(預設起始位置為0xFF000,大小為0x1000)然後根據offset對特定位置做讀寫。範例裡使用offset 0x3F00,即Flash位置0xFC000 + 0x3F00 = 0xFFF00。第一次讀出來將值設定成0,之後每次開機都加1。 程式碼說明 之前的Flash API可以直接使用,但預設起始位置為0xFF000,大小為0x1000,如果要使用別的設定,則要呼叫begin(),範例裡第一個參數是起始位置,第二個參數是大小。 FlashMemory.begin(0xFC000, 0x4000); 要讀出這個區塊的值,使用readWord(),範例裡讀出offset 0x3F00的地方,也就是0xFC000 + 0x3F00 = 0xFFF00的位置,讀出來的大小為32-bit,放在回傳值裡 value = FlashMemory.readWord(0x3F00); 寫入則使用writeWord(),第一個參數是offset,第二個參數是要寫入的值。 FlashMemory.writeWord(0x3F0C, value); 解決方案 IoT SoC /…

Read More »

WiFiSSLClient Class

…client is connected to. Syntax virtual int read(void);virtual int read(uint8_t *buf, size_t size); Parameters buf: buffer that holds incoming data in 8-bit.size: maximum size of the buffer. Returns This function…

Read More »

BLEHIDGamepad Class

…gamepad device with 16 buttons, 6 16-bit axes and an 8-direction hat switch. This class will not work if a different gamepad report descriptor is implemented. “BLEHIDGamepad.h” must be included…

Read More »

Ameba ARDUINO: Release History

…Feature: – Support uart settings on data bits, parity, stop bit, flow control Bug fix: – Fix malfunction on MQTT QOS0 Version 1.1.2 – 2016/08/02 Feature: – Support MQTT to…

Read More »

BLEAdvertData Class

…BLEAdvertData::addCompleteServices Description Add complete list of service UUIDs to advertising data packet. Syntax uint8_t addCompleteServices(BLEUUID uuid);uint8_t addCompleteServices(uint8_t uuidBitLength); Parameters uuid: the desired UUID contained in BLEUUID class object.uuidBitLength: UUID bit

Read More »

WiFiSSLClient Class

…client is connected to. Syntax virtual int read(void);virtual int read(uint8_t *buf, size_t size); Parameters buf: buffer that holds incoming data in 8-bit.size: maximum size of the buffer. Returns This function…

Read More »

USBHIDGamepad Class

…gamepad device with 16 buttons, 6 axes with 16-bit resolution and an 8-direction hat switch. This class will not work if a different gamepad report descriptor is implemented. “USBHIDGamepad.h” must…

Read More »

IR – Transmit IR NEC Raw Data and Decode

…在發送端,發送器將發送IR NEC原始數據。原始數據可以看作是“marks”和“spaces”(圖三)的連續持續時間(以微秒(us)為單位)。 • Mark: 特定時間發送脈衝• Space: 特定時間不發送脈衝 圖三: 典型的紅外線發射和接收設置實作 有關更多詳細信息,請參閱SB-Projects的主題IR Remote Control Theory 學習IR遙控器操作的理論以及IR協議說明。在此範例中,我們將使用NEC(Now Renesas,也稱為日語格式)作為傳輸協議。 NEC 特色 • 8位元地址和8位元命令長度。• 具擴展模式,地址長度加倍。• 為了確保可靠性,發送兩次地址和命令。• 調節脈衝距離。• 載波頻率為38kHz。• Bit Time為1.125ms或2.25ms。 調節 NEC協議使用Pulse Distance Encoding進行數據通信(圖四)。 “1”由2250us的總持續時間表示,其中560us的“marks”和(2250-560)us的“spaces”表示。…

Read More »

NfcTagClass Class

…function. NfcTagClass::clearNdefMessage Description Clear cached NDEF records in NfcTag object. Syntax void clearNdefMessage(void); Parameters NA Returns NA Example Code Example: UpdateTagContent (https://github.com/ambiot/amb1_arduino/blob/dev/Arduino_package/hardware/libraries/NFC/examples/UpdateTagContent/UpdateTagContent.ino) Notes and Warnings Only clears cached NDEF records…

Read More »

IR – Transmit IR Sony Data

…數據。更多詳情請參考SB-Projects的IR Remote Control Theory專題,了解IR遙控器操作原理和IR協議說明。在此範例中,我們將使用 Sony 作為傳輸協議。 Sony 特色 • 12-位元版本, 7 位元命令, 5 位元地址• 調節脈衝距離• 載波頻率為 40kHz• Bit time 為 1.2ms 或 0.6ms Sony SIRC 調節 SIRC 協議使用脈衝編碼。代表邏輯“1”的脈衝是 40kHz 載波的…

Read More »

BLEHIDGamepad Class

…gamepad device with 16 buttons, 6 16-bit axes and an 8-direction hat switch. This class will not work if a different gamepad report descriptor is implemented. “BLEHIDGamepad.h” must be included…

Read More »

AmebaZ

…龍山寺 AirBox in 台大 登入 Choose a language 繁體中文 简体中文 English 搜尋 AmebaZ Boards Designed by Realtek AMB11 AMB11 MCU Part Number: RTL8710BN 32-bit Arm®Cortex®-M4, up to 125MHz Memory 256KB…

Read More »

BLEAdvertData Class

…BLEAdvertData::addCompleteServices Description Add complete list of service UUIDs to advertising data packet. Syntax uint8_t addCompleteServices(BLEUUID uuid);uint8_t addCompleteServices(uint8_t uuidBitLength); Parameters uuid: the desired UUID contained in BLEUUID class object.uuidBitLength: UUID bit

Read More »

Flash Memory – Use Flash Memory Larger Than 4K

…0x4000); 要讀出這個區塊的值,使用readWord(),範例裡讀出offset 0x3F00的地方,也就是0xFC000 + 0x3F00 = 0xFFF00的位置,讀出來的大小為32-bit,放在回傳值裡 value = FlashMemory.readWord(0x3F00); 寫入則使用writeWord(),第一個參數是offset,第二個參數是要寫入的值。 FlashMemory.writeWord(0x3F0C, value); 解決方案 IoT SoC / MCU Video SoC 開發者專區 購買開發版 Standard SDK Ameba ARDUINO AWS IoT ExpressLink Amazon…

Read More »

BLEDevice Class

…the class function. BLEDevice::setDeviceAppearance Description Set the BLE Generic Access Profile (GAP) device appearance. Syntax void setDeviceAppearance(uint16_t devAppearance); Parameters devAppearance: desired device appearance expressed as a 16-bit unsigned integer. Returns…

Read More »
請先確認已安裝QQ通訊軟體
Please confirm that QQ communication software is installed