Author |
Message |
Topic: Need help moving from 16F877A to 18F458 |
totalnoob
Replies: 6
Views: 6118
|
Forum: General CCS C Discussion Posted: Tue Mar 13, 2007 7:31 pm Subject: Need help moving from 16F877A to 18F458 |
Great, thanks for the help. I'll see about picking up a student version and not worry about switching PICs. |
Topic: Need help moving from 16F877A to 18F458 |
totalnoob
Replies: 6
Views: 6118
|
Forum: General CCS C Discussion Posted: Tue Mar 13, 2007 7:14 pm Subject: Need help moving from 16F877A to 18F458 |
So if I buy a student version for the 16F I should still be able to use the 16F and have plenty of memory? Am I correct in thinking that the 99% used was 99% of the allowable 2K and not 99% of the 14 ... |
Topic: Need help moving from 16F877A to 18F458 |
totalnoob
Replies: 6
Views: 6118
|
Forum: General CCS C Discussion Posted: Tue Mar 13, 2007 7:07 pm Subject: Need help moving from 16F877A to 18F458 |
Yes I'm using the demo, I picked that pic specifically because it was supported with the demo. |
Topic: Need help moving from 16F877A to 18F458 |
totalnoob
Replies: 6
Views: 6118
|
Forum: General CCS C Discussion Posted: Tue Mar 13, 2007 6:22 pm Subject: Need help moving from 16F877A to 18F458 |
Hi I'm working on a project that I began on the 16F877A but the code soon became too large and I decided to move to the 18F458 because it has more ROM. The program I have now compiles perfectly but f ... |
Topic: Determining square-wave frequency input into pic |
totalnoob
Replies: 49
Views: 146379
|
Forum: General CCS C Discussion Posted: Mon Feb 26, 2007 3:02 pm Subject: Determining square-wave frequency input into pic |
Thanks a lot for all the help, I appreciate it. I'll give it a try and see what I can get working. |
Topic: Determining square-wave frequency input into pic |
totalnoob
Replies: 49
Views: 146379
|
Forum: General CCS C Discussion Posted: Fri Feb 23, 2007 4:06 pm Subject: Determining square-wave frequency input into pic |
Ok, I'm trying to read a square-wave frequency into a PIC 16F877A and determine what the frequency is. The square wave is a standard 0-5V wave with 50% duty cycle, the only variable is the frequency. ... |
Topic: Problems with line following response time. |
totalnoob
Replies: 11
Views: 9277
|
Forum: General CCS C Discussion Posted: Mon Nov 27, 2006 5:21 pm Subject: Problems with line following response time. |
I tried what you suggested but I'm still seeing a lag. I don't know if it's because I'm not acting on the current ADC or If it's because the motor controller is not reacting fast enough. What I'm ba ... |
Topic: Problems with line following response time. |
totalnoob
Replies: 11
Views: 9277
|
Forum: General CCS C Discussion Posted: Mon Nov 27, 2006 3:50 pm Subject: Problems with line following response time. |
Ttelmah,
I thank you for pointing out the time it takes to run through my adc code. I'm new to CCS so I'm really not familiar with how long all the processes take. I have a question about interrupt ... |
Topic: Problems with line following response time. |
totalnoob
Replies: 11
Views: 9277
|
Forum: General CCS C Discussion Posted: Sun Nov 26, 2006 8:14 pm Subject: Problems with line following response time. |
jma_1,
Thanks for your reply. To answer a few of your questions:
Wheels are smooth rubber.
input(PIN_A1) is a logic input from an analog circuit that indicates whether the error signal is posi ... |
Topic: Problems with line following response time. |
totalnoob
Replies: 11
Views: 9277
|
Forum: General CCS C Discussion Posted: Sun Nov 26, 2006 5:20 pm Subject: Problems with line following response time. |
I'm building a line following robot using a Devantech MD23 i2c motor controller and I'm having a lot of trouble with the implementation of my code. I use external circuitry to find an error signal so ... |
Topic: Converting ADC Result to output as Voltage on LCD |
totalnoob
Replies: 3
Views: 6004
|
Forum: General CCS C Discussion Posted: Tue Nov 21, 2006 6:15 pm Subject: Converting ADC Result to output as Voltage on LCD |
You may not have all the answers but so far you've had all of mine!!
It's working great now. Thank you once again for the excellent help. |
Topic: Converting ADC Result to output as Voltage on LCD |
totalnoob
Replies: 3
Views: 6004
|
Forum: General CCS C Discussion Posted: Tue Nov 21, 2006 1:14 pm Subject: Converting ADC Result to output as Voltage on LCD |
Ok I'm reading in an analog voltage from 0 to 5V into the ANO pin of a 16F877A. I'm trying to convert that value into it's corresponding voltage so that I can display it on an i2c LCD. I get the LCD ... |
Topic: Converting String to ascii hex to be output to LCD Via I2C. |
totalnoob
Replies: 8
Views: 13735
|
Forum: General CCS C Discussion Posted: Wed Nov 15, 2006 7:50 pm Subject: Converting String to ascii hex to be output to LCD Via I2C. |
That was exactly what the problem was, thanks a lot. Now my programs work perfectly. I appreciate the help. Are you an employee of CCS? or are you just a knowledgeable forum goer, because it seems ... |
Topic: Converting String to ascii hex to be output to LCD Via I2C. |
totalnoob
Replies: 8
Views: 13735
|
Forum: General CCS C Discussion Posted: Tue Nov 14, 2006 8:33 pm Subject: Converting String to ascii hex to be output to LCD Via I2C. |
Okay, I tried to put my lcd functions into a separate .h file and it compiles but the main function isn't working correctly. When I run the program the LCD_write function always works but the init_LC ... |
Topic: Converting String to ascii hex to be output to LCD Via I2C. |
totalnoob
Replies: 8
Views: 13735
|
Forum: General CCS C Discussion Posted: Tue Nov 14, 2006 7:33 pm Subject: Converting String to ascii hex to be output to LCD Via I2C. |
I tried what you suggested with the strcpy function and I was able to get it working. Thanks a lot for the help. I'm trying to make the the functions more robust now and put them into a .h file. I' ... |
|