Fix the following panic for ph_board and pico_board.
panic: interface conversion: interface {} is float64, not int [recovered]
panic: interface conversion: interface {} is float64, not int
Validation succeeded for the driver and params, but creating the driver did not correctly convert to int using hal.ConvertToInt. Fixed error in NewDriver methods and added tests to confirm.
Fix the following panic for ph_board and pico_board.
Validation succeeded for the driver and params, but creating the driver did not correctly convert to int using hal.ConvertToInt. Fixed error in NewDriver methods and added tests to confirm.