Author |
Message |
Topic: PIC18F2550 interrupt at 19kHZ |
elyon
Replies: 6
Views: 16495
|
Forum: General CCS C Discussion Posted: Tue Dec 05, 2017 4:09 am Subject: PIC18F2550 interrupt at 19kHZ |
hi Ttelmah.
Sorry for my late answer.
Thank you very much! With your advice I have obtained the oscillation frequency I need :-) |
Topic: PIC18F2550 interrupt at 19kHZ |
elyon
Replies: 6
Views: 16495
|
Forum: General CCS C Discussion Posted: Wed Nov 22, 2017 10:58 am Subject: PIC18F2550 interrupt at 19kHZ |
You were wrong on the divider. On many of the setups the default is 1, but on this one it's not. If you look at the bit patterns versus dividers the /1, is not the 'end' pattern in either direction. C ... |
Topic: PIC18F2550 interrupt at 19kHZ |
elyon
Replies: 6
Views: 16495
|
Forum: General CCS C Discussion Posted: Wed Nov 22, 2017 9:22 am Subject: PIC18F2550 interrupt at 19kHZ |
Honestly forget it. Use a PWM.
Big problem is you are running just 2MIPS. Now entering and exiting an interrupt takes typically about 60 instructions. Add the code to load the register and do the t ... |
Topic: PIC18F2550 interrupt at 19kHZ |
elyon
Replies: 6
Views: 16495
|
Forum: General CCS C Discussion Posted: Tue Nov 21, 2017 11:01 am Subject: PIC18F2550 interrupt at 19kHZ |
Hello mates!
I need to write an interrupt so that the pic could toggle a pin with a frequency of 19kHz using the internal pic18f2550 oscillator.
this is the main.h file
#include <18F2550.h> ... |
Topic: HID USB Mouse descriptor doesn't work |
elyon
Replies: 0
Views: 5894
|
Forum: General CCS C Discussion Posted: Wed Apr 19, 2017 9:19 am Subject: HID USB Mouse descriptor doesn't work |
Hi all!
I'm trying to modify the usb_desc_mouse.h example to change logical minimum and maximum of X and Y to emulate mouse with absolute coordinates with my pic18f2550, but everytime I chang ... |
Topic: PIC18F2550 - HID Mouse Absolute Coordinates |
elyon
Replies: 5
Views: 15244
|
Forum: General CCS C Discussion Posted: Fri Mar 31, 2017 4:37 am Subject: PIC18F2550 - HID Mouse Absolute Coordinates |
oook. Thank you very much |
Topic: PIC18F2550 - HID Mouse Absolute Coordinates |
elyon
Replies: 5
Views: 15244
|
Forum: General CCS C Discussion Posted: Thu Mar 30, 2017 3:41 am Subject: PIC18F2550 - HID Mouse Absolute Coordinates |
You need to change quite a lot of other stuff.
You've made your message larger, so the packet also has to grow.
Historically the standard mouse packet, is 'buttons', X, Y, wheel., with just one by ... |
Topic: PIC18F2550 - HID Mouse Absolute Coordinates |
elyon
Replies: 5
Views: 15244
|
Forum: General CCS C Discussion Posted: Wed Mar 29, 2017 1:39 am Subject: PIC18F2550 - HID Mouse Absolute Coordinates |
no one? |
Topic: PIC18F2550 - HID Mouse Absolute Coordinates |
elyon
Replies: 5
Views: 15244
|
Forum: General CCS C Discussion Posted: Tue Mar 21, 2017 11:28 am Subject: PIC18F2550 - HID Mouse Absolute Coordinates |
Hi all!!
I'm a newbie in the world of CCS and PICs.
First of all, sorry for my bad english.
I'm here because I'm trying to use a PIC18F2550 as a mouse using the absolute coordinates to move ... |
|