Hey guys.. I'm asking this in anticipation for working on the program side to my External VFD project.. Pardon if they're rather dumb questions, I'm not that hevily trained in C.
First I'm going to be just parsing /proc/empeg_notify, more than likely to just get the FID, and then pull MP3 tags from the file directly. My first question is this: Since it's a proc file, when is the date/time updated for the file? Whenever data in it is changed? Or does it always have the 'current' date/time?
I don't want to go into a infinte loop, re-reading the same data over and over, just waiting for the FID to change (suck up way too much cpu time.) I thought about looping just to check the date/time (again, slowing it down so it dosn't suck up CPU..), waiting to see when it changes, and then when it does, re-parse the FID. But somehow I don't think that will work.
Second question, is there a /proc file (or maybe some hijack function I can call?) that will tell me the status of the headlight sence?
Gratzi!
Me.