Closed cortex closed 2 weeks ago
This should be possible as it is now I think. Can you give this a try?
import QtQuick 2.15
import QtQuick.Controls 2.15
import Vedder.vesc.vescinterface 1.0
Item {
function testHw(){
var fw = VescIf.getLastFwRxParams()
console.log(fw.hw)
console.log(fw.hwTypeStr())
}
Button{
text :"Test HW"
onClicked: testHw()
}
}
Those work just fine, didn't realize they existed , thanks @vedderb !
This allows getting hardware name and type from QML
Example code: