@rvreugde wrote:
Hello,
I just bught an Explorer Hat for my Raspberry Pi Zero. When I connect the Explorer Hat, boot my Raspberry Pi Zero.
I noticed the the blue led is flashing while booting and stays on afterwards.
Then I start Python3 and enter the following commands:root@raspberrypi:~# python3
Python 3.4.2 (default, Oct 19 2014, 13:31:11)
[GCC 4.9.1] on linux
Type "help", "copyright", "credits" or "license" for more information.import explorerhat
Warning, could not find Analog or Touch...
Please check your i2c settings!
explorerhat.input
one, two, three, four
explorerhat.output
one, two, three, four
explorerhat.touchexplorerhat.light
green, red, blue, yellowAlso, enabling the red light gives an error:
explorerhat.light.red.on()
Traceback (most recent call last):
File "", line 1, in
NameError: name 'explorerhat' is not definedMy I2C is enabled via raspi-config.
I also have an Explorer pHat, and this works fine:
Can somebody help?
Posts: 6
Participants: 2