Error NoneType object has no attribute boardname

Q What does it mean when the error "AttributeError: 'NoneType' object has no attribute 'boardname'" is reported while running a program in Mind+?
A That means the pinping initialization block is missing. You need to load the pinpong initialization function and initialize pinpong before using a sensor.