Author |
Message |
Topic: With #OPT compress on 18f27j13 int16 shift problem |
mjdale2003
Replies: 5
Views: 11789
|
Forum: General CCS C Discussion Posted: Mon Jan 25, 2016 11:27 am Subject: With #OPT compress on 18f27j13 int16 shift problem |
Well spotted thank you, silly me :/ |
Topic: With #OPT compress on 18f27j13 int16 shift problem |
mjdale2003
Replies: 5
Views: 11789
|
Forum: General CCS C Discussion Posted: Mon Jan 25, 2016 9:45 am Subject: With #OPT compress on 18f27j13 int16 shift problem |
hi and thanks for the fast response, i have stripped down the function to a simple routine that assigns a value to the top byte prints, sets a bit then prints again, there is no reason this should fai ... |
Topic: With #OPT compress on 18f27j13 int16 shift problem |
mjdale2003
Replies: 5
Views: 11789
|
Forum: General CCS C Discussion Posted: Mon Jan 25, 2016 5:54 am Subject: With #OPT compress on 18f27j13 int16 shift problem |
Hi, I seem to be having a problem with shifting a 16bit integer when using the #opt compress switch
I am trying to store a 16bit integer in to internal flash.
i have tried both |= (1<<val) ... |
Topic: 18f27j13 usart problem |
mjdale2003
Replies: 5
Views: 10295
|
Forum: General CCS C Discussion Posted: Wed Aug 05, 2015 3:54 am Subject: 18f27j13 usart problem |
i have looked in the list file and there is no reference RPOR10, RPOR9 or address ECA, EC9 which is where i would expect the #pin_select to be doing something |
Topic: 18f27j13 usart problem |
mjdale2003
Replies: 5
Views: 10295
|
Forum: General CCS C Discussion Posted: Wed Aug 05, 2015 3:43 am Subject: 18f27j13 usart problem |
Changed fuses to
#fuses HS,NODEBUG,NOXINST,NOPROTECT,NOWDT,NOCLOCKOUT,NOIOL1WAY,NOWPCFG,NOWPFP
but still no change. The processor is running as i have an oled printing the values of other v ... |
Topic: 18f27j13 usart problem |
mjdale2003
Replies: 5
Views: 10295
|
Forum: General CCS C Discussion Posted: Wed Aug 05, 2015 3:24 am Subject: 18f27j13 usart problem |
Updated the compiler to v5.048 but the problem is still there |
Topic: 18f27j13 usart problem |
mjdale2003
Replies: 5
Views: 10295
|
Forum: General CCS C Discussion Posted: Wed Aug 05, 2015 3:10 am Subject: 18f27j13 usart problem |
Hi,
I can't seem to get either usart to work on this device and some help would be greatly appreciated.
Uart1 does not work at all and uart2 locks the processor up.
In the code there is data ... |
Topic: Drive a floppy or hard disk with PIC. |
mjdale2003
Replies: 4
Views: 7098
|
Forum: General CCS C Discussion Posted: Fri Oct 21, 2005 2:39 pm Subject: IDE |
hello is there any chance i could have a copy of your hdd code please
iv been looking for ages |
Topic: SPI 18f4455 |
mjdale2003
Replies: 3
Views: 6894
|
Forum: General CCS C Discussion Posted: Thu Jul 07, 2005 9:21 am Subject: SPI 18f4455 |
Hi, thanks for the input but it seems that i still cant get it to work, the aplication is not actualy conected to anything i just wish to use the spi as a shift regester so i dont have to do it in sof ... |
Topic: SPI 18f4455 |
mjdale2003
Replies: 3
Views: 6894
|
Forum: General CCS C Discussion Posted: Wed Jun 29, 2005 2:49 am Subject: SPI 18f4455 |
Hello can anyone help with the problem im having :
Iwish to use the spi port as a shift regester to send 8bits of data in 8 clock cycles from D0 so that i dont have to waste the cycles shifting the ... |
Topic: 18f4455 Table read problem |
mjdale2003
Replies: 2
Views: 6740
|
Forum: General CCS C Discussion Posted: Tue Jun 28, 2005 4:48 am Subject: 18f4455 Table read problem |
Hi, i could do with some help with my latest project i am using PCWH 3.222 and the problem is i need to create a table in c some thing like :
char const temp[8] =
{0b00111000,
... |
Topic: 12f683 timer2 |
mjdale2003
Replies: 3
Views: 9101
|
Forum: General CCS C Discussion Posted: Tue Mar 08, 2005 3:29 am Subject: problem |
i am using a 12f683 although the compiler version does not support this chip and the trouble iv had getting other functions to work i think ill just go around the problem, if u think the functions wil ... |
Topic: 12f683 timer2 |
mjdale2003
Replies: 3
Views: 9101
|
Forum: General CCS C Discussion Posted: Mon Mar 07, 2005 2:09 pm Subject: 12f683 timer2 |
Hi, Im having problems writing some code to send a 12f683 to sleep after 2 min's using timer2 although the problem is that i need to do it without useing any of the ccs functions can any one help
R ... |
Topic: Analogue to digital12f683 |
mjdale2003
Replies: 1
Views: 5339
|
Forum: General CCS C Discussion Posted: Wed Feb 16, 2005 9:47 am Subject: Analogue to digital12f683 |
Please could any one give me some code that works , for takeing an a to d reading on port pin GP2 of a 12f683 and storing the value in a variable without using the ccs functions as i am haveing some s ... |
Topic: 12F683 compiler |
mjdale2003
Replies: 3
Views: 9138
|
Forum: General CCS C Discussion Posted: Wed Feb 09, 2005 8:39 am Subject: osc freq |
thanks but how can i setup the clock to work at 8mhz without using the setup_osc function |
|