Author |
Message |
Topic: Sleep Mode PIC16F877 |
znses
Replies: 6
Views: 11366
|
Forum: General CCS C Discussion Posted: Tue May 10, 2011 1:22 pm Subject: Sleep Mode PIC16F877 |
Regarding the error : Error 128 "C:\Users\kustaff\Desktop\bunage\T.c" Line 4(1,70): A #DEVICE required before this line
I ensured that all your step for detecting this error are confirm ... |
Topic: Sleep Mode PIC16F877 |
znses
Replies: 6
Views: 11366
|
Forum: General CCS C Discussion Posted: Tue May 10, 2011 12:47 pm Subject: Sleep Mode PIC16F877 |
I got this error message A #DEVICE required before this line
when I want to use the example code
If I want to use a bush button of RB4 in ICD3 how can I manage that ?
#if defined(__PCM__ ... |
Topic: Sleep Mode PIC16F877 |
znses
Replies: 6
Views: 11366
|
Forum: General CCS C Discussion Posted: Tue May 10, 2011 8:44 am Subject: Sleep Mode PIC16F877 |
How can I configure a sleep mode for PIC16F877 and how to quit from sleep mode in order to enable the PIC to read from the sensors.
Can anyone help me in formulating a code for doing that. |
Topic: I need help No.2 on srf08 sensors |
znses
Replies: 2
Views: 4463
|
Forum: General CCS C Discussion Posted: Sun Apr 24, 2011 9:24 am Subject: I need help No.2 on srf08 sensors |
I have 3 srf08 sensors and I will place them: one pointing forward.
One on the right and one on the left.
The forward sensor will check if the range is between 1.5 and 2 meters.
Then It will ... |
Topic: I need a HELP ! |
znses
Replies: 10
Views: 9871
|
Forum: General CCS C Discussion Posted: Fri Apr 15, 2011 2:06 pm Subject: I need a HELP ! |
Regarding address changing program >> The first method
The following program can be called as I2C address changing program ?
#include <16f877a.h>
#fuses HS, NOWDT, NOPROTECT, BRO ... |
Topic: I need a HELP ! |
znses
Replies: 10
Views: 9871
|
Forum: General CCS C Discussion Posted: Fri Apr 15, 2011 1:42 pm Subject: I need a HELP ! |
I was setting the two sensors at the same I2C and at the same time do you mean I have to connect 1 sensor using the same program then I connect the second sensor to I2C Pic's lines ? |
Topic: I need a HELP ! |
znses
Replies: 10
Views: 9871
|
Forum: General CCS C Discussion Posted: Fri Apr 15, 2011 12:54 pm Subject: I need a HELP ! |
Do you mean that int16 range[1]=0; should be int16 range[17]=0; instead ?
But we will send only 1 rather than the 17th echos that is why I initialized the array to hold 1 element only because I wan ... |
Topic: I need a HELP ! |
znses
Replies: 10
Views: 9871
|
Forum: General CCS C Discussion Posted: Fri Apr 15, 2011 12:50 pm Subject: I need a HELP ! |
sorry typo-error the second variable is int16 rangey[1]=0; It is not the same ... so Is there any error associated with the structure, initialization , usage of I2C or ranging ?>
Thanks alot f ... |
Topic: I need a HELP ! |
znses
Replies: 10
Views: 9871
|
Forum: General CCS C Discussion Posted: Fri Apr 15, 2011 12:28 am Subject: I need a HELP ! |
I am using ICD3 & PIC16F877A and two srf08 sonar sensors and I do face a problem in distinguishing and detection of both sensors. On an individual basis for 1 sensor the code work successfully bu ... |
|