Part Number: DS90UB954-Q1
Other Parts Discussed in Thread: TEST2, ALP
Hi ,
I'm writing a number of python scripts to evaluate my 954 based design using Analog Launchpad.
I'm not an experienced Python coder, but my scripts, many of which include functions which I access using the import command, usually run well.
However, when I include a board.WriteI2C command within a function I get the following error
"NameError: global name 'board' is not defined".
What do I need to do to get the I2C commands to operate within a function?
Thanks
Paul

