CQエレクトロニクス・セミナ「実習・マイコンを動かしながら学ぶディジタル・フィルタ」で使うプログラムを,入力として STM32F746 の内蔵 ADC を使うように変更したもの. http://seminar.cqpub.co.jp/ccm/ES18-0020

Dependencies:   mbed Array_Matrix BSP_DISCO_F746NG LCD_DISCO_F746NG TS_DISCO_F746NG

Revision:
2:dd48e1e59daa
Parent:
1:501a83a5ee9d
--- a/F746_Gui_New/Label.hpp	Wed Nov 08 11:43:52 2017 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,58 +0,0 @@
-//-----------------------------------------------------------
-//  Label class -- Header
-//
-//  2016/10/02, Copyright (c) 2016 MIKAMI, Naoki
-//-----------------------------------------------------------
-
-#ifndef F746_LABEL_HPP
-#define F746_LABEL_HPP
-
-#include "GuiBase.hpp"
-
-namespace Mikami
-{
-    class Label : public GuiBase
-    {
-    public:
-        enum TextAlignMode { LEFT, CENTER, RIGHT };
-        // Constructor
-        Label(uint16_t x, uint16_t y, const string str,
-              TextAlignMode mode = LEFT,
-              sFONT &fonts = Font12,
-              uint32_t textColor = GuiBase::ENUM_TEXT,
-              uint32_t backColor = GuiBase::ENUM_BACK);
-
-        // Constructor without string
-        Label(uint16_t x, uint16_t y,
-              TextAlignMode mode = LEFT,
-              sFONT &fonts = Font12,
-              uint32_t textColor = GuiBase::ENUM_TEXT,
-              uint32_t backColor = GuiBase::ENUM_BACK)
-            : GuiBase(x, y, fonts, textColor, backColor),
-              MODE_(mode), STR_(""), length_(0) {}
-
-        void Draw()
-        {   Draw(STR_, TEXT_COLOR_); }
-
-        void Draw(const string str)
-        {   Draw(str, TEXT_COLOR_); }
-
-        void Draw(uint32_t textColor)
-        {   Draw(STR_, textColor); }
-
-        void Draw(const string str,
-                  uint32_t textColor);
-                  
-    private:
-        const TextAlignMode MODE_;
-        const string STR_;
-        
-        uint8_t length_;
-        uint16_t PosX(uint16_t x);
-        
-        // disallow copy constructor and assignment operator
-        Label(const Label&);
-        Label& operator=(const Label&);
-    };
-}
-#endif  // F746_LABEL_HPP