Search found 69 matches
- 03 Apr 2017 14:22
- Forum: mikroC PRO for PIC General
- Topic: sprinti function malfunction
- Replies: 5
- Views: 3022
Re: sprinti function malfunction
try sprinti(someBuffer, "{digital_outputs %c %c %c %c}",0x0031,0x0031,0x0031,0x0030); or maybe sprinti(someBuffer, "{digital_outputs %c %c %c %c}",(int)'1',(int)'1',(int)'1',(int)'0'); As per library documentation, sprinti not necessarily prints only integers, it can print anything except long or f...
- 03 Apr 2017 14:16
- Forum: mikroC PRO for PIC General
- Topic: sprinti function malfunction
- Replies: 5
- Views: 3022
Re: sprinti function malfunction
please send whole project folder in .zip archive so I can reproduce the issue. this is complete project, void main() { char someBuffer[100]; uart1_init(230400); delay_ms(10); sprinti(someBuffer, "{digital_outputs %c %c %c %c}",'1','1','1','0'); uart1_write_text(someBuffer); } Also attached zip file...
- 30 Mar 2017 06:22
- Forum: mikroC PRO for PIC General
- Topic: sprinti function malfunction
- Replies: 5
- Views: 3022
sprinti function malfunction
Code: Select all
char someBuffer[100];
sprinti(someBuffer, "{digital_outputs %c %c %c %c}",'1','1','1','0');
But result is {digital_outputs 1 1 0x0F Z}
May I know where I'm doing mistake? Or is it compiler bug?
Thank you.
- 15 Mar 2017 10:50
- Forum: mikroC PRO for PIC General
- Topic: How to Reset mikroC IDE layout
- Replies: 1
- Views: 2065
How to Reset mikroC IDE layout
is there are way to Reset mikroC IDE layout to default?
My IDE looks as attached and I'm unable to restore it to default.
My IDE looks as attached and I'm unable to restore it to default.
- 16 Mar 2016 07:06
- Forum: mikroC PRO for PIC General
- Topic: conflict between spi FAT16 and internal ethernet library
- Replies: 1
- Views: 1012
conflict between spi FAT16 and internal ethernet library
Hello mikroElektronika! I'm using lv18fj development board and PIC18F87J60, in demo code, html and four image files are placed in internal flash memory. When I place them in memory card, page loads in about 45sec instead of 10 seconds. Before I though it may be due to slow response of SD card, but n...
- 27 Jul 2014 05:16
- Forum: mikroC PRO for PIC General
- Topic: Crypto Library available at Libstock
- Replies: 18
- Views: 12284
Re: Crypto Library available at Libstock
unfortunately example folder is empty. also there is no help.
- 14 Apr 2014 11:22
- Forum: Development Boards
- Topic: bug in GSM 2 click
- Replies: 15
- Views: 10208
Re: bug in GSM 2 click
NO REPLY????
- 08 Apr 2014 07:04
- Forum: Development Boards
- Topic: bug in GSM 2 click
- Replies: 15
- Views: 10208
Re: bug in GSM 2 click
All GPS Click and GSM Click boards can work on 3,3V, why to use 5V then and what is purpose of usage 3,3V and 5V on the same Click board? It is clear from MikroBus specifications that we can power up click board either with 5V or with 3.3V http://www.mikroe.com/img/designs/alpha/static/mikrobus/mik...
- 04 Apr 2014 16:39
- Forum: Development Boards
- Topic: bug in GSM 2 click
- Replies: 15
- Views: 10208
Re: bug in GSM 2 click
GPS on GSM2 Click? Peter I actually purchased two click boards, one GSM and one GPS, along with easy PIC version 7. do you think every click board will have its own special designed mikroBus??? isn't it possible that we can use any click board on it? by the way, attached is schematic of mikroBus th...
- 04 Apr 2014 07:53
- Forum: Development Boards
- Topic: bug in GSM 2 click
- Replies: 15
- Views: 10208
bug in GSM 2 click
GSM 2 click needs voltage signal on both 3.3V and 5V pins, this was a silly thing that wasted two months on debugging. i made my own custom PCB with two mikrobus sockets on it, and PIC18f25k22. and I only connected voltage source at 3.3V pin of mikroBus, and left 5V open. GPS worked fine, and GSM fa...
- 20 Dec 2013 15:39
- Forum: mikroC PRO for ARM General
- Topic: writing function for external hardware interrupt
- Replies: 0
- Views: 1776
writing function for external hardware interrupt
hello! I am using MikroMeida Plus for STM32, there is IR sensor connected at 10th pin of PORTB (IDR10_GPIOB_IDR_bit), I want to use external hardware interrupt at this pin, there is an example provided with compiler for external hardware interrupt which declares interrupt in this way void ExtInt() i...
- 12 Nov 2013 18:59
- Forum: mikroC PRO for ARM Wish List
- Topic: why no MikroC for STM8S?????
- Replies: 4
- Views: 5988
why no MikroC for STM8S?????
my question is in the topic, why there is no MikroC for STM8S???
- 07 Nov 2013 15:30
- Forum: Library Development Discussion
- Topic: Not enough RAM
- Replies: 3
- Views: 4915
Re: Not enough RAM
save data in ROM instead of RAM
like const char LCD_DATA[80] = "123456789012345678901234567890";
it will save lot of RAM
like const char LCD_DATA[80] = "123456789012345678901234567890";
it will save lot of RAM
- 07 Nov 2013 15:28
- Forum: mikroC PRO for ARM General
- Topic: Flush UART RX buffer
- Replies: 1
- Views: 2236
Re: Flush UART RX buffer
yea, it is easy,
just write temp=uart1_read();//it will make RX ready for receiving next byte.
just write temp=uart1_read();//it will make RX ready for receiving next byte.
- 29 Oct 2013 02:15
- Forum: Development Boards
- Topic: bug in EasyPIC Version 7
- Replies: 11
- Views: 3595
Re: bug in EasyPIC Version 7
filip wrote: The solution may be that there are additional jumpers that are used to select which UART module is connected to a certain mikroBUS.
Regards,
Filip.
But unfortunately you have missed those jumpers for mikroBus sockets.