And we are back in the business! BaremetalPi.jl 0.1.2 is working perfectly with the Raspberry Pi Zero 2W (Manjaro Linux) and the official AArch64 Julia build.
11 Likes
I am using BaremetalPi to create a trigger signal to synchronize multiple HATS in my package GitHub - Spectrum-Tec/MccDaqHats.jl, not registered. The trigger function is:
function trigger(pin::Int; duration::Real = 0.050)
init_gpio()
gpio_set_mode(pin, :out)
try
gpio_set(pin)
sleep(duration)
gpio_clear(pin)
finally
gpio_set_mode(pin, :in)
end
end
The init_gpio function is no longer working for the PI 5 as documented here. It seems that the PI 5 has changed the way the hardware is accessed. I am wondering if this will be addressed, or how best to address it?