Hi,
There is a new release of Coronium ACE tailored for the Raspberry Pi (1b and better). It provides access to the current Coronium Ace library, plus additional modules for the RPi.
An example endpoint returning the RPi temperature reading:
local api = ace.api()
function api.get.temp()
local ok, res = ace.vccmd( 'measure_temp' )
if ok then
return { temp = res }
end
end
return api
Feedback and ideas for functionality greatly appreciated.
Cheers.