Search found 11 matches

by KurtE
Sun Apr 24, 2022 12:39 am
Forum: Other Boards
Topic: [Teensy4, 4.1, Teensy MicroMod] - Pins, Uarts, ...
Replies: 1
Views: 2219

Re: [Teensy4, 4.1, Teensy MicroMod] - Pins, Uarts, ...

Some notes after playing a little bit. So far I don't think the Teensy boards port, That the UARTS code has support to set which pins to use for TX or RX, have not tried the other two... >>> import machine, sys, os >>> uart1 = machine.UART(1) >>> uart1.init(tx=1) Traceback (most recent call last): F...
by KurtE
Sat Apr 23, 2022 8:34 pm
Forum: Other Boards
Topic: Teensy 4.0 & 4.1
Replies: 290
Views: 468756

Re: Teensy 4.0 & 4.1

Roberthh wrote:
Sat Apr 23, 2022 7:21 pm
There are the classes machine.Pin.board and machine.Pin.cpu with contain the pin objects at board or cpu level.
Thanks!

I figured that out after posting it... And I Should have updated the post. The sketch in previous post uses that to build list of pins.

Thanks again
by KurtE
Sat Apr 23, 2022 4:10 pm
Forum: Other Boards
Topic: [Teensy4, 4.1, Teensy MicroMod] - Pins, Uarts, ...
Replies: 1
Views: 2219

[Teensy4, 4.1, Teensy MicroMod] - Pins, Uarts, ...

Sorry, not sure if best to ask this as part of other threads and/or different topics... But I am trying to understand what things are defined or not defined and if they should be. For example Teensy 4.0, the pins.csv file only go up to: D33,GPIO_EMC_07 Where as if you look at the T4.0 card from PJRC...
by KurtE
Sat Apr 23, 2022 1:35 pm
Forum: Other Boards
Topic: [MIMXRT/Teensy MicroMod] - Add support for Teensy MicroMod
Replies: 0
Views: 10909

[MIMXRT/Teensy MicroMod] - Add support for Teensy MicroMod

Recently a few of us started playing around with Micropython and CircuitPython on the different Teensy boards: T4 and T4.1. Started off with questions up on PJRC forum about supporting them when plugged into the USBHost port... While playing with them, wondered about Supporting the Sparkfun Teensy M...
by KurtE
Fri Apr 22, 2022 1:38 am
Forum: Other Boards
Topic: Teensy 4.0 & 4.1
Replies: 290
Views: 468756

Re: Teensy 4.0 & 4.1

Not sure if this is interesting, but making progress with the check pins... Current version: import machine import time import select import sys from machine import Pin board = Pin.board exclude = ['__class__ ', '__name__', '__bases__', '__dict__'] all_pins = {} print_progress_dots = False pull_up_o...
by KurtE
Thu Apr 21, 2022 8:14 pm
Forum: Other Boards
Topic: Teensy 4.0 & 4.1
Replies: 290
Views: 468756

Re: Teensy 4.0 & 4.1

That appeared to work, I now have the new Branch in my Fork: https://github.com/KurtE/circuitPython/tree/my_mpython_dev One interesting side effect, is Adafruit's code checks run on this branch as well, even though this branch will not be PR'd into CircuitPython... In this branch I have a version of...
by KurtE
Thu Apr 21, 2022 12:53 pm
Forum: Other Boards
Topic: Teensy 4.0 & 4.1
Replies: 290
Views: 468756

Re: Teensy 4.0 & 4.1

circuitpython is a GitHub fork of micropython , and you can't create multiple forks of a repo, even transitively. But since the repos are related, you should be able to make the micropython repo be a git remote of your current clone. git remote add micropython https://github.com/micropython/micropy...
by KurtE
Thu Apr 21, 2022 12:06 pm
Forum: Other Boards
Topic: Teensy 4.0 & 4.1
Replies: 290
Views: 468756

Re: Teensy 4.0 & 4.1

As for MTP, being buggy on the MAC, it is hard for me to say as I have not done much using the MAC notebood. I do use my older one on occasion when I want to test out something, but I primarily use PC with Windows, and it is touchy on things like timing. On a secondary note: Recently a few of us (mj...
by KurtE
Fri Apr 08, 2022 12:17 pm
Forum: Other Boards
Topic: Teensy 4.0 & 4.1
Replies: 290
Views: 468756

Re: Teensy 4.0 & 4.1

MTP would be great if Apple provided support. It's sad they didn't, for marketing (iPod) reasons. We certainly considered MTP for CIrcuitPython, but no good macOS support was a big stumbling block. With our MTP support for the Teensy, which is still not released as built in to the Teensyduino relea...
by KurtE
Mon Mar 28, 2022 4:12 pm
Forum: Other Boards
Topic: Teensy 4.0 & 4.1
Replies: 290
Views: 468756

Re: Teensy 4.0 & 4.1

Thanks for the information: I am still in the learning phase, and just trying to understand things. As for MSC versus MTP, versus serial... Lots of trade offs. Now just trying to understand more basic things like: Is it possible to do something like: input(), but only if there is data available? sor...