Adafruit NeoTrinkey - First Look
HTML-код
- Опубликовано: 5 окт 2024
- Hello!
In this video I take a first look at Adafruit's NeoTrinkey, a SAMD21 Arm Cortex M0+ powered micrcontroller.
I show you how to create a USB HID device that opens two applications and lights the four onboard Neopixels.
Accompanying blog post at bigl.es/monday...
You can buy your own from Adafruit www.adafruit.c...
Nice little interface device, liking the led feedback when it’s needed.
I really like it, not as expansive as an Arduino or Pico but a really fun board that could spark the interest of a casual coder.
How different is the Neo from the older Trinkey?
My one was intended to use a single key intended for a keyboard, but my limited programming ability is not coping with the intended use.
Think I might add one of these to my next pimoroni order ...
Is there a command to test if both capacitive touch buttons are pressed at the same time ?
You could write an additional test that checks if both are pressed, and then trigger another keyboard shortcut.
@@LesPounder many thanks ...
Would something like this work ?
If touch.A1.value and touch.a2.value:
print("both")
pixels.fill((255, 255, 255))
pixels.show()
.
.
.
@@Keeping_IT_Simple Just tried something similar and no matter what it only detects one of the other, not both. It could be the code, or my ageing reflexes :) Experiments are required I think.
@@LesPounder not to worry ..
I'll get one on order & let you know what I find ....