主にオムニです。

Dependencies:   EC mbed HCSR04

Fork of asimawari by yuto kawamura

ACT/max_determine.h

Committer:
yuto17320508
Date:
2017-10-25
Revision:
2:0a99389df632
Parent:
max_determine.h@ 0:1787ed4e6e61

File content as of revision 2:0a99389df632:


double max()
{
    double m=0;
    for(i=0; i<=2; i++) {
        
        double MAX=fabs(M[i]);
        if(MAX >= m) {
            m=MAX;
        }

    }
    return m;
}