Author |
Message |
Topic: I can not use Ram area |
mehmetem
Replies: 7
Views: 9942
|
Forum: General CCS C Discussion Posted: Fri Sep 20, 2013 2:03 am Subject: I can not use Ram area |
I have a problem; with
float VoltValTemp=0, time3totalVal=0.0, first=0.1;
running code with
float VoltValTemp=0;
float time3totalVal=0.0;
float first=0.1; does not works. This is very ab ... |
Topic: I can not use Ram area |
mehmetem
Replies: 7
Views: 9942
|
Forum: General CCS C Discussion Posted: Thu Sep 19, 2013 7:13 am Subject: I can not use Ram area |
I'd just declare yerPtr, as:
int8 *yerPtr;
and initialise it explicitly in the code. Same applies to your other pointers later.
Initialisation 'in declaration', is a thing that often didn't wo ... |
Topic: I can not use Ram area |
mehmetem
Replies: 7
Views: 9942
|
Forum: General CCS C Discussion Posted: Thu Sep 19, 2013 4:16 am Subject: I can not use Ram area |
Thank you for your kind attention and assistance.
1- I did not use large math functions. So I do not need so much stack.
2- I'm not using ICD. #include "D:\projects\tezgahKod\revX\AnaKart ... |
Topic: I can not use Ram area |
mehmetem
Replies: 7
Views: 9942
|
Forum: General CCS C Discussion Posted: Thu Sep 19, 2013 12:47 am Subject: I can not use Ram area |
I'm using ccs v4.114 compiler. I used dspic33fj32mc204. I realised that when my variables inreases ( 21 pieces int16 and 182 pieces int8 2 pieces float and some local variables) exceeds 256 byte my co ... |
Topic: pic16f877a i2c slave problem |
mehmetem
Replies: 4
Views: 8247
|
Forum: General CCS C Discussion Posted: Sat Sep 10, 2011 2:12 pm Subject: There is not anything, Don't forget pull-up' MY WORKING CODE |
BYTE address, BufferTxt[20], buffer[20];
#INT_SSP
void ssp_interupt ()
{
BYTE incoming, state;
state = i2c_isr_state();
if(state ... |
Topic: Arbitrary working Timer |
mehmetem
Replies: 3
Views: 5527
|
Forum: General CCS C Discussion Posted: Wed Aug 10, 2011 2:52 am Subject: I'm asking I'm answering |
I solved. volatile unsigned int16 count=0; |
Topic: Arbitrary working Timer |
mehmetem
Replies: 3
Views: 5527
|
Forum: General CCS C Discussion Posted: Mon Aug 08, 2011 3:55 am Subject: Arbitrary working Timer |
My setup qei;
setup_qei(QEI_MODE_X4|QEI_RESET_WHEN_IDX_PULSE,QEI_FILTER_DIV_1|QEI_IDX_WHEN_A0_B0,1439);
#FUSES NOWDT //No Watch Dog Timer
#FUSES NOWRTB //Bo ... |
Topic: Arbitrary working Timer |
mehmetem
Replies: 3
Views: 5527
|
Forum: General CCS C Discussion Posted: Mon Aug 08, 2011 1:33 am Subject: Arbitrary working Timer |
Hi Everyody,
Timer2 is set as
setup_timer2(TMR_INTERNAL |TMR_DIV_BY_1, 255);
in my code for dsPic33fj32mc204.
The last command "output_toggle(Q3);" is executed all times.
... |
Topic: qei index pulse could not reset |
mehmetem
Replies: 1
Views: 3471
|
Forum: General CCS C Discussion Posted: Wed Aug 03, 2011 5:04 am Subject: I solved. |
*(RPINR14+2)=19; //ind remap (my index pin) //index pini rp19
I'm sorry for my broken English. |
Topic: qei index pulse could not reset |
mehmetem
Replies: 1
Views: 3471
|
Forum: General CCS C Discussion Posted: Wed Aug 03, 2011 1:36 am Subject: qei index pulse could not reset |
Hi All,
I'm trying to use dsPic33fj32mc204 and quadrature encoder.
in main() function:
setup_qei(QEI_MODE_X4|QEI_RESET_WHEN_IDX_PULSE,QEI_FILTER_DIV_1|QEI_IDX_WHEN_A0_B0);
in timer2 ... |
Topic: pic16f877a i2c slave problem |
mehmetem
Replies: 4
Views: 8247
|
Forum: General CCS C Discussion Posted: Wed Aug 03, 2011 12:57 am Subject: Thank you, I solved problem. |
|
Topic: pic16f877a i2c slave problem |
mehmetem
Replies: 4
Views: 8247
|
Forum: General CCS C Discussion Posted: Fri Jul 29, 2011 8:25 am Subject: pic16f877a i2c slave problem |
Hi All,
I have a problem; I could not simulate ex_slave example.
My master code:
#include <16F877A.h>
#device adc=8
#FUSES NOWDT //No Watch Dog Timer
#FUSES HS ... |
|