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.
mbed/dtostrf.h@7:ef1f092165eb, 2016-12-28 (annotated)
- Committer:
- cassyarduino
- Date:
- Wed Dec 28 13:02:52 2016 +0000
- Revision:
- 7:ef1f092165eb
- Child:
- 35:f9f3a91fe4d4
Try add using print class
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
cassyarduino | 7:ef1f092165eb | 1 | /* |
cassyarduino | 7:ef1f092165eb | 2 | dtostrf - Emulation for dtostrf function from avr-libc |
cassyarduino | 7:ef1f092165eb | 3 | Copyright (c) 2013 Arduino. All rights reserved. |
cassyarduino | 7:ef1f092165eb | 4 | Written by Cristian Maglie <c.maglie@bug.st> |
cassyarduino | 7:ef1f092165eb | 5 | |
cassyarduino | 7:ef1f092165eb | 6 | This library is free software; you can redistribute it and/or |
cassyarduino | 7:ef1f092165eb | 7 | modify it under the terms of the GNU Lesser General Public |
cassyarduino | 7:ef1f092165eb | 8 | License as published by the Free Software Foundation; either |
cassyarduino | 7:ef1f092165eb | 9 | version 2.1 of the License, or (at your option) any later version. |
cassyarduino | 7:ef1f092165eb | 10 | |
cassyarduino | 7:ef1f092165eb | 11 | This library is distributed in the hope that it will be useful, |
cassyarduino | 7:ef1f092165eb | 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
cassyarduino | 7:ef1f092165eb | 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
cassyarduino | 7:ef1f092165eb | 14 | Lesser General Public License for more details. |
cassyarduino | 7:ef1f092165eb | 15 | |
cassyarduino | 7:ef1f092165eb | 16 | You should have received a copy of the GNU Lesser General Public |
cassyarduino | 7:ef1f092165eb | 17 | License along with this library; if not, write to the Free Software |
cassyarduino | 7:ef1f092165eb | 18 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
cassyarduino | 7:ef1f092165eb | 19 | */ |
cassyarduino | 7:ef1f092165eb | 20 | |
cassyarduino | 7:ef1f092165eb | 21 | #ifdef __cplusplus |
cassyarduino | 7:ef1f092165eb | 22 | extern "C" { |
cassyarduino | 7:ef1f092165eb | 23 | #endif |
cassyarduino | 7:ef1f092165eb | 24 | |
cassyarduino | 7:ef1f092165eb | 25 | char *dtostrf (double val, signed char width, unsigned char prec, char *sout); |
cassyarduino | 7:ef1f092165eb | 26 | |
cassyarduino | 7:ef1f092165eb | 27 | #ifdef __cplusplus |
cassyarduino | 7:ef1f092165eb | 28 | } |
cassyarduino | 7:ef1f092165eb | 29 | #endif |