aa

Dependencies:   mbed MCP23017

main.cpp

Committer:
M_souta
Date:
2020-01-20
Revision:
0:db8d4af513c0
Child:
1:5b0303768126

File content as of revision 0:db8d4af513c0:

#include "mbed.h"
#include "Motor.h"
#include "MCP.h"
#include "XBee.h"

#define SDA PB_7 
#define SCL PB_6
#define MCP_ADDRESS 0x40

MCP MCP(SDA, SCL, MCP_ADDRESS);

XBEE::ControllerData *controller;

int main() {
    
    while(1) {
        controller = XBEE::Controller::GetData();
        
        /* write ↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓ */
        
        
    }
}