Skip to content

Commit

Permalink
Merge pull request #19 from DynamicPerception/print_integration
Browse files Browse the repository at this point in the history
Made MoCoBus write() public
  • Loading branch information
mploof committed Jun 17, 2016
2 parents bbcf4fe + 1e613bf commit 8087629
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions OMMoCoBus/OMMoCoBus.h
Expand Up @@ -209,6 +209,7 @@ class OMMoCoBus {
float ntof(uint8_t* p_dat);

uint8_t getPacket();
void write(uint8_t p_dat);

protected:

Expand All @@ -220,8 +221,7 @@ class OMMoCoBus {
void sendPacketHeader(uint8_t p_addr, uint8_t p_subaddr, uint8_t p_code, uint8_t p_dlen);
void sendPacketHeader(uint8_t p_addr, uint8_t p_code, uint8_t p_dlen);

// writing raw data (command or response contents)
void write(uint8_t p_dat);
// writing raw data (command or response contents)
void write(unsigned int p_dat);
void write(int p_dat);
void write(unsigned long p_dat);
Expand Down

0 comments on commit 8087629

Please sign in to comment.