Skip to content

Latest commit

 

History

History
37 lines (33 loc) · 1.64 KB

README.md

File metadata and controls

37 lines (33 loc) · 1.64 KB

Demo | 示例程序

Directory structure | 目录结构

  • demo/
    • Arduino/
      • control_pwm/
      • plot_cls/
      • plot_performance/
      • plot_realtime/
    • STC8G/
      • plot_realtime/
    • STM32F103C8/
      • CubeMX/
        • plot_realtime/
      • StdPeriph/
        • plot_realtime/
    • STM32G431KB/
      • plot_realtime/
    • Control

Notes | 提示

Demos with prefix plot_ is for plot panel
Demos with prefix control_ is for control(shortcut) panel
You can find some useful snippets for control(shortcut) panel in demo/Control/.
All demos are implemented on Arduino platform
For other platforms, please refer to demo/<platform>/plot_realtime/ to write your code
Demos on STM32 use printf() to send data in strings. check these projects to know how to use printf() on USART
I implement itoa() in demo/STC8G/plot_realtime/ project. For more conversion functions, see this file


含有“plot_”前缀的示例项目用于演示实时绘图功能
含有“control_”前缀的示例项目用于演示快捷发送功能(在“控制”面板当中)
demo/Control/文件夹下有一些常见的命令集合,可导入到“控制”面板中使用
Arduino文件夹下有所有的示例,其它平台仅提供plot_realtime项目以便于移植
STM32平台的项目中实现了用printf()函数在USART串口上输出数值的功能
STC8G平台的项目中实现了itoa()函数,其它各种转换函数可参考此文件