YIM bunchhat Active Member Licensed User Longtime User Nov 23, 2014 #1 I want to use library Jpi4j to generate signal PWM with GPIO of Raspberry Pi. How can I do? Thank
naldoxable Member Licensed User Longtime User Sep 4, 2015 #2 Using Jpi4j library, write these lines: B4X: Dim jo AsJavaObject jo.InitializeStatic("com.pi4j.wiringpi.SoftPwm") jo.RunMethod("softPwmCreate", Array (pin, value, range)) Upvote 0
Using Jpi4j library, write these lines: B4X: Dim jo AsJavaObject jo.InitializeStatic("com.pi4j.wiringpi.SoftPwm") jo.RunMethod("softPwmCreate", Array (pin, value, range))