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 344 matches
CCS Forum Index
Author Message
  Topic: crc calc.
kmp84

Replies: 6
Views: 13858

PostForum: General CCS C Discussion   Posted: Tue Jan 24, 2023 12:23 pm   Subject: crc calc.
* Yes mr. Ttelmah I mean ascii "31 3A 38 3A 30 30 3A 30 30 3A " Smile
* Yes I have tried 'standard' algorithms.

Because the data that is changing is only second pair "00" (&quo ...
  Topic: crc calc.
kmp84

Replies: 6
Views: 13858

PostForum: General CCS C Discussion   Posted: Tue Jan 24, 2023 9:29 am   Subject: crc calc.
Hi,

I think data are treated as hex including colons and result is printed as ASCII, because I've decoding similar packet from the same device.

Okay,
Thanks for suggestion!
  Topic: crc calc.
kmp84

Replies: 6
Views: 13858

PostForum: General CCS C Discussion   Posted: Tue Jan 24, 2023 7:13 am   Subject: crc calc.
Hello all,

I'm trying to decode crc algorithm with this data:


"I1:8:00:00:5A99"
"I1:8:00:01:4341"


where "5A99" and "43 ...
  Topic: JSON decoder
kmp84

Replies: 23
Views: 45224

PostForum: General CCS C Discussion   Posted: Tue Nov 22, 2022 6:52 pm   Subject: JSON decoder
Hi,

I'm not sure it's for code library because I'm using just "string" library and incremental char pointer to search parts of string, but I'll post here:



#include <16F1459.h> ...
  Topic: JSON decoder
kmp84

Replies: 23
Views: 45224

PostForum: General CCS C Discussion   Posted: Tue Nov 22, 2022 2:47 pm   Subject: JSON decoder
Hi All,

I have write my simple "JSON" decoder and workaround this unnecessary example.

Best Regards,
  Topic: JSON decoder
kmp84

Replies: 23
Views: 45224

PostForum: General CCS C Discussion   Posted: Sun Nov 20, 2022 8:23 pm   Subject: JSON decoder
I understand you, but it’s Not the problem. Even if the type is wrong the code will compile. I have checked and edit this at the beginning.
  Topic: JSON decoder
kmp84

Replies: 23
Views: 45224

PostForum: General CCS C Discussion   Posted: Sun Nov 20, 2022 2:35 pm   Subject: JSON decoder
Hi,
I have checked all vars. and types and needs to edit just two int to int16 all others are ok and using ccs’s <stdint.h>.
  Topic: JSON decoder
kmp84

Replies: 23
Views: 45224

PostForum: General CCS C Discussion   Posted: Sun Nov 20, 2022 1:36 pm   Subject: JSON decoder
Hi,
Okay mr.Ttelmah,
But in this case there is no specific periphery just ‘standard’ c code and one test string.
  Topic: JSON decoder
kmp84

Replies: 23
Views: 45224

PostForum: General CCS C Discussion   Posted: Sat Nov 19, 2022 11:42 am   Subject: JSON decoder
That is because you are including parser.h, after parser.c is being loaded.
The .h files must be included _first_. The compiler does not know what
PARSER_BAD_FORMAT actually 'is'.


Hi mr.Ttelmah ...
  Topic: JSON decoder
kmp84

Replies: 23
Views: 45224

PostForum: General CCS C Discussion   Posted: Thu Nov 17, 2022 3:55 pm   Subject: JSON decoder
Hi mr. temtronic,


For me it's 99.44% a typing error

It's not my typing error. I've just downloaded 'working' code from GitHub link and edited as mr. Ttelmah point to int vars. to int16.
You c ...
  Topic: JSON decoder
kmp84

Replies: 23
Views: 45224

PostForum: General CCS C Discussion   Posted: Thu Nov 17, 2022 2:18 pm   Subject: JSON decoder
Hi,

The "#DEVICE ANSI" directive and int to int16 changed, but has no idea for this:

parserStatus_t PARSER_parseTokens(void)
{
parserStatus_t retVal = PARSER_OK;

...
  Topic: JSON decoder
kmp84

Replies: 23
Views: 45224

PostForum: General CCS C Discussion   Posted: Wed Nov 16, 2022 10:51 pm   Subject: JSON decoder


BTW...the PDF article doesn't have any source code that I could see

Hi,
There is a link to github on the first page.
  Topic: JSON decoder
kmp84

Replies: 23
Views: 45224

PostForum: General CCS C Discussion   Posted: Wed Nov 16, 2022 2:46 pm   Subject: JSON decoder
Hello,

I'm trying to run this JSON decoder ( http://ww1.microchip.com/downloads/en/Appnotes/90003239A.pdf ) with CCS compiler, but have no success yet.



#include <16F1459.h>
#device *= ...
  Topic: PCF8576 lcd driver
kmp84

Replies: 8
Views: 18676

PostForum: General CCS C Discussion   Posted: Wed Nov 16, 2022 2:10 pm   Subject: PCF8576 lcd driver
Hello,

I forgot to post simple test example, just for start using PCF8575 LCD Driver. One PCF8575 IC manage x40 segments in static mode.



#include <16F1459.h>
#fuses INTRC_IO,NOPLLEN,N ...
  Topic: PCF8576 lcd driver
kmp84

Replies: 8
Views: 18676

PostForum: General CCS C Discussion   Posted: Wed Nov 02, 2022 2:29 am   Subject: PCF8576 lcd driver
Because of the design here, you would need to do it as a two dimensional
array. One dimension the digits, and the other the 0-9 for the numeric values
for each digit.
Yes. I thinking about this but ...
 
Page 1 of 23 Goto page 1, 2, 3 ... 21, 22, 23  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group