I'm trying to connect a DS18B20 to the GPIOs. I have successfully done so electronically, but I could only code the reset function because it's not that time critical. It is OK for that function to take at least 960us.
But when it comes to communication with the sensor, bit banging one's and zero's I have a problem. The least amount of time I can get a function to have is like 300us.
When communicating I have to have timings around 6-15us. How do I do that?
I wrote the program in geany compiled it, and even rebooted my Linux Debian distro and tried the program before entering startx. Didn't do anything to the timing?
I know a guy called frank buss manage this, but I want this to be able to run in xwin.