Search found 240 matches
- 23 Oct 2015 08:58
- Forum: mikroC PRO for PIC32 General
- Topic: Conversion (casting) pointers of type char* to int*
- Replies: 3
- Views: 2470
Re: Conversion (casting) pointers of type char* to int*
Hello, It seems that the pointer arithmetic was somehow off, try using the following code: void main() { char ctext[5]; int i = 0; int size = sizeof( BP4 ) / 2; unsigned int* pCx = (unsigned int*)BP4; //BP1; //&BP2[0]; for( i = 0; i < size; i++ ) { WordToHex( *pCx, ctext ); pCx++; } } Best regards, ...
- 23 Oct 2015 07:47
- Forum: mikroBasic PRO for PIC General
- Topic: 320x240 GLCD graphics not displayed well
- Replies: 25
- Views: 9924
Re: 320x240 GLCD graphics not displayed well
Hello,
It seems that even this black circle has errors. You can see the top horizontal line being incompletely drawn.
Can you try drawing just horizontal lines there where they are cut of in this image? This will give me a clue where the error maybe lies.
Best regards,
Viktor Milovanovic
It seems that even this black circle has errors. You can see the top horizontal line being incompletely drawn.
Can you try drawing just horizontal lines there where they are cut of in this image? This will give me a clue where the error maybe lies.
Best regards,
Viktor Milovanovic
- 22 Oct 2015 08:23
- Forum: Development Boards
- Topic: Clicker P32MX534F064H
- Replies: 19
- Views: 5937
Re: Clicker P32MX534F064H
Hello, In the help files for MikroC Pro for PIC32, search for CAN library. At the bottom you will find an example for these microcontrollers. Just make sure you set your pin configuration right. Also, you must initialize the correct CAN module. Refer to the datasheet of your MCU (http://ww1.microchi...
- 21 Oct 2015 15:43
- Forum: mikroC PRO for ARM General
- Topic: HID Terminal not responding
- Replies: 1
- Views: 1474
Re: HID Terminal not responding
Hello,
I believe I have answered you on the ticket. I will leave this open for other users to see and contribute if they want.
Best regards,
Viktor Milovanovic
I believe I have answered you on the ticket. I will leave this open for other users to see and contribute if they want.
Best regards,
Viktor Milovanovic
- 20 Oct 2015 13:52
- Forum: User Projects
- Topic: PIC 16F684 waking up on a button press
- Replies: 8
- Views: 4816
Re: PIC 16F684 waking up on a button press
Hello, Try to see if your program ever leaves the ISR after it jumps to it. If it does, and returns to while, it is possible that your LED does not flash because of something known as read-modify-write problems, which occur on PICs without LAT register: http://www.mikroe.com/download/eng/documents/c...
- 20 Oct 2015 13:36
- Forum: Development Boards
- Topic: Clicker P32MX534F064H
- Replies: 19
- Views: 5937
Re: Clicker P32MX534F064H
Hello, We have the CAN -1 board: http://www.mikroe.com/add-on-boards/communication/can/ It uses standard GPIO pins for communication. The clicker has connection pads to which you can connect the board ( http://www.mikroe.com/downloads/get/2207/pic32mx_clicker_manual_v101.pdf, page 22) Best regards, ...
- 19 Oct 2015 15:09
- Forum: mikroC PRO for PIC General
- Topic: rs485 communication
- Replies: 1
- Views: 882
Re: rs485 communication
Hello, Which MCU are you using? You can use some other pin for pwm, or for your RS-485 communication, just make sure you set the hardware right, and make sure you are using the right UART module for RS-485. In our help files, under the RS-485 library, you can find a small example which should introd...
- 19 Oct 2015 15:00
- Forum: mikroC PRO for ARM General
- Topic: Label redrawing wrong thing in wrong location
- Replies: 3
- Views: 1833
Re: Label redrawing wrong thing in wrong location
Hello,
Can you maybe make a small project which would represent this error and zip and attach it here?
That way, I could inspect this further and hopefully get to the bottom of this issue.
Best regards,
Viktor Milovanovic
Can you maybe make a small project which would represent this error and zip and attach it here?
That way, I could inspect this further and hopefully get to the bottom of this issue.
Best regards,
Viktor Milovanovic
- 19 Oct 2015 14:51
- Forum: mikroC PRO for ARM General
- Topic: WiFi 2 on Stellaris Board
- Replies: 9
- Views: 7926
Re: WiFi 2 on Stellaris Board
Hello, Looking at the code which you provided here, I cannot see any reason why it shouldn't work, your pins are mapped correctly, and you are using the correct UART module (as stated in the datasheet). I can only suggest you go through the driver.c file thoroughly again to see if you missed somethi...
- 19 Oct 2015 13:59
- Forum: mikroBasic PRO for PIC General
- Topic: 320x240 GLCD graphics not displayed well
- Replies: 25
- Views: 9924
Re: 320x240 GLCD graphics not displayed well
Hello,
Can you check if you turned off all comparators and set all ANSEL registers to 0?
Best regards,
Viktor Milovanovic
Can you check if you turned off all comparators and set all ANSEL registers to 0?
Best regards,
Viktor Milovanovic
- 19 Oct 2015 12:42
- Forum: mikroC PRO for dsPIC30/33 and PIC24 General
- Topic: Apparent Malfunction with the dsPIC Filter Design App.
- Replies: 3
- Views: 2013
Re: Apparent Malfunction with the dsPIC Filter Design App.
Hello Joe, I am sorry for the inconvenience. You can copy and paste the code using keyboard shortcuts CTRL+C and CTRL+V. As for the right-click, I will forward this to our software development team and hope they will add this in their next update. Thank you for your feedback, and once more, sorry fo...
- 16 Oct 2015 14:14
- Forum: mikroC PRO for PIC General
- Topic: Calculation using different data types
- Replies: 1
- Views: 1045
Re: Calculation using different data types
Hello,
I went through the debugger and found no issue with this calculation. What values are you getting?
Best regards,
Viktor Milovanovic
I went through the debugger and found no issue with this calculation. What values are you getting?
Best regards,
Viktor Milovanovic
- 16 Oct 2015 11:55
- Forum: mikroBasic PRO for PIC General
- Topic: 320x240 GLCD graphics not displayed well
- Replies: 25
- Views: 9924
Re: 320x240 GLCD graphics not displayed well
Hello, The problem which ahmed.hasib had was somehow solved when he changed his MCU from pic18f45k22 to pic18f452. If you can, try your code with some other MCU. In the meantime, I will talk to my coworkers who have developed the GLCD library to see where the error could be. Best regards, Viktor Mil...
- 16 Oct 2015 10:22
- Forum: mikroC PRO for PIC General
- Topic: pointer problem
- Replies: 1
- Views: 1079
Re: pointer problem
Hello, You have the pointer *p defined as a pointer to an integer, while you have COIN_VALUE_PREVIOUS defined as a string (as you said, 5 bytes long, defined as char). Integer values take up two bytes of memory, while char values take up one byte. When you assigned the address of COIN_VALUE_PREVIOUS...
- 16 Oct 2015 08:50
- Forum: mikroProg™ programmer and debugger
- Topic: Problems with the MikroProg Suite under Windows 10
- Replies: 4
- Views: 5985
Re: Problems with the MikroProg Suite under Windows 10
Hello, If I understood you correctly, everything works fine now? It seems that you have reinstalled the mikroProg drivers when you installed 6.2.1 dsPIC for C which has set your drivers to work properly. As for the surnames of me and my fellow colleagues, a detailed description can be found here, un...