Jump to content
Sign in to follow this  
jim

interfacing GPIO pins using assembly rather than devices

Recommended Posts

I tried this, but no luck, I get segmentation fault when executing it.
Is there anybody who succeeded to access the GPIO pins without using the devices files?
I'm trying to make a CNC controller with the PCduino.
My problem is that using the device files is way to slow for my purpose.

Share this post


Link to post
Share on other sites

I haven't tried - however, I had a look at the website above - I see some trouble with the delay() method it uses a plain counter that gets decreased to zero. This is unreliable as far as I read around, since the compilers might optimize the loop ?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×