对称器EMC

  • P9_760898
    了解作者
  • 302.9KB
    文件大小
  • zip
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-06-01 09:25
    上传日期
对称器EMC
SymulatorEMC-main.zip
内容介绍
# StringSplitter Library for Arduino An Arduino library that adds string splitting functionality to character delimited C++ strings. ## Features - Adds string splitting functionality to Arduino. - Can specify the maximum number of substrings, via ``limit`` up to ``MAX``. - ``MAX`` is ``5`` by default and can be overridden in ``StringSplitter.h``. - ``limit`` equal to and below ``1``, returns the whole input string. - The last substring contains the remaining part of the whole string, including delimiters. - If delimiter is not found, the whole string can be found in the first substring. ## Methods #### 1. Initialization #### ``` new StringSplitter(String input, char delimiter, unsigned int limit); * Return: StringSplitter object. * input: String with delimiters to be split. * delimiter: Character around which string will be split. Not included in substrings. * limit: Maximum number of substrings. Overriden by MAX in StringSplitter.h ``` #### 2. Get Substring Count #### ``` int getItemCount(); * Return: Number of substrings. Min = 1, Max = (limit or MAX, whichever is lesser). ``` #### 2. Get Substring at Index #### ``` String getItemAtIndex(int index); * Return: Substring of input string. * index: Position of substring with respect to the input string. Starts from 0. ``` ## Usage ``` #include "StringSplitter.h" StringSplitter *splitter = new StringSplitter("abc,def,ghi,jkl", ',', 3); int itemCount = splitter->getItemCount(); for(int i = 0; i < itemCount; i++){ String item = splitter->getItemAtIndex(i); } ```
评论
    相关推荐
    • EMC教程
      经典教程 大家来看看啊
    • EMC相关标准
      EMC相关的标准,很全面,整理了很长时间
    • pCB EMC解析
      讲解pcb中的emc来源 怎么避免pcb中emc干扰
    • Site_EMC
      Site_EMC 网\u5740=
    • 清华大学EMC
      关于EMC(电磁兼容)专业知识的讲解,清华大学教授授课文档,由浅入深,循序渐进。
    • EMC整改资料
      讲述了一些EMC测试过程中比较有针对性的问题的整改思路和建议
    • EMC 电磁兼容
      EMC电磁兼容,是SGS的内部PPT培训课程,详细讲述了EMC的诞生,现况以及前景
    • EMC器件详解
      详细介绍EMC相关的每个器件的使用原理以及在EMC设计过程中这些器件滤掉的干扰
    • EMC 产品资料
      EMC 产品资料,EMC内部员工提供的。
    • SIM800C_MQTT.rar
      使用SIM800C模块,使用MQTT协议,连接中国移动onenet平台,能实现数据的订阅、发布、存储等