CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 11 matches
CCS Forum Index
Author Message
  Topic: printat function
dexta64

Replies: 5
Views: 18484

PostForum: General CCS C Discussion   Posted: Tue Dec 07, 2021 3:32 am   Subject: printat function
Ttelmah thank you so much.
  Topic: printat function
dexta64

Replies: 5
Views: 18484

PostForum: General CCS C Discussion   Posted: Tue Dec 07, 2021 3:26 am   Subject: printat function
other I have defined and working

The lcd_puts command is like this in the lcd driver.

void lcd_puts(char * str)
{
while (*str != '\0') //\0 will scan the inside of lcdtx ...
  Topic: printat function
dexta64

Replies: 5
Views: 18484

PostForum: General CCS C Discussion   Posted: Tue Dec 07, 2021 1:34 am   Subject: printat function
jeremiah thank you so much. It had puzzled me for days.
"__VA_ARGS__"
is that the magic command? I shared well.



typedef struct
{
uint8_t day;
uint8_t month;
uint8_t ...
  Topic: printat function
dexta64

Replies: 5
Views: 18484

PostForum: General CCS C Discussion   Posted: Wed Dec 01, 2021 7:45 am   Subject: printat function
Those who want the function can develop more complex.
But I will simply share.

#define printat(x,y,_str,nmr) do{ \
lcd_gotoxy(x,y); \
printf(lcd_putc,_str,nmr); ...
  Topic: 12F1822 IR Remote Receiver
dexta64

Replies: 41
Views: 81084

PostForum: General CCS C Discussion   Posted: Fri Mar 19, 2021 12:23 am   Subject: Clock must be selected in the oscillator setting.
in this row you must select the internal clock.

setup_oscillator(OSC_8MHZ | OSC_PLL_ON | OSC_INTRC);
  Topic: Messing with pointers
dexta64

Replies: 7
Views: 16866

PostForum: General CCS C Discussion   Posted: Thu Oct 31, 2019 12:22 am   Subject: Re: Messing with pointers
I'm trying to create a function to split strings but I think I'm doing something wrong with the pointers.
Would somebody put some light on this? Idea

I just made this little program to test it. ...
  Topic: [PIC24HJ256GP210] Device ID becomes corrupted
dexta64

Replies: 43
Views: 67611

PostForum: General CCS C Discussion   Posted: Fri Feb 22, 2019 12:37 am   Subject: Re: [PIC24HJ256GP210] Device ID becomes corrupted

void BIOS_Erase_CPU_Flash_FMWR_Sector()
{

for(address_erase=0x00200;address_erase<BIOS_ADDR;address_erase+=(getenv("FLASH_ERASE_SIZE")/2))
...
  Topic: [PIC24HJ256GP210] Device ID becomes corrupted
dexta64

Replies: 43
Views: 67611

PostForum: General CCS C Discussion   Posted: Thu Feb 21, 2019 11:29 am   Subject: Importance of Datasheet
Look at Datasheet's page 62, telling you what to do. http://ww1.microchip.com/downloads/en/devicedoc/70175h.pdf

Sometimes a datasheet may not have enough information. In another datasheet, the proc ...
  Topic: [PIC24HJ256GP210] Device ID becomes corrupted
dexta64

Replies: 43
Views: 67611

PostForum: General CCS C Discussion   Posted: Thu Feb 21, 2019 7:38 am   Subject: erase procedure.
I did a little experiment with your flash erase procedure.
You just seem to be wiping off some of the flash. the procedure begins to delete from 0x800.
first started typing address 0x803 = ff, 0x807 ...
  Topic: [PIC24HJ256GP210] Device ID becomes corrupted
dexta64

Replies: 43
Views: 67611

PostForum: General CCS C Discussion   Posted: Wed Feb 20, 2019 1:56 pm   Subject: [PIC24HJ256GP210] Device ID becomes corrupted
PIC24HJXXXGPX06 / X08 / X10 Family Silicon Errata and Data Sheet Clarification. Page 15.

"32. Module: Device ID Register On a few devices, the content of the Device ID register can change fro ...
  Topic: [PIC24HJ256GP210] Device ID becomes corrupted
dexta64

Replies: 43
Views: 67611

PostForum: General CCS C Discussion   Posted: Tue Feb 19, 2019 2:26 pm   Subject: [PIC24HJ256GP210] Device ID becomes corrupted
https://i.ibb.co/f0Z5dST/PIC.png

I cannot confirm the GND connections of capacitors C21, C22 and C24. They're not connected. Can you measure them?

If you have a switched regulator, ESR will be a ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group