Kura PWM? [message #1770424] |
Fri, 11 August 2017 03:37  |
Eclipse User |
|
|
|
Hi.
I am wondering is there any module in Kura that allows control of PWM pin?
I would like to control motors from Kura / Java. For now, I am using Python, but I want to do that from Kura? In Kura documentation I saw that Kura API has GPIO/PWM/I2C/SPI access, but I can't find anything in code.
Regards,
Milan
|
|
|
|
|
Re: Kura PWM? [message #1771720 is a reply to message #1770795] |
Tue, 29 August 2017 16:38  |
Eclipse User |
|
|
|
Hello,
Sorry for the slow response. Kura relies on the Open JDK DIO library [1] for digital communications. You will see in the APIs that there is an interface for controlling PWM, this however is not being exported properly in Kura. We believe this is an issue in how we compiled the native libraries for JDK DIO. You are welcome to file an Issue here [2] and we will add it to the project backlog. If you are interested in trying to fix this issue, we welcome contributions from the community.
[1] http://docs.oracle.com/javame/8.0/api/dio/api/index.html
[2] https://github.com/eclipse/kura/issues
Thanks,
--Dave
|
|
|
Powered by
FUDForum. Page generated in 1.06202 seconds