Mike Etek Controller

Dependencies:   mbed

structs.h

Committer:
austinbrown124
Date:
2019-04-06
Revision:
1:94193b31f0ee
Parent:
0:9edd6ec0f56a

File content as of revision 1:94193b31f0ee:

#ifndef STRUCTS_H
#define STRUCTS_H

#include "mbed.h"

    
typedef struct{

    float i_motor;
    float v_bus;
    float v_output;
    int loop_count;
    int mode;
    } HardwareStruct;
    

    
    

typedef struct{
    int can_dead_count;
    float throttle_frac;
    int status;
    } CommandStruct;


    
#endif