Author |
Message |
Topic: Need help with efficiency |
Vefa
Replies: 6
Views: 5863
|
Forum: General CCS C Discussion Posted: Wed May 16, 2007 3:49 pm Subject: Need help with efficiency |
Hello,
I have been working on this code that reads the duty cycle of 7 serial PWM signals that is hacked from a 7 channel Futaba receiver and then adjusts 3 of them with some control input signal a ... |
Topic: write_ext_eeprom |
Vefa
Replies: 10
Views: 11941
|
Forum: General CCS C Discussion Posted: Fri Feb 23, 2007 9:47 am Subject: works! |
I checked the lst file. I saw the following statement:
#ifndef EEPROM_SDA
....................
.................... #define EEPROM_SDA PIN_B1
.................... #define EEPROM_SCL PIN_B0
... |
Topic: write_ext_eeprom |
Vefa
Replies: 10
Views: 11941
|
Forum: General CCS C Discussion Posted: Fri Feb 23, 2007 9:07 am Subject: write_ext_eeprom |
My compiler is PCH version 3.249.
When I compile the code with the compiler on my friend's computer, it works! When I compile it with mine it does not. We have the same compiler. I am going to try re ... |
Topic: write_ext_eeprom |
Vefa
Replies: 10
Views: 11941
|
Forum: General CCS C Discussion Posted: Wed Feb 21, 2007 10:19 am Subject: write_ext_eeprom |
C3, and C4. Pull-ups are 4K. I tried 3 different 24FC515 EEPROM chips. I did a continuity test. Everything in the hardware end seems to be in good /working condition. I am using a friend's circuit and ... |
Topic: write_ext_eeprom |
Vefa
Replies: 10
Views: 11941
|
Forum: General CCS C Discussion Posted: Tue Feb 20, 2007 8:06 pm Subject: write_ext_eeprom |
Thanks PCM programmer. I have the pull ups. I used int instead of short int. Thanks for the manual as well. Do you agree that I have a hardware problem? or should I try low level programming as in
... |
Topic: write_ext_eeprom |
Vefa
Replies: 10
Views: 11941
|
Forum: General CCS C Discussion Posted: Tue Feb 20, 2007 4:30 pm Subject: write_ext_eeprom |
write_ext_eeprom line does not work. I checked my hardware. Am I missing something in the code? |
Topic: write_ext_eeprom |
Vefa
Replies: 10
Views: 11941
|
Forum: General CCS C Discussion Posted: Tue Feb 20, 2007 4:03 pm Subject: write_ext_eeprom |
Hi Everyone,
Does anyone have any idea why the following simple code would not work?
#include <18F8722>
#include <24515.c>
#include <stdlib.h>
#include <math.h>
#fu ... |
Topic: Serial comm baud 57600 |
Vefa
Replies: 17
Views: 21663
|
Forum: General CCS C Discussion Posted: Wed Feb 14, 2007 1:05 pm Subject: works!! |
You are right. I've just connected the IMU output directly to C6, C7 instead of passing thru MAX235 and it works.
Thanks all, |
Topic: Serial comm baud 57600 |
Vefa
Replies: 17
Views: 21663
|
Forum: General CCS C Discussion Posted: Tue Feb 13, 2007 3:27 pm Subject: Serial comm baud 57600 |
The link to the data sheet of the IMU is:
http://www.sparkfun.com/datasheets/Sensors/IMU_6DOF-v21.pdf
Thanks, |
|