CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 17 matches
CCS Forum Index
Author Message
  Topic: usb interfacing from pic to PC
sturnfie

Replies: 15
Views: 44447

PostForum: General CCS C Discussion   Posted: Thu Jan 12, 2012 8:52 am   Subject: usb interfacing from pic to PC
I've been trying to get the PC to recognize the USB connection with my pic, but all the examples I try doesn't work.

Im using a pic18f25j50 with a 20Mhz crystal, trying to connect to windows 7. My ...
  Topic: help with USB HID bootloader [solved]
sturnfie

Replies: 3
Views: 6983

PostForum: General CCS C Discussion   Posted: Thu Oct 21, 2010 9:30 am   Subject: help with USB HID bootloader [solved]
what if I want to use the internal pull up resistor on portB of 18F2550? Can I have a switch there without a pull up resistor? How to do the settings?

You need a pull-up resistor (or pull-down) to ...
  Topic: 16f877A multiple servos and RS232
sturnfie

Replies: 5
Views: 9468

PostForum: General CCS C Discussion   Posted: Mon Oct 18, 2010 11:01 am   Subject: 16f877A multiple servos and RS232
I'm able to move one servo using delay_ms commands now ... any advice on coding the PIC to move more than one servo would be very much appreciated from this C newbie !

Maybe using an interrupt or ...
  Topic: ds1307+external eeprom
sturnfie

Replies: 2
Views: 6044

PostForum: General CCS C Discussion   Posted: Mon Oct 18, 2010 10:50 am   Subject: Re: ds1307+external eeprom
hi,
I'm new in ccs. I wanna make a datalogger with pc interface.

Wanna use ds1307 and also external eeprom like 24LCXX though I'm new in the world of programming so need some help of yours .

...
  Topic: USB HID and CDC together
sturnfie

Replies: 2
Views: 5798

PostForum: General CCS C Discussion   Posted: Mon Oct 18, 2010 10:39 am   Subject: Re: USB HID and CDC together
Hi All

I'm wondering if it would be possible to run both HID and CDC together from within the software.

EG:

A HID keyboard and a CDC Serial port.

I have seen this is possible with other HI ...
  Topic: Working With Multiple PIC Systems
sturnfie

Replies: 2
Views: 4104

PostForum: General CCS C Discussion   Posted: Mon Oct 18, 2010 10:22 am   Subject: Working With Multiple PIC Systems
I prefer to go with one application/component, but that's mostly because I don't mind the overhead of the extra project files. When working on a multiple PIC project set, there is usually only one fil ...
  Topic: Problems with timers and flex_lcd420
sturnfie

Replies: 2
Views: 4801

PostForum: General CCS C Discussion   Posted: Thu Oct 14, 2010 1:22 pm   Subject: Re: Problems with timers and flex_lcd420
Hello everyone
1.- How can I make the counter appear every half a second at least?. I checked out the datasheet of the PIC but it doesn't say anything about how long (in milliseconds or microsecond) ...
  Topic: usb interfacing from pic to PC
sturnfie

Replies: 15
Views: 44447

PostForum: General CCS C Discussion   Posted: Tue Oct 12, 2010 11:08 am   Subject: usb interfacing from pic to PC
Btw, you'll get this when the build succeeds. Use the search feature on this forum to learn why you get these warnings (they can be safely ignored).


>>> Warning 216 "try_usb.c" ...
  Topic: usb interfacing from pic to PC
sturnfie

Replies: 15
Views: 44447

PostForum: General CCS C Discussion   Posted: Tue Oct 12, 2010 10:56 am   Subject: usb interfacing from pic to PC
Don't add usb_cdc.h directly to the project. Pull it in-line as per the example. Only add this "try_usb.c" to the project. Then build the project. The code I posted does have a typo, it is m ...
  Topic: usb interfacing from pic to PC
sturnfie

Replies: 15
Views: 44447

PostForum: General CCS C Discussion   Posted: Wed Oct 06, 2010 12:44 pm   Subject: Re: Undefined identifier-usb_enumerated even when usb.c incl
Hi
I have resolved that problem of header file inclusion in proper sequence.
But now the other problem is

When I build all files in project -- it says BUILD FAILED. Error is
Undefined identif ...
  Topic: Writing to a standard 20x2 lcd: How fast can it display ?
sturnfie

Replies: 16
Views: 20771

PostForum: General CCS C Discussion   Posted: Thu Sep 30, 2010 8:05 pm   Subject: Writing to a standard 20x2 lcd: How fast can it display ?


Void Rotary_Encoder(void)
{
Enc_A = (port_c & 0b11000000);

if(Enc_A != Enc_B) {
if (b ...
  Topic: Writing to a standard 20x2 lcd: How fast can it display ?
sturnfie

Replies: 16
Views: 20771

PostForum: General CCS C Discussion   Posted: Thu Sep 30, 2010 2:29 pm   Subject: Writing to a standard 20x2 lcd: How fast can it display ?
Andrew, I don't check the encoder per-se but I do, a write to the display each time the encoder increments or decrements the count variable
"Value".

Here is a sample of the routine to cl ...
  Topic: LCD using flex.c only writes first 8 characters then freezes
sturnfie

Replies: 8
Views: 12732

PostForum: General CCS C Discussion   Posted: Thu Sep 16, 2010 9:55 pm   Subject: LCD using flex.c only writes first 8 characters then freezes
Try using the CCS lcd driver for 4x20 lcds:
c:\program files\picc\drivers\lcd420.c

This worked. Thank you!

For anyone else encountering this error, this suggestion worked with the test examp ...
  Topic: LCD using flex.c only writes first 8 characters then freezes
sturnfie

Replies: 8
Views: 12732

PostForum: General CCS C Discussion   Posted: Thu Sep 16, 2010 8:24 pm   Subject: LCD using flex.c only writes first 8 characters then freezes

#define USE_RW_PIN 1
#define LCD_DB4 PIN_B4
#define LCD_DB5 PIN_B5
#define LCD_DB6 PIN_B6
#define LCD_DB7 PIN_B7
#define LCD_RW PIN_B2
#define LCD_RS PIN_B1
#define LC ...
  Topic: LCD using flex.c only writes first 8 characters then freezes
sturnfie

Replies: 8
Views: 12732

PostForum: General CCS C Discussion   Posted: Thu Sep 16, 2010 8:10 pm   Subject: LCD using flex.c only writes first 8 characters then freezes
Does your schematic look like the 4-bit schematic on page 4 of the
LCD data sheet ?
http://www.newhavendisplay.com/specs/NHD-0420DZ-FL-YBW.pdf

Post a short, complete, compilable test program t ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group