Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: CANBuffer mbed SystemManagement mbed-rtos
DC_DC/DC_DC.h
- Committer:
- martydd3
- Date:
- 2014-10-10
- Revision:
- 7:5f6e31faa08e
- Parent:
- 6:6a04210a3f4f
File content as of revision 7:5f6e31faa08e:
#ifndef _FILE_DC_DC_H
#define _FILE_DC_DC_H
#include "CANBuffer.h"
#include "FanPump.h"
#include "rtos.h"
const int TX_DC_DC_ID = ((4 << 8) | 5);
const int RX_DC_DC_ID = ((4 << 8) | 14);
class DC{
public:
DC(FanPump *fanPump, CANBuffer *can); //constructor takes function to shut down certain processes when off
bool is_on();
void set(bool status);
void start_update();
};
#endif