Identifying model

Is there a way I can identify which model of Moku I’m targetting with a compile?

So I can do something like:

constant lsb_per_volt: real := 6550.4 when MokuGo else
29925.0 when MokuPro else
30000.0 when MokuLab;

Thanks,

Howard.

Hello @hlovatt ,
Unfortunately, you will have to manually set the variable depending on the hardware you are using, this isn’t able to be automatically selected. I hope this helps!

Thanks for the information