Author |
Message |
Topic: Quick question about USB keyboard example |
davefromnj
Replies: 1
Views: 3286
|
Forum: General CCS C Discussion Posted: Thu Jun 03, 2010 2:34 pm Subject: Quick question about USB keyboard example |
Hello,
I get the tx_msg[3] = 4; to send "a" and
tx_msg[3] = 5; to send "b" etc.,
but I was not able to find a map for all the rest of the keyboard keys. What is the value ... |
Topic: using i2C and PWM at the same time in 16f876 |
davefromnj
Replies: 8
Views: 10029
|
Forum: General CCS C Discussion Posted: Mon May 31, 2010 12:40 pm Subject: using i2C and PWM at the same time in 16f876 |
Is this a #PRIORITY problem?
Are you trying to read too many I2C bytes?
Have you tried the hardware PWM and SOFTWARE I2C? |
Topic: PICDEM FS USB -- WORKING |
davefromnj
Replies: 0
Views: 2633
|
Forum: General CCS C Discussion Posted: Mon May 31, 2010 12:38 pm Subject: PICDEM FS USB -- WORKING |
Hello all,
I just wanted to post for those who may have come across this problem:
If you are trying to use the ex_usb_kbmouse2 project with the PICDEM FS USB demo board and keep getting DEVICE N ... |
Topic: Lynux and CCS |
davefromnj
Replies: 2
Views: 5286
|
Forum: General CCS C Discussion Posted: Fri Oct 23, 2009 8:22 am Subject: Re: Lynux and CCS |
Hi.
I've tried to install CCS (Compiler Version : 4.057 ) on UBUNTU 9.04
and I couldn't make it work :(
I've tried with 'Wine' emulation.
Has anybody tried to install CCS on Lynux ?
Is ther ... |
Topic: first time USB question...PIC18F4450 |
davefromnj
Replies: 4
Views: 8121
|
Forum: General CCS C Discussion Posted: Sun Oct 11, 2009 1:18 pm Subject: Thanks |
You apparently didn't consider the fact, that an USB keyboard usually is following the HID (human interface device) class specification and not sending ASCII codes. If you intend to build a device, th ... |
Topic: first time USB question...PIC18F4450 |
davefromnj
Replies: 4
Views: 8121
|
Forum: General CCS C Discussion Posted: Sat Oct 10, 2009 6:10 pm Subject: first time USB question...PIC18F4450 |
Hey all,
All I want to do is have the PIC18F4450 act as a USB keyboard. I looked at the examples, but they are less than intuitive for me.
What would an example program look like that sent the ... |
Topic: PIC to PIC Bootloader feasibility question |
davefromnj
Replies: 1
Views: 2642
|
Forum: General CCS C Discussion Posted: Fri Jun 05, 2009 3:26 pm Subject: PIC to PIC Bootloader feasibility question |
Hello,
I have a quick question regarding PIC bootloaders:
Let's say I have a test fixture that has a PIC with MSSP, its own test program, and the latest version of the code for the PIC in a sepa ... |
Topic: Very quick question on the #FUSE that maintains EEPROM. |
davefromnj
Replies: 1
Views: 3162
|
Forum: General CCS C Discussion Posted: Wed Apr 15, 2009 12:19 pm Subject: Very quick question on the #FUSE that maintains EEPROM. |
Hello All,
I have a really quick question:
I'm using a PIC16F677 which has some internal EEPROM that I would like to use to store calibration values set by a test fixture.
What is the #FUSE s ... |
Topic: Problem using Timer0 & Timer1 on PIC 16F610 |
davefromnj
Replies: 2
Views: 6118
|
Forum: General CCS C Discussion Posted: Tue Jan 27, 2009 9:53 am Subject: Problem using Timer0 & Timer1 on PIC 16F610 |
The obvious 'danger', is in 'toggling' LED's. Don't. Toggle an internal bit in a variable, and output this to the LED's. The most likely problem is that the resistors in series with the LEDs, are not ... |
Topic: Problem using Timer0 & Timer1 on PIC 16F610 |
davefromnj
Replies: 2
Views: 6118
|
Forum: General CCS C Discussion Posted: Tue Jan 27, 2009 8:25 am Subject: Problem using Timer0 & Timer1 on PIC 16F610 |
Hello All,
A friend built a program around a PIC 16F887 / PICKIT2 demo board that worked properly.
He used Timer0 to flash an LED at 2kHz, and Timer1 to flash an LED at a slower 800Hz. Timer0 w ... |
Topic: Question about I2C between pics and SSP Interrupt blocking |
davefromnj
Replies: 5
Views: 6381
|
Forum: General CCS C Discussion Posted: Thu Nov 13, 2008 10:02 am Subject: i2C_POLL() |
hello all,
I am having some trouble with the i2c_poll() funciton.
I don't want to use the SSP_ISR because it ties up my slave processor too long.
So I wrote a really quick slave routine that ... |
Topic: Question about I2C between pics and SSP Interrupt blocking |
davefromnj
Replies: 5
Views: 6381
|
Forum: General CCS C Discussion Posted: Thu Oct 30, 2008 4:41 pm Subject: Question about I2C between pics and SSP Interrupt blocking |
Are you sure you mean mSec, not uSec?....
Don't call an ISR at all. Assuming you do mean 'uSec', probably 50% of the time involved, is actually getting into, and out of the ISR, not what you are do ... |
Topic: Question about I2C between pics and SSP Interrupt blocking |
davefromnj
Replies: 5
Views: 6381
|
Forum: General CCS C Discussion Posted: Thu Oct 30, 2008 4:34 pm Subject: Question about I2C between pics and SSP Interrupt blocking |
Are you sure you mean mSec, not uSec?....
Don't call an ISR at all. Assuming you do mean 'uSec', probably 50% of the time involved, is actually getting into, and out of the ISR, not what you are do ... |
Topic: Question about I2C between pics and SSP Interrupt blocking |
davefromnj
Replies: 5
Views: 6381
|
Forum: General CCS C Discussion Posted: Thu Oct 30, 2008 4:03 pm Subject: Question about I2C between pics and SSP Interrupt blocking |
SO TO SUM UP:
I HAVE to respond to an input within 2msec. My SSP on my slave device takes about 25mSec in its SSP_ISR to respond.
What ideas do you have to get around this so that even if the s ... |
Topic: i2c_write() fails to give an ACK when it should |
davefromnj
Replies: 2
Views: 4526
|
Forum: General CCS C Discussion Posted: Fri Jul 11, 2008 3:25 pm Subject: Solved! |
Hello All,
I was able to solve this problem I making a delay_ms(1000); before the first i2c_start() command gets executed. I still have to experiment to see what is the shortest delay to get consi ... |
|