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