Click here to Skip to main content
15,893,190 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Why the CTreeCtrl disable Pin
yu-jian4-Nov-12 15:28
yu-jian4-Nov-12 15:28 
QuestionRe: Why the CTreeCtrl disable Pin
David Crow4-Nov-12 16:18
David Crow4-Nov-12 16:18 
AnswerRe: Why the CTreeCtrl disable Pin
yu-jian4-Nov-12 16:35
yu-jian4-Nov-12 16:35 
GeneralRe: Why the CTreeCtrl disable Pin
Richard MacCutchan4-Nov-12 21:22
mveRichard MacCutchan4-Nov-12 21:22 
AnswerRe: Why the CTreeCtrl disable Pin
chaau4-Nov-12 10:57
chaau4-Nov-12 10:57 
AnswerRe: Why the CTreeCtrl disable Pin
Sajeesh Payolam4-Nov-12 19:42
Sajeesh Payolam4-Nov-12 19:42 
Questionhow can i set modem speed when i create rasdial entry. Pin
dolpari7013-Nov-12 22:03
dolpari7013-Nov-12 22:03 
QuestionLock a file Pin
Iain Wiseman3-Nov-12 16:46
Iain Wiseman3-Nov-12 16:46 
AnswerRe: Lock a file Pin
Richard MacCutchan3-Nov-12 21:25
mveRichard MacCutchan3-Nov-12 21:25 
GeneralRe: Lock a file Pin
Iain Wiseman4-Nov-12 9:22
Iain Wiseman4-Nov-12 9:22 
GeneralRe: Lock a file Pin
Iain Wiseman4-Nov-12 10:58
Iain Wiseman4-Nov-12 10:58 
GeneralRe: Lock a file Pin
Richard MacCutchan4-Nov-12 21:06
mveRichard MacCutchan4-Nov-12 21:06 
GeneralRe: Lock a file Pin
Iain Wiseman4-Nov-12 22:17
Iain Wiseman4-Nov-12 22:17 
GeneralRe: Lock a file Pin
Richard MacCutchan5-Nov-12 3:05
mveRichard MacCutchan5-Nov-12 3:05 
GeneralRe: Lock a file Pin
Iain Wiseman5-Nov-12 8:58
Iain Wiseman5-Nov-12 8:58 
GeneralRe: Lock a file Pin
SandipG 5-Nov-12 21:53
SandipG 5-Nov-12 21:53 
GeneralRe: Lock a file Pin
Richard MacCutchan5-Nov-12 22:10
mveRichard MacCutchan5-Nov-12 22:10 
GeneralRe: Lock a file Pin
Iain Wiseman6-Nov-12 19:29
Iain Wiseman6-Nov-12 19:29 
GeneralMessage Closed Pin
4-Nov-12 21:42
Sarath C4-Nov-12 21:42 
GeneralRe: Lock a file Pin
Richard MacCutchan5-Nov-12 3:00
mveRichard MacCutchan5-Nov-12 3:00 
AnswerRe: Lock a file Pin
Sarath C5-Nov-12 22:01
Sarath C5-Nov-12 22:01 
GeneralC CODE FOR RUNNING TWO SENSORS FOR BI-DIRECTIONAL COUNTING Pin
STEVE10K3-Nov-12 7:34
STEVE10K3-Nov-12 7:34 
GeneralRe: C CODE FOR RUNNING TWO SENSORS FOR BI-DIRECTIONAL COUNTING Pin
Tr@v3-Nov-12 11:15
Tr@v3-Nov-12 11:15 
Are the sensors tied to a GPIO line or do you have to talk to them using IIC or SPI? Need a little more info about the sensors before I could offer more assistance. I'm familiar with ARM (mostly Freescale and Atmel stuff) and I'd say that the sensors that I work with are generally tied to a GPIO pin. In that case you just need to read the GPIO pin status or tie it to an interrupt and read them in your app. The logic handling should be simple enough, if S1 is tripped before S2 then increment your counter and log the event to whatever permanent storage you are using, and decrement if you see the sensors in the opposite order. Not having much experience with PIC parts I don't know the exact registers you would need to check for the GPIO status though.
GeneralRe: C CODE FOR RUNNING TWO SENSORS FOR BI-DIRECTIONAL COUNTING Pin
STEVE10K5-Nov-12 7:57
STEVE10K5-Nov-12 7:57 
AnswerRe: C CODE FOR RUNNING TWO SENSORS FOR BI-DIRECTIONAL COUNTING Pin
Tr@v7-Nov-12 7:47
Tr@v7-Nov-12 7:47 

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.