Script fails with output:
ERROR: LoadError: UndefVarError: int not defined
Stacktrace:
[1] set_servo_pulsewidth(::Pi, ::Int32, ::Int32) at /home/pi/.julia/packages/PiGPIO/zdssl/src/pi.jl:674
[2] top-level scope at none:0
[3] include at ./boot.jl:317 [inlined]
[4] include_relative(::Module, ::String) at ./loading.jl:1044
in expression starting at /home/pi/Documents/julia_servo.jl:42
Iām pretty sure that is a typo in PiGPIO/src/pi.jl:675. That int should be Int, try changing that on your local copy and restarting Julia. If that works, it is probably worthwhile filing a bug report.
You are correct. I changed int to Int and it works correctly. Many thanks for your great support !
Julia is great. I am switching all my codes from Py to Julia in RPi.