Author |
Message |
Topic: Happy Christmas everyone & Happy New Year |
hmmpic
Replies: 7
Views: 7294
|
Forum: General CCS C Discussion Posted: Sat Dec 23, 2023 12:27 pm Subject: Happy Christmas everyone & Happy New Year |
You too:-) |
Topic: CCS v 5.115 Serial invert doen't work? |
hmmpic
Replies: 4
Views: 6658
|
Forum: General CCS C Discussion Posted: Tue Nov 14, 2023 4:20 am Subject: CCS v 5.115 Serial invert doen't work? |
I reported this problem whit float high in CCS version 5.105
This is from CCS date: 1703-22:
I reviewed the issue and determine it was a bug when both the INVERT and FLOAT_HIGH options are used. ... |
Topic: GSM M95 Quectel not sending/receiving SMS |
hmmpic
Replies: 6
Views: 18891
|
Forum: General CCS C Discussion Posted: Tue May 24, 2022 9:30 am Subject: GSM M95 Quectel not sending/receiving SMS |
Module have ok signal, and searching for net (creg 1,2).
When searching for net, it is your provider there have the control, you can ask them why your simcard is not getting connected. If using 2G th ... |
Topic: Homemade string compare randomly fails [Solved] |
hmmpic
Replies: 37
Views: 86164
|
Forum: General CCS C Discussion Posted: Fri May 20, 2022 5:35 am Subject: Homemade string compare randomly fails [Solved] |
Why not put a printf() in the top of your function, and see the string you compare.
int16 for long string i understand, in you case you have about 3 char... |
Topic: GSM M95 Quectel not sending/receiving SMS |
hmmpic
Replies: 6
Views: 18891
|
Forum: General CCS C Discussion Posted: Fri May 20, 2022 5:30 am Subject: GSM M95 Quectel not sending/receiving SMS |
My suggestion...
Maybe for testing it can work, but not in any production.
All the code is based on delay() and no change to know what is going on.
The code doesn't handle CREG right, 1 means re ... |
Topic: sizeof problem with char[][] or strings... |
hmmpic
Replies: 5
Views: 17008
|
Forum: General CCS C Discussion Posted: Thu May 19, 2022 7:40 am Subject: sizeof problem with char[][] or strings... |
Some confusing sizeof() run at compile time right? |
Topic: GSM M95 Quectel not sending/receiving SMS |
hmmpic
Replies: 6
Views: 18891
|
Forum: General CCS C Discussion Posted: Thu May 19, 2022 7:24 am Subject: GSM M95 Quectel not sending/receiving SMS |
Just some hints...
You need to start with a terminal connected, check what is working:
autobaud AT
simcard with CPIN
Signal CSQ
Reg CREG
Use the datasheet:-)
When you do the code use the STAT ... |
Topic: Using the PIC18F46K22 registers file from CCS |
hmmpic
Replies: 6
Views: 17174
|
Forum: General CCS C Discussion Posted: Thu May 19, 2022 1:12 am Subject: Using the PIC18F46K22 registers file from CCS |
Tell the compiler where the dir is as:
#include "./x/subdir-test.h" |
Topic: sizeof problem with char[][] or strings... |
hmmpic
Replies: 5
Views: 17008
|
Forum: General CCS C Discussion Posted: Wed May 18, 2022 12:17 pm Subject: sizeof problem with char[][] or strings... |
Const or not const, result are exact the same, i have tested it more then one time.
What i show is working nice in GCC.
It is discussed more here:
const int8 talar8[]={1,2,3,4,5 ... |
Topic: sizeof problem with char[][] or strings... |
hmmpic
Replies: 5
Views: 17008
|
Forum: General CCS C Discussion Posted: Wed May 18, 2022 9:40 am Subject: sizeof problem with char[][] or strings... |
//sizeof problem with charvoid sizeof_test(){
//len is sizeof(st_ar)/sizeof(st_ar[0]); //but sizeof(st_ar[0]) is not working!
int8 l1,l2,len ... |
Topic: pic to pic with LoRa |
hmmpic
Replies: 7
Views: 26048
|
Forum: General CCS C Discussion Posted: Sun May 15, 2022 5:27 am Subject: pic to pic with LoRa |
We have used more than 50 pcs. of this LORA module in a wireless node system.
The modules are stable and work nice.
https://www.cdebyte.com/products/E22-900M22S |
Topic: RVREG bit in PCCON1 to be low on some restart? |
hmmpic
Replies: 11
Views: 26749
|
Forum: General CCS C Discussion Posted: Tue May 10, 2022 9:14 am Subject: RVREG bit in PCCON1 to be low on some restart? |
CCS will fix the bug in the next release. |
Topic: RVREG bit in PCCON1 to be low on some restart? |
hmmpic
Replies: 11
Views: 26749
|
Forum: General CCS C Discussion Posted: Tue May 10, 2022 1:44 am Subject: RVREG bit in PCCON1 to be low on some restart? |
All the problem is two different datasheet from Microchip (date are at the most left on every page), one from 2019 and one from 2020.
**
In the one from 2019:
Bit 0 – RCM Configuration Memory R ... |
Topic: RVREG bit in PCCON1 to be low on some restart? |
hmmpic
Replies: 11
Views: 26749
|
Forum: General CCS C Discussion Posted: Sun May 08, 2022 3:07 am Subject: RVREG bit in PCCON1 to be low on some restart? |
Thanks for you hints, and i came up with something like, used so much time one this.
Now i just ignore the bit, i find it not reliable. Or error in Microchip documentation, or one more Errata to all ... |
Topic: #ASM problem with 5.108 |
hmmpic
Replies: 9
Views: 24189
|
Forum: General CCS C Discussion Posted: Fri May 06, 2022 7:05 am Subject: #ASM problem with 5.108 |
@temtronic ...Therefore releasing a beta will be so much more the case! |
|