Vision Industrielle / IHM pour pilotage éclairage et convoyeur

Dependencies:   F746_GUI_vV mbed Vision_Indus_IHM

main.cpp

Committer:
villemejane
Date:
2021-11-19
Revision:
28:f7212a4a7952
Parent:
27:3ac3f6c77c88

File content as of revision 28:f7212a4a7952:

//-----------------------------------------------------------------------
//  
//  GUI library from :
//  2018/03/12, Copyright (c) 2018 MIKAMI, Naoki
//-----------------------------------------------------------------------

#include "F746_GUI.hpp"
#include "Vision_Indus_IHM.h"

/* Main Program */
int main()
{
    initIHM();

    while (true)
    {
        /*
        updateIHM();
        wait(0.05f);
        */
        /*
        flex1_out = 1;
        flex2_out = 1;
        dome_out = 1;
        rasant_out = 1;
        ringRGB_R_out = 1;
        ringRGB_G_out = 1;
        ringRGB_B_out = 1;
        wait(1.0f);
        flex1_out = 0;
        flex2_out = 0;
        dome_out = 0;
        rasant_out = 0;
        ringRGB_R_out = 0;
        ringRGB_G_out = 0;
        ringRGB_B_out = 0;
        wait(0.5f);
        */
        /* Conveyor test */
        /*
        moveConveyor(CONV_DIR_FW, 10000);
        wait(3);
        stopConveyor();
        wait(2);
        moveConveyor(CONV_DIR_RV, 20000);
        wait(3);
        stopConveyor();
        wait(2);
        */
    }
}