Closed dmbe11 closed 1 year ago
When you execute this
import usb
for dev in usb.core.find(find_all=True):
print(dev)
in your Python environment with properly flashed and attached Teensy LC, there should be something like this
DEVICE ID 16c0:0483 on Bus 020 Address 022 =================
bLength : 0x12 (18 bytes)
bDescriptorType : 0x1 Device
bcdUSB : 0x110 USB 1.1
bDeviceClass : 0x2 Communications Device
bDeviceSubClass : 0x0
bDeviceProtocol : 0x0
bMaxPacketSize0 : 0x40 (64 bytes)
idVendor : 0x16c0
idProduct : 0x0483
bcdDevice : 0x273 Device 2.73
iManufacturer : 0x1 Teensyduino
iProduct : 0x2 USB Serial
iSerialNumber : 0x3 5667580
bNumConfigurations : 0x1
printed to screen. If not, your Teensy is either not properly flashed or not properly attached to your USB. To check that, you do not need the controller software:
Good luck
Thank you for the information. I verified that the teensy is working correctly, but unfortunately, I had to reinstall the software on my pi. I decided to install the legacy 32-bit version and would like you to provide the steps for installing the Controller Software on the PI. Here is what I recall stepwise:
That's about what I recall. Thanks for your help.
Dan
By the way! Harvey is a great film. I have a copy on DVD that I dug out a week ago. The lady who played the female nurse was a good actress but retired only a few years later to marry. They stayed married for 60+ years, quite uncommon for an actor today.
For setting up Raspberry Pi without PiBakery, please refer to: https://github.com/Harvey71/emdr/issues/4
Thank you, Thomas
Daniel Bell, PhD Program Chair, Interactive Media Design Franklin University @.**@.> 614.947.6117
From: Thomas Niebur @.> Date: Monday, February 6, 2023 at 10:59 AM To: Harvey71/emdr @.> Cc: Daniel Bell @.>, Author @.> Subject: Re: [Harvey71/emdr] Updating problems getting light bar to work. (Issue #6) CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
For setting up Raspberry Pi without PiBakery, please refer to: #4https://url.avanan.click/v2/___https:/github.com/Harvey71/emdr/issues/4___.YXAzOmZyYW5rbGluZWR1OmE6bzpkMDQ3MWQwMzg4NjJkYWYxZDllNzJhZmU2OWYyNmQwNjo2OmMzZGQ6NTUxYjMyNmE5MjgwOWE4ZjBhZjMyNmQ2NjgxYjE2MTI0YmM0ZmQ0NTk1NmRmZTBiNmExN2RjODQwOWU4NDNmYjpoOlQ
— Reply to this email directly, view it on GitHubhttps://url.avanan.click/v2/___https:/github.com/Harvey71/emdr/issues/6%23issuecomment-1419318161___.YXAzOmZyYW5rbGluZWR1OmE6bzpkMDQ3MWQwMzg4NjJkYWYxZDllNzJhZmU2OWYyNmQwNjo2OmM4ZWY6ZTlhOTM3Y2ZjZmUyNzJlZjYzNjAyNjkyN2U3Mjk0N2Y2OWYyOWRiMWJlYjA3N2NjODJjNmM3MmFkMGNhYjFlNzpoOlQ, or unsubscribehttps://url.avanan.click/v2/___https:/github.com/notifications/unsubscribe-auth/ABPDAEGGU7BV77PO35YVFW3WWENSFANCNFSM6AAAAAAUOGUFHQ___.YXAzOmZyYW5rbGluZWR1OmE6bzpkMDQ3MWQwMzg4NjJkYWYxZDllNzJhZmU2OWYyNmQwNjo2OjA2Mjg6YTA5MTE5YzRhMTExZmExMGZiYWU2OGIyMzA2MGNjMzdiZDcwMWQ4YWEyM2ViMzU0N2IzNTBiNzYwZjAxNTM3YjpoOlQ. You are rece iving this because you authored the thread.Message ID: @.***>
Hi Thomas, any idea why this command is returning Permission Denied?
echo "dtparam=audio=on"|cat - boot/config.txt &>/boot/config.tmp
You have to be root to write to that file. Try this before:
sudo su
would python3-sdl2 be a viable alternative for E: python3-sdl? I get an error: E: Unable to locate package python3-sdl
Should work, too. Just try it. :-)
Thomas, I was out of town for a bit and didn't have a chance to reply. My issue is not with the controller; it is working. The issue is either with the sketch or the communication between the controller and the Teensy.
Here are some clues that I observed: