View previous topic :: View next topic |
Author |
Message |
José Aparecido
Joined: 29 May 2019 Posts: 21
|
Conversion Library |
Posted: Thu Jun 06, 2019 5:16 pm |
|
|
Hi, I'm developing a project using a PIC18F4550 microcontroller and an LM044L LCD display. I need a library that converts hexadecimal values (int) to decimals.
Then I will display these decimal values on the LCD display.
Does anyone know where I can find such a library? Or how can I convert the values? Thanks. |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
|
temtronic
Joined: 01 Jul 2010 Posts: 9240 Location: Greensville,Ontario
|
|
Posted: Fri Jun 07, 2019 4:23 am |
|
|
just a helpful hint..
... while your project is open, pressing F11 will display the CCS Manual, when using MPLAB.
it's always there when I'm cutting code...
Jay |
|
|
Ttelmah
Joined: 11 Mar 2010 Posts: 19535
|
|
Posted: Fri Jun 07, 2019 8:04 am |
|
|
and just as a further comment to this, since it is not said where these numbers
are actually coming 'from', if they are hexadecimal, then 'atoi', is the function
to convert ASCII to an integer. |
|
|
|