Caernarfon Castle
TerrainTronic Caernarfon Castle  shield
To use a Caernarfon Castle :
caernarfon = main.TerrainTronics.addCaernarfon( neoPixelCount=45 )
Adjust neoPixelCount to the number of LEDS on your chain connected to the Caernarfon’s Neopixel output connection
Servos / more NeoPixel chains
The Caernarfon Castle has three “servo” connections - 1, 2, and 3. Each of these can be used by LCPF for either a sevro or an additional NeoPixel chain.
- use as servo : caernarfon.initServo( servoNumber )
- use as neopixels : caernarfon.initNeoPixOnServo(servoNumber,neoPixelCount=N)
IR remote
to setup the IR Remote, use
ir = caernarfon.addIrRemote()
Last updated on