Vision Industrielle / IHM pour pilotage éclairage et convoyeur

Dependencies:   F746_GUI_vV mbed Vision_Indus_IHM

main.cpp

Committer:
villemejane
Date:
2021-11-14
Revision:
27:3ac3f6c77c88
Parent:
26:9f98a43d4098
Child:
28:f7212a4a7952

File content as of revision 27:3ac3f6c77c88:

//-----------------------------------------------------------------------
//  
//  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);
        
        /* Conveyor test */
        moveConveyor(CONV_DIR_FW, 10000);
        wait(3);
        stopConveyor();
        wait(2);
        moveConveyor(CONV_DIR_RV, 20000);
        wait(3);
        stopConveyor();
        wait(2);
    }
}