Hello
The HexToInt() function seems quite buggy, unreliable.
For example,
HexToInt("38") returns 0
as does
HexToInt("39") returns 0
Perhaps you should implement the good old strtol().
Regards,
Kevin Tetreault
Search found 6 matches
- 02 Dec 2021 17:04
- Forum: mikroC PRO for ARM General
- Topic: HexToInt() often doesn't work
- Replies: 1
- Views: 847
- 17 Nov 2021 15:26
- Forum: Development Boards
- Topic: Mikromedia 7 Capacitive FPI - touch not working
- Replies: 1
- Views: 644
Mikromedia 7 Capacitive FPI - touch not working
Hello, I could use some technical support. I have been trying to get a Mikromedia 7 Capacitive FPI working for over a week now with support from the help desk. The touch function does not seem to work. Does the MikroC/Visual TFT support this board? I have tried the demo recommended by help desk 'Mik...
- 25 Jun 2021 16:25
- Forum: ARM AI Compilers
- Topic: uart_write() strange behaviour
- Replies: 1
- Views: 1476
uart_write() strange behaviour
Hi, I'm using uart_write() to send a 7 byte array out the serial port (mikroBUS 1) every second. uart_write(&uart, frame, 7); I have the uart library set for blocking operation (mikroSDK 2.0). hardware: EasyMxPro v7, STM32F107VC The 1st write sends out 9 bytes, and subsequent writes send out typical...
- 25 Jun 2021 14:48
- Forum: ARM AI Compilers
- Topic: conversion functions are not being found
- Replies: 1
- Views: 1375
conversion functions are not being found
Hi,
I have a project using mikroSDK library and I've checked and applied Conversion library and it is listed in the dependencies.
But when I type in a function name in the editor, I get 'undefined identifier' errors for any of the conversion functions.
What am I missing?
I have a project using mikroSDK library and I've checked and applied Conversion library and it is listed in the dependencies.
But when I type in a function name in the editor, I get 'undefined identifier' errors for any of the conversion functions.
What am I missing?
- 21 Jun 2021 19:39
- Forum: mikroC PRO for ARM General
- Topic: Undeclared identifier 'mikrobus_uartInit'
- Replies: 4
- Views: 1243
Re: Undeclared identifier 'mikrobus_uartInit'
Hi,
Turned out I was missing the project level define file.
Needed:
ENABLE_LOG
ENABLE_UART
Turned out I was missing the project level define file.
Needed:
ENABLE_LOG
ENABLE_UART
- 07 Jun 2021 19:48
- Forum: mikroC PRO for ARM General
- Topic: Undeclared identifier 'mikrobus_uartInit'
- Replies: 4
- Views: 1243
Undeclared identifier 'mikrobus_uartInit'
Hi, I'm trying to use Dual click LIN board with the EasyMX Pro v7 for STM32 ARM. I've included 'easymx_v7_STM32F107VC' and 'DualLIN_STM32_M3' in the Library Manager. I've also added to my Search Paths: C:\Users\Public\Documents\Mikroelektronika\mikroC PRO for ARM\Packages\mikroBUS BDF API\Uses\ The ...