UIPEthernet library for Arduino IDE, Eclipse with arduino plugin and MBED/SMeshStudio (AVR,STM32F,ESP8266,Intel ARC32,Nordic nRF51,Teensy boards,Realtek Ameba(RTL8195A,RTL8710)), ENC28j60 network chip. Compatible with Wiznet W5100 Ethernet library API. Compiled and tested on Nucleo-F302R8. Master repository is: https://github.com/UIPEthernet/UIPEthernet/
mbed/itoa.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 | Copyright (c) 2011 Arduino. All right reserved. |
cassyarduino | 7:ef1f092165eb | 3 | |
cassyarduino | 7:ef1f092165eb | 4 | This library is free software; you can redistribute it and/or |
cassyarduino | 7:ef1f092165eb | 5 | modify it under the terms of the GNU Lesser General Public |
cassyarduino | 7:ef1f092165eb | 6 | License as published by the Free Software Foundation; either |
cassyarduino | 7:ef1f092165eb | 7 | version 2.1 of the License, or (at your option) any later version. |
cassyarduino | 7:ef1f092165eb | 8 | |
cassyarduino | 7:ef1f092165eb | 9 | This library is distributed in the hope that it will be useful, |
cassyarduino | 7:ef1f092165eb | 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
cassyarduino | 7:ef1f092165eb | 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
cassyarduino | 7:ef1f092165eb | 12 | See the GNU Lesser General Public License for more details. |
cassyarduino | 7:ef1f092165eb | 13 | |
cassyarduino | 7:ef1f092165eb | 14 | You should have received a copy of the GNU Lesser General Public |
cassyarduino | 7:ef1f092165eb | 15 | License along with this library; if not, write to the Free Software |
cassyarduino | 7:ef1f092165eb | 16 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
cassyarduino | 7:ef1f092165eb | 17 | */ |
cassyarduino | 7:ef1f092165eb | 18 | |
cassyarduino | 7:ef1f092165eb | 19 | #ifndef _ITOA_ |
cassyarduino | 7:ef1f092165eb | 20 | #define _ITOA_ |
cassyarduino | 7:ef1f092165eb | 21 | |
cassyarduino | 7:ef1f092165eb | 22 | #ifdef __cplusplus |
cassyarduino | 7:ef1f092165eb | 23 | extern "C"{ |
cassyarduino | 7:ef1f092165eb | 24 | #endif // __cplusplus |
cassyarduino | 7:ef1f092165eb | 25 | |
cassyarduino | 7:ef1f092165eb | 26 | #if 0 |
cassyarduino | 7:ef1f092165eb | 27 | |
cassyarduino | 7:ef1f092165eb | 28 | extern void itoa( int n, char s[] ) ; |
cassyarduino | 7:ef1f092165eb | 29 | |
cassyarduino | 7:ef1f092165eb | 30 | #else |
cassyarduino | 7:ef1f092165eb | 31 | |
cassyarduino | 7:ef1f092165eb | 32 | extern char* itoa( int value, char *string, int radix ) ; |
cassyarduino | 7:ef1f092165eb | 33 | extern char* ltoa( long value, char *string, int radix ) ; |
cassyarduino | 7:ef1f092165eb | 34 | extern char* utoa( unsigned long value, char *string, int radix ) ; |
cassyarduino | 7:ef1f092165eb | 35 | extern char* ultoa( unsigned long value, char *string, int radix ) ; |
cassyarduino | 7:ef1f092165eb | 36 | #endif /* 0 */ |
cassyarduino | 7:ef1f092165eb | 37 | |
cassyarduino | 7:ef1f092165eb | 38 | #ifdef __cplusplus |
cassyarduino | 7:ef1f092165eb | 39 | } // extern "C" |
cassyarduino | 7:ef1f092165eb | 40 | #endif // __cplusplus |
cassyarduino | 7:ef1f092165eb | 41 | |
cassyarduino | 7:ef1f092165eb | 42 | #endif // _ITOA_ |