I am relatively new for raspberry and gobot. I want to create a custom device driver for LDR. I want to use a LDR with gobot framework. I am confused here.

I referred this official documentation. But can't get an idea.

If someone can explain how its working or at least a good tutorial series it would be greatly appreciated.

Thanks in advance.

  • You need to explain more clearly what you are referring to. A device driver in a linux context is usually considered to be a kernel module, and those are written in C, but the documentation you reference is in Go. It is possible to write a userspace driver in any language, although I think in this case the language ("device driver") is probably more of an obfuscation than anything. Begging the question: What is it specifically you want to write a program to do? What is it you mean by "custom device driver"? – goldilocks Mar 29 '17 at 12:40
  • I want to use a LDR, currently gobot does not have a LDR driver. – Sachith Muhandiram Mar 30 '17 at 4:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.