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 32 matches
CCS Forum Index
Author Message
  Topic: USB Keyboard Input to PIC
Frozen01

Replies: 3
Views: 13221

PostForum: General CCS C Discussion   Posted: Mon May 03, 2021 12:37 pm   Subject: USB Keyboard Input to PIC
Yea I am starting to see that, maybe I can use a Host controller IC.
  Topic: USB Keyboard Input to PIC
Frozen01

Replies: 3
Views: 13221

PostForum: General CCS C Discussion   Posted: Mon May 03, 2021 11:28 am   Subject: USB Keyboard Input to PIC
Hello,

I did a search and could not find what I was looking for. I have a small project I want to do that requires the use of a USB keyboard as input to a PIC. It seems most of the examples out t ...
  Topic: Boot Loader question
Frozen01

Replies: 1
Views: 9620

PostForum: General CCS C Discussion   Posted: Tue Apr 20, 2021 12:19 pm   Subject: Boot Loader question
I used the PCD boot loader example to get a boot loader to load a program via serial. It worked OK for my simple test code, but when I try a larger piece of code, it doe not work. I suspect that the ...
  Topic: getting individual bits out of a variable
Frozen01

Replies: 3
Views: 11797

PostForum: General CCS C Discussion   Posted: Wed May 27, 2020 11:40 am   Subject: getting individual bits out of a variable
I got something working, ended up just using a for loop...
  Topic: getting individual bits out of a variable
Frozen01

Replies: 3
Views: 11797

PostForum: General CCS C Discussion   Posted: Wed May 27, 2020 10:09 am   Subject: getting individual bits out of a variable
Here is what I need to do....

I read the serial stream (UART1)... I then want to pass to a function that I "bitbang" out to an oddball serial like device that does not fit the standard R ...
  Topic: CCS C and MPLAB X (5.15) [Solved]
Frozen01

Replies: 4
Views: 12885

PostForum: General CCS C Discussion   Posted: Tue May 14, 2019 12:35 pm   Subject: CCS C and MPLAB X (5.15) [Solved]
Oops... that was a bad typo... I installed it is what it meant to say. I have followed the PDF and it was not working.

I just tried again and now it suddenly is working... no idea what I did diff ...
  Topic: CCS C and MPLAB X (5.15) [Solved]
Frozen01

Replies: 4
Views: 12885

PostForum: General CCS C Discussion   Posted: Tue May 14, 2019 8:36 am   Subject: CCS C and MPLAB X (5.15) [Solved]
I cannot get CCS C tool chain to work with MPLAB X. I have uninstalled the plug in and it shows in the build tools under options, but if I create a new project, select the device, but when I get to t ...
  Topic: Rotary Encoder
Frozen01

Replies: 18
Views: 38476

PostForum: General CCS C Discussion   Posted: Fri Nov 18, 2016 2:38 pm   Subject: Rotary Encoder
here is my test complete test code:

#include <main.h>
#include <FLEX_LCD420.C>


unsigned int8 direction=1;
signed int16 index=0;
signed char enc_states[] = {0,-1,1,0 ...
  Topic: Rotary Encoder
Frozen01

Replies: 18
Views: 38476

PostForum: General CCS C Discussion   Posted: Fri Nov 18, 2016 1:59 pm   Subject: Rotary Encoder
that should read & 0x30
  Topic: Rotary Encoder
Frozen01

Replies: 18
Views: 38476

PostForum: General CCS C Discussion   Posted: Fri Nov 18, 2016 12:38 pm   Subject: Rotary Encoder
OK after some time away from this, I am back working on this project. I changed encoders to a Bourns incremental encoder (EMS22Q51-B28-LS4). My above code works great with no missed changes. Now my ...
  Topic: Rotary Encoder
Frozen01

Replies: 18
Views: 38476

PostForum: General CCS C Discussion   Posted: Fri Sep 09, 2016 5:37 pm   Subject: Rotary Encoder
OK got the oscillator setting figured out, have to test it and see if it changed now...
  Topic: Rotary Encoder
Frozen01

Replies: 18
Views: 38476

PostForum: General CCS C Discussion   Posted: Fri Sep 09, 2016 5:24 pm   Subject: Rotary Encoder
Several 'problems' can account for the missing counts..

1) using the printf() and an LCD module. LCD modules are 'slow' compared to the encoder...so the encoder can move, while the PIC is updating ...
  Topic: Rotary Encoder
Frozen01

Replies: 18
Views: 38476

PostForum: General CCS C Discussion   Posted: Fri Sep 09, 2016 4:23 pm   Subject: Rotary Encoder
Fuses:

#FUSES NOBROWNOUT //No brownout reset
#FUSES NOPBADEN //PORTB pins are configured as digital I/O on RESET
#FUSES NOLVP //No low voltage prg ...
  Topic: Rotary Encoder
Frozen01

Replies: 18
Views: 38476

PostForum: General CCS C Discussion   Posted: Fri Sep 09, 2016 2:16 pm   Subject: Rotary Encoder
PCWH Version 5.061
PIC18F45K20

Continuing on my learning journey with CCS, and programming, and PICs, I am working to get a rotary encoder working on a PIC 44-pin demo board. I have the encoder c ...
  Topic: Constructing a 32-bit word
Frozen01

Replies: 5
Views: 14724

PostForum: General CCS C Discussion   Posted: Wed Aug 24, 2016 9:31 am   Subject: Constructing a 32-bit word
I need to build up a 32-bit word to be sent out via SPI, and I am looking for the best way to do it.

It needs to be built up via several pieces, an 8-bit label, 2-bit identifier, 19-bit value, 2- ...
 
Page 1 of 3 Goto page 1, 2, 3  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group