I found a trick. In the first initializing, call standart Expander Init function, In the second and later, call standart Init function but use an unused pin for reset purpose in the function call. This will solve the problem.
Hi, While using Port Expander library, what i noticed, if there is more than one expander ic on your board and you try to switch one to the other, you have to use the Init function and this function resets the ic which causes the ic has its default startup parameters. so, if you initialized an ic as...
yes, i soldered it and yes again, i may change my design unless the change is so much complex. Current board is testing purpose. After everything is ok then i will send the new one for production
Thanks for the answer. I have thought about it and have had a look at the datasheet but could not see any info. But i will check it again in case i missed a few lines.
Are you sure that your code is written in MikroC ? If you want to get a proper answer then you should port your code into MikroC. So we can then test it, if needed.
Hi friends, My project board contains a digital potentiometer, ISL22326 , which has two potentiometer in it. One is used for the GLCD backlight and the other is for contrast control. Potentiometers have control pins left open. For Backlight control, one pin is connected to the 5V and the other one i...
hie friends, Thanks for the answers. As much as i understood that the safety way is, 1. Read each ic data sheet, find maximum power consumption values. 2. Add some margin to the total value A have a 0-30V , 0-5A power supply to feed the board, but it is an analog type and its display does not help t...
Hi friends, I have a project board. Hardware is done and currently finishing the software part. I have a 5V regulator which has low drop-out and outputs 1.5A at the rated voltage. In normal circumstance, regulator does not get hot and works well. But, my current test environment is not full loaded a...
Hi, I tested your code with a Pic18F8722 board. The error messages that i received were "const not found". Step by step, by uncommenting down your code, i tried to find where the problem is. Anyway, at last, i found the error and compiled your code with success. Here is the error in your code; Your ...
Hi, If you send me your whole code, as removed all commended lines, then i will remove mcu specific lines and run your code. According to the error messages i will get , i will figure out where the problem is. Do not post the whole code here. I will make mu e-mail address is visible, if it not alrea...
Hi, As much as i know, there is no any limitation in MikroC for code line count. The only limitation is the size of your code which depends on the licence that you currently have. I read a few message from people that complain the strange behaviour of their compilers, even they have a valid licence....