Click here to Skip to main content
15,850,547 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Lock a file Pin
Richard MacCutchan5-Nov-12 23:10
mveRichard MacCutchan5-Nov-12 23:10 
GeneralRe: Lock a file Pin
Iain Wiseman6-Nov-12 20:29
Iain Wiseman6-Nov-12 20:29 
GeneralMessage Closed Pin
4-Nov-12 22:42
Sarath C4-Nov-12 22:42 
GeneralRe: Lock a file Pin
Richard MacCutchan5-Nov-12 4:00
mveRichard MacCutchan5-Nov-12 4:00 
AnswerRe: Lock a file Pin
Sarath C5-Nov-12 23:01
Sarath C5-Nov-12 23:01 
GeneralC CODE FOR RUNNING TWO SENSORS FOR BI-DIRECTIONAL COUNTING Pin
STEVE10K3-Nov-12 8:34
STEVE10K3-Nov-12 8:34 
GeneralRe: C CODE FOR RUNNING TWO SENSORS FOR BI-DIRECTIONAL COUNTING Pin
Tr@v3-Nov-12 12:15
Tr@v3-Nov-12 12:15 
GeneralRe: C CODE FOR RUNNING TWO SENSORS FOR BI-DIRECTIONAL COUNTING Pin
STEVE10K5-Nov-12 8:57
STEVE10K5-Nov-12 8:57 
I am tieing a pair of infrared sensors S1 and S2 onto GPIO lines(digital I/O) of any microcontroller that is easy to program in C as I am new to this.I am looking into ARDUINO UNO(ATmega328 MCU),ARDUINO MEGA(ATmega1280) or a PIC16F877A.I will use the Microcontroller to read the interrupts from the sensors as they change on being broken in the sequence mentioned before.
My main problem is the real coding in C of the logic onto my app.
Can you help with the code?? I wish to have the following functionality:

1) Read interrupts from sensors
2)Increment or decrement counter depending on sequence they are broken
3) timestamp the count and enable storing
4) Pass timestapmed data onto a remote host computer via bluetooth or Wifi.
Do you suggest any parcticular Microcontroller for this application?

Thank you very much.
AnswerRe: C CODE FOR RUNNING TWO SENSORS FOR BI-DIRECTIONAL COUNTING Pin
Tr@v7-Nov-12 8:47
Tr@v7-Nov-12 8:47 
GeneralRe: C CODE FOR RUNNING TWO SENSORS FOR BI-DIRECTIONAL COUNTING Pin
STEVE10K8-Nov-12 4:41
STEVE10K8-Nov-12 4:41 
GeneralRe: C CODE FOR RUNNING TWO SENSORS FOR BI-DIRECTIONAL COUNTING Pin
STEVE10K3-Dec-12 3:49
STEVE10K3-Dec-12 3:49 
QuestionC++ question. Please help me out Pin
Member 88567522-Nov-12 10:06
Member 88567522-Nov-12 10:06 
AnswerRe: C++ question. Please help me out Pin
jeron12-Nov-12 10:18
jeron12-Nov-12 10:18 
AnswerRe: C++ question. Please help me out Pin
Richard MacCutchan2-Nov-12 11:23
mveRichard MacCutchan2-Nov-12 11:23 
AnswerRe: C++ question. Please help me out Pin
Amarnath S3-Nov-12 21:49
professionalAmarnath S3-Nov-12 21:49 
Questionhow to return value after user input Pin
Member 21198442-Nov-12 6:11
Member 21198442-Nov-12 6:11 
AnswerRe: how to return value after user input Pin
Richard MacCutchan2-Nov-12 7:25
mveRichard MacCutchan2-Nov-12 7:25 
GeneralRe: how to return value after user input Pin
Member 21198442-Nov-12 9:16
Member 21198442-Nov-12 9:16 
GeneralRe: how to return value after user input Pin
Richard MacCutchan2-Nov-12 11:19
mveRichard MacCutchan2-Nov-12 11:19 
AnswerRe: how to return value after user input Pin
Santhosh G_2-Nov-12 7:34
Santhosh G_2-Nov-12 7:34 
GeneralRe: how to return value after user input Pin
Member 21198442-Nov-12 8:51
Member 21198442-Nov-12 8:51 
GeneralRe: how to return value after user input Pin
Santhosh G_2-Nov-12 16:32
Santhosh G_2-Nov-12 16:32 
GeneralRe: how to return value after user input Pin
Member 21198442-Nov-12 18:19
Member 21198442-Nov-12 18:19 
GeneralRe: how to return value after user input Pin
Santhosh G_2-Nov-12 18:26
Santhosh G_2-Nov-12 18:26 
GeneralRe: how to return value after user input Pin
Member 21198442-Nov-12 18:33
Member 21198442-Nov-12 18:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.