Author |
Message |
Topic: checksum calculation as shown in mplabx |
yossihagag1978
Replies: 3
Views: 310
|
Forum: General CCS C Discussion Posted: Sun Dec 08, 2024 8:17 am Subject: checksum calculation as shown in mplabx |
Hi
I am trying to calculate the checksum as shown in mplabx with 2 diffrenet pic's
One 18lf46k22 ant the other is 16lf1789. I am using Pcm compiler v5.008
With 18lf46k22 I succeeded (I attached th ... |
Topic: sbus2 to ccs |
yossihagag1978
Replies: 6
Views: 21581
|
Forum: General CCS C Discussion Posted: Tue Feb 15, 2022 7:23 am Subject: sbus2 to ccs |
I know .
Just wondering if someone else already did it |
Topic: sbus2 to ccs |
yossihagag1978
Replies: 6
Views: 21581
|
Forum: General CCS C Discussion Posted: Sun Feb 13, 2022 8:55 am Subject: sbus2 to ccs |
Hi
has anyone wrote a code in ccs that communicates with futaba servo in s.bus ?
https://en.wikipedia.org/wiki/Serial_Bus_Protocol_2 |
Topic: Software PWM |
yossihagag1978
Replies: 8
Views: 25253
|
Forum: General CCS C Discussion Posted: Wed Feb 09, 2022 12:00 pm Subject: Software PWM |
I use ccs 5.068.
For some reason I can't get 50 hz pwm on software pwm.
I am using 2Mhz external oscillator.
Also I can't use timer1 in it. It's scream to use only timer 2 or 4 ? |
Topic: Software PWM |
yossihagag1978
Replies: 8
Views: 25253
|
Forum: General CCS C Discussion Posted: Tue Feb 08, 2022 8:40 am Subject: Software PWM |
will it work on PIC18F8722 ?
or for special series of pic? |
Topic: Software PWM |
yossihagag1978
Replies: 8
Views: 25253
|
Forum: General CCS C Discussion Posted: Tue Feb 08, 2022 8:03 am Subject: Software PWM |
can i user any timer? even 1 or 3 ?
can i get 50hz pwm with 2mhz osc in software pwm ? |
Topic: Software PWM |
yossihagag1978
Replies: 8
Views: 25253
|
Forum: General CCS C Discussion Posted: Tue Feb 08, 2022 5:26 am Subject: Software PWM |
Hi
does it work?
https://www.ccsinfo.com/newsdesk_info.php?newsPath=ALL&newsdesk_id=182
if so on what version and pic ? |
Topic: compiler error |
yossihagag1978
Replies: 3
Views: 12959
|
Forum: General CCS C Discussion Posted: Sun Apr 18, 2021 6:16 am Subject: compiler error |
Hi
I have old project on mplab8.92 with 4.065 compiler version.
When compiling everything works great and I get a permanent checksum.
My problem is when I am trying to load the same project in MPLA ... |
Topic: WDT |
yossihagag1978
Replies: 6
Views: 17765
|
Forum: General CCS C Discussion Posted: Sun Oct 18, 2020 12:59 am Subject: WDT |
I did set setup_wdt() to 1 sec.
Still did not answer my question:
How can i know when the compiler executes restart_wdt ?
Each 1000 us or every other number ? |
Topic: WDT |
yossihagag1978
Replies: 6
Views: 17765
|
Forum: General CCS C Discussion Posted: Sat Oct 17, 2020 11:56 pm Subject: WDT |
Hi
I am using restart_wdt option in #use_delay:
#use_delay(clock=2000000, restart_wdt)
I noticed that when i use this option some delays are not accurate when using
delay_us(x);
For examp ... |
Topic: Iridium sbd driver |
yossihagag1978
Replies: 0
Views: 7290
|
Forum: General CCS C Discussion Posted: Tue Aug 13, 2019 2:07 pm Subject: Iridium sbd driver |
Hi
Has anyone wrote a driver for iridum sbd modem? |
Topic: Sbus2 library |
yossihagag1978
Replies: 5
Views: 16134
|
Forum: General CCS C Discussion Posted: Mon Oct 08, 2018 11:27 am Subject: Sbus2 library |
I am trying to control a servo motor via sbus2.
The link does not help. |
Topic: Sbus2 library |
yossihagag1978
Replies: 5
Views: 16134
|
Forum: General CCS C Discussion Posted: Mon Oct 08, 2018 11:03 am Subject: Sbus2 library |
Is there sbus2 code for futaba ? |
Topic: Measure timer1 32.768 khz accuracy |
yossihagag1978
Replies: 12
Views: 23961
|
Forum: General CCS C Discussion Posted: Mon Jul 30, 2018 5:19 am Subject: Measure timer1 32.768 khz accuracy |
Ok understand !
i am trying to find on the pic16lf1789 datasheet what is the delta on % of internal OSC on diffrent temp !!
please advice if you can |
Topic: Measure timer1 32.768 khz accuracy |
yossihagag1978
Replies: 12
Views: 23961
|
Forum: General CCS C Discussion Posted: Mon Jul 30, 2018 1:41 am Subject: Measure timer1 32.768 khz accuracy |
Hi
what do you think about this post i saw on microchip forum:
One possible method to do this is:
Use TIMER1 to count the 32.768 KHz crystal oscillator output.
Use an external 4.000 MHz oscillat ... |
|