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: mbed
main.cpp
- Committer:
- CharlesBl
- Date:
- 2019-03-18
- Revision:
- 8:14c5ba6aa06d
- Parent:
- 7:a59d1efdbfe1
File content as of revision 8:14c5ba6aa06d:
#include "mbed.h"
#include "Controler.h"
#include "Stepper.h"
#define VITESSE_MAX 1000
#define CHARRIOT_STEP_pin D3
#define CHARRIOT_DIR_pin D4
#define CHARRIOT_ENABLE_pin D7
#define MCP_TX_pin D10
#define MCP_RX_pin D2
Controler mcp(128,MCP_TX_pin,MCP_RX_pin,115200);
Stepper chariot(CHARRIOT_DIR_pin, CHARRIOT_STEP_pin, CHARRIOT_ENABLE_pin);
Serial pc(SERIAL_TX, SERIAL_RX);
int main()
{
}