This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define HZ 60. | |
#define ELE_IN 12 | |
#define ELE_OUT 11 | |
#define WINCH_OUT 10 | |
#define THRUST_IN 9 | |
#define AIL_IN 8 | |
#define AIL_L_OUT 7 | |
#define AIL_R_OUT 6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//all are /application/json | |
//Offering an item | |
// POST request to endpoint /api/postItem | |
{ | |
itemName: String, | |
itemPrice: Number, | |
Description: String, | |
lockerCode: String, | |
image: String, //BASE64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//all are /application/json | |
//Offering an item | |
// POST request to endpoint /api/postItem | |
{ | |
itemName: String, | |
itemPrice: Number, | |
Description: String, | |
lockerCode: String, | |
image: String, //BASE64 |