garimella
Full Member level 5
- Joined
- Aug 25, 2011
- Messages
- 268
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,296
- Activity points
- 3,361
I am using PIC24F series and went through the project wizard. Is it possible to go back to the wizard and include some other functions. I find that wizard is only one time and we cannot revert back without creating new project.
My second problem is running the compiled code from ccs in proteus. My code has look up table defined as A[100]={1,2....}; I am reading the input port (port b) and assigning the output port (g port) with the value corresponding to the element of array
int x= input_b();
output_g(A[x]);
The above code is working if the inputs to port b is given as static (either in logic 1 or zero in proteus)
But if I connect a counter output to port b, then outputs in g port does not reflect the array value. Why?
My second problem is running the compiled code from ccs in proteus. My code has look up table defined as A[100]={1,2....}; I am reading the input port (port b) and assigning the output port (g port) with the value corresponding to the element of array
int x= input_b();
output_g(A[x]);
The above code is working if the inputs to port b is given as static (either in logic 1 or zero in proteus)
But if I connect a counter output to port b, then outputs in g port does not reflect the array value. Why?