Author |
Message |
Topic: encoder pulse measurement |
diode_blade
Replies: 25
Views: 7231
|
Forum: General CCS C Discussion Posted: Fri Mar 14, 2025 2:43 am Subject: encoder pulse measurement |
If your using an 18F series, then as a suggestion why not use an 18F4431 which has a quadratue encoder interface, no software to write to count the pulses or check direction, which you can do by check ... |
Topic: Thoughts on terminal emulator for serial interface |
diode_blade
Replies: 8
Views: 32786
|
Forum: General CCS C Discussion Posted: Tue Oct 08, 2024 1:26 am Subject: Thoughts on terminal emulator for serial interface |
Hi, in the past I have used a program called "Windmill ComDebug", its free to download.
Easy to use.
Below is what it can do.
Just for clarity I have used there software and hardware prod ... |
Topic: Lora Module Communication |
diode_blade
Replies: 3
Views: 4817
|
Forum: General CCS C Discussion Posted: Wed Sep 25, 2024 1:27 am Subject: Lora Module Communication |
You have no EXIT condition for the 'WHILE' Loop so you will always be stuck in it.
while(1 or true){
do something //always stuck here.
}
Now some code ... |
Topic: cant find 32 bit version of jvm.dll |
diode_blade
Replies: 29
Views: 30612
|
Forum: General CCS C Discussion Posted: Thu May 09, 2024 1:39 am Subject: cant find 32 bit version of jvm.dll |
Just a quick note on this.
I found that under windows 10 I had to install MPLAB and CCSC software inc debugger drivers as administrator, otherwise nothing would work.
Also be warned, I had just bo ... |
Topic: Using CCS in MPLAB |
diode_blade
Replies: 8
Views: 20942
|
Forum: General CCS C Discussion Posted: Mon Jun 05, 2023 1:15 am Subject: Using CCS in MPLAB |
That's exactly right.
The only point about putting the other files into the header files list,
is it allows you to click on them there to open them and look at them.
Yes good point that Ttelmah. |
Topic: Using CCS in MPLAB |
diode_blade
Replies: 8
Views: 20942
|
Forum: General CCS C Discussion Posted: Fri Jun 02, 2023 4:18 am Subject: Using CCS in MPLAB |
I've found with mplabx inc latest version, that in MPLABX projects window just have your main.c file only as the source file, then just use #include xxx.c etc in either another header file or in your ... |
Topic: DS33PIC QEI Module Interrupt (Solved) |
diode_blade
Replies: 12
Views: 27781
|
Forum: General CCS C Discussion Posted: Thu May 25, 2023 7:51 am Subject: Solved |
Right first thanks for help everyone.
Have gone back to using 18f4431, been testing on Mikroe Easypic V7 board.
Haa haaa laughs, at first the count was just going to 1 then back to zero when turni ... |
Topic: DS33PIC QEI Module Interrupt (Solved) |
diode_blade
Replies: 12
Views: 27781
|
Forum: General CCS C Discussion Posted: Fri May 19, 2023 3:42 am Subject: DS33PIC QEI Module Interrupt (Solved) |
Well I have the interrupt working thanks to the links posted, but I think I am going to look at a different chip, I think I have some of the 18fx431 series that have the simpler QEI unit that I have u ... |
Topic: DS33PIC QEI Module Interrupt (Solved) |
diode_blade
Replies: 12
Views: 27781
|
Forum: General CCS C Discussion Posted: Thu May 18, 2023 5:40 am Subject: DS33PIC QEI Module Interrupt (Solved) |
ok, real curious....
this option..
QEI_OUTPUT_DISABLED
NO info that I can see in the 2019 or 2121 CCS manual
actually very little info about all the 'options', sigh
Kinda wondering if it ... |
Topic: DS33PIC QEI Module Interrupt (Solved) |
diode_blade
Replies: 12
Views: 27781
|
Forum: General CCS C Discussion Posted: Wed May 17, 2023 7:58 am Subject: DS33PIC QEI Module Interrupt (Solved) |
Ahhh, Thanks Temtronic and Ttlemah, will try that tomorrow and come back.
Will do some more reading this afternoon as well.
Regards.
Dave |
Topic: DS33PIC QEI Module Interrupt (Solved) |
diode_blade
Replies: 12
Views: 27781
|
Forum: General CCS C Discussion Posted: Wed May 17, 2023 5:39 am Subject: DS33PIC QEI Module Interrupt (Solved) |
Compiler version PCWHD 5.105 and 5.107 (used both for testing)
IDE both PCWHD and MPLABX 6.05
Hardware used: DSPIC33ep512mu810 (mikroe Clicker2 board)
ICD-U80 & PICKIT 4
4 X 20 Char LCD 4 bit ... |
Topic: OpenAI's ChatGPT knows how to write CCS PIC24 programs |
diode_blade
Replies: 9
Views: 26220
|
Forum: General CCS C Discussion Posted: Mon Dec 12, 2022 2:58 am Subject: OpenAI's ChatGPT knows how to write CCS PIC24 programs |
#include <18F46K22.h>
#device ADC=16
#FUSES NOWDT //No Watch Dog Timer
#FUSES NOJTAG //JTAG disabled
#FUSES NOMCLR //Master Clear p ... |
Topic: PICKIT 4 Programming |
diode_blade
Replies: 5
Views: 24872
|
Forum: General CCS C Discussion Posted: Sat Aug 28, 2021 12:43 am Subject: PICKIT 4 Programming |
I have just purchased a pickit4 so I can use with the CCS ide, also a new laptop, I have previously used M'Chip ICD 3 with the ide on another laptop.
Now the fun begins.
I installed all the CCS so ... |
Topic: 7 Segment LED Hardware Connections |
diode_blade
Replies: 2
Views: 15628
|
Forum: General CCS C Discussion Posted: Tue Jun 29, 2021 5:20 am Subject: 7 Segment LED Hardware Connections |
There is usually the manufacturer's part number on the side or top of the display.
Google this and you should be able to download the datasheet, for that 7 seg display, it will have the pin out.
Dav ... |
Topic: My Story Is Just Beginning |
diode_blade
Replies: 29
Views: 77781
|
Forum: General CCS C Discussion Posted: Fri Sep 11, 2020 1:46 am Subject: My Story Is Just Beginning |
I've been retired for 30 years, just 'play with PICs' now, though I do some 'Proof of Concept' projects. When I started, PICs had neat quartz windows on top and needed 15 minutes to erase my code ! M ... |
|