mirror of https://github.com/noisymime/Arduino.git
Adding write(str) and write(buf, size) for USB CDC.
So that they work on the Leonardo. http://code.google.com/p/arduino/issues/detail?id=958
This commit is contained in:
parent
57ed5ba6f2
commit
f833374312
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Workspace
|
||||
version = "1.0">
|
||||
<FileRef
|
||||
location = "group:../../libraries">
|
||||
</FileRef>
|
||||
<FileRef
|
||||
location = "group:../../hardware">
|
||||
</FileRef>
|
||||
<FileRef
|
||||
location = "group:../../app/src/processing">
|
||||
</FileRef>
|
||||
</Workspace>
|
7672
build/macosx/arduino.xcworkspace/xcuserdata/mellis.xcuserdatad/UserInterfaceState.xcuserstate
generated
Normal file
7672
build/macosx/arduino.xcworkspace/xcuserdata/mellis.xcuserdatad/UserInterfaceState.xcuserstate
generated
Normal file
File diff suppressed because it is too large
Load Diff
|
@ -39,6 +39,7 @@ public:
|
|||
virtual int read(void);
|
||||
virtual void flush(void);
|
||||
virtual size_t write(uint8_t);
|
||||
using Print::write; // pull in write(str) and write(buf, size) from Print
|
||||
operator bool();
|
||||
};
|
||||
extern Serial_ Serial;
|
||||
|
|
Loading…
Reference in New Issue