The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.
Dependents: hello SerialTestv11 SerialTestv12 Sierpinski ... more
mbed 2
This is the mbed 2 library. If you'd like to learn about Mbed OS please see the mbed-os docs.
Diff: CAN.h
- Revision:
- 21:3944f1e2fa4f
- Parent:
- 12:f63353af7be8
- Child:
- 22:9114680c05da
--- a/CAN.h Thu Jun 03 11:17:50 2010 +0000 +++ b/CAN.h Thu Jun 17 16:23:14 2010 +0000 @@ -152,8 +152,9 @@ * * Variables: * hz - The bus frequency in hertz + * returns - 1 if successful, 0 otherwise */ - void frequency(int hz); + int frequency(int hz); /* Function: write * Write a CANMessage to the bus.