From b3dc672c57aa5374fcd1ba1da5321d6c63d68e0f Mon Sep 17 00:00:00 2001 From: guowenxue <guowenxue@gmail.com> Date: Thu, 14 Mar 2024 10:47:14 +0800 Subject: [PATCH] Add SHT20 and AT24C256 Logic Analyzer LA5016 capture data --- modules/w25qflash.h | 27 ++++++++++++++++++--------- 1 files changed, 18 insertions(+), 9 deletions(-) diff --git a/modules/w25qflash.h b/modules/w25qflash.h index 4c9edac..8b0ca05 100644 --- a/modules/w25qflash.h +++ b/modules/w25qflash.h @@ -1,16 +1,25 @@ /********************************************************************************* - * Copyright: (C) 2023 LingYun IoT System Studio. All Rights Reserved. + * Copyright: (C) 2023 LingYun IoT System Studio + * All rights reserved. + * + * Filename: at24c.c + * Description: This file is AT24Cxx EEPROM code + * + * Version: 1.0.0(10/08/23) * Author: Guo Wenxue <guowenxue@gmail.com> + * ChangeLog: 1, Release initial version on "10/08/23 17:52:00" * - * Description: This file is W25Qxx SPI Norflash driver on RaspberryPi 40Pin. + * Pin connection: + * W25QXX Raspberry Pi 40Pin + * VCC <---> Pin#1 (3.3V) + * CS <---> Pin#24(CS) + * DO <---> Pin#21(MISO) + * GND <---> Pin#9 (GND) + * CLK <---> Pin#23(SCLK) + * DI <---> Pin#19(MOSI) * - * W25QXX RaspberryPi 40Pin - * VCC <---> 3.3V(Pin#1) - * CS <---> CS(Pin#24) - * DO <---> MISO(Pin#21) - * GND <---> GND(Pin#9) - * CLK <---> SCLK(Pin#23) - * DI <---> MOSI(Pin#19) + * /boot/config.txt: + * dtparam=spi=on * ********************************************************************************/ -- Gitblit v1.9.1