Search found 11 matches

by mjs513
Sun Mar 27, 2022 8:07 pm
Forum: Other Boards
Topic: Teensy 4.0 & 4.1
Replies: 290
Views: 468585

Re: Teensy 4.0 & 4.1

Too bad on exFAT sd cards especially with the cards getting so large now. If you are interested you can check this thread out on the PJRC forum from this post on which concerns micropython/circuitpython: https://forum.pjrc.com/threads/68139-Teensyduino-File-System-Integration-including-MTP-and-MSC?p...
by mjs513
Sun Mar 27, 2022 7:18 pm
Forum: Other Boards
Topic: Teensy 4.0 & 4.1
Replies: 290
Views: 468585

Re: Teensy 4.0 & 4.1

Just by way of an update. We attached a T4.1 with micropython to USBHost adapter on a second T4.1. We then did some tinkering in the sketch (using userial) to put the T4.1MP (Micropython) into repl mode and its working. But we took it one step further. The Normal T4.1 using MTP to store a file with ...
by mjs513
Fri Mar 25, 2022 3:22 pm
Forum: Other Boards
Topic: Teensy 4.0 & 4.1
Replies: 290
Views: 468585

Re: Teensy 4.0 & 4.1

Hi @Roberthh Thanks for the info and I did see something about mpremote early on in the discussion but a bit dense (a lot more to learn I guess). Too bad though. Yes SPIRAM is fairly slow, have tested it on the T4 and T4.1 since we managed to get LittleFS operational on the T4x for NOR and NAND flas...
by mjs513
Fri Mar 25, 2022 1:59 pm
Forum: Other Boards
Topic: Teensy 4.0 & 4.1
Replies: 290
Views: 468585

Re: Teensy 4.0 & 4.1

Been checking this thread on and off for a while and was able to load Micropython on a T4.1 using instructions from here https://micropython.org/download/TEENSY41/. Pretty new to micropython so fairly confused on getting things set up. So if you can indulge me I have a few questions. It seems I can ...
by mjs513
Sun May 14, 2017 1:36 pm
Forum: General Discussion and Questions
Topic: Converting the VL53L01X Arduino Library
Replies: 14
Views: 12793

Re: Converting the VL53L01X Arduino Library

I just ran your code and see what your mean. Up to about 200 mm it reads fairly accurately and then starts loosing accuracy. After about 300 it starts decreasing in values (only tried to about 600 mm). Sounds like just putting the timing budgets in it will work. One suggestion, recommend changing th...
by mjs513
Sun May 14, 2017 12:19 am
Forum: General Discussion and Questions
Topic: Converting the VL53L01X Arduino Library
Replies: 14
Views: 12793

Re: Converting the VL53L01X Arduino Library

Thanks. Spent a couple late nights, plus I am stubborn. But like I said you all helped me with my questions otherwise it would have taken longer. Your version is a lot more polished, hopefully, it will take less space on the openmv which kept giving me a memory error (allocation of xxx bytes) messag...
by mjs513
Sat May 13, 2017 9:41 pm
Forum: General Discussion and Questions
Topic: Converting the VL53L01X Arduino Library
Replies: 14
Views: 12793

Re: Converting the VL53L01X Arduino Library

Hi deshipu, Not sure if you saw the post over on the OpenMV forum, but I did manage to get same library converted. I did do the budget settings and seem to be getting fairly descent readings. Its is comparable to what I get out of the Arduino sketch. Here is the link. http://forums.openmv.io/viewtop...
by mjs513
Wed May 10, 2017 6:07 pm
Forum: General Discussion and Questions
Topic: Converting the VL53L01X Arduino Library
Replies: 14
Views: 12793

Re: Converting the VL53L01X Arduino Library

To be honest, because it shows my ignorance, couldn't figure out what it was doing. Told you I have no idea about python. What got me is the format string portion of the struct. If I look the way its done here, I get it: values = (1, 'ab', 2.7) s = struct.Struct('I 2s f') packed_data = s.pack(*value...
by mjs513
Wed May 10, 2017 3:19 pm
Forum: General Discussion and Questions
Topic: Converting the VL53L01X Arduino Library
Replies: 14
Views: 12793

Re: Converting the VL53L01X Arduino Library

Ok thanks for the clarification. It was getting confusing reading some of the stuff out there. It looked like in what I saw they converted to ints first the passed the reg values. For the returned values in order to perform operations I need to convert from byte string to int. Doing a little researc...
by mjs513
Wed May 10, 2017 11:03 am
Forum: General Discussion and Questions
Topic: Converting the VL53L01X Arduino Library
Replies: 14
Views: 12793

Re: Converting the VL53L01X Arduino Library

Question is will the constructs I used work if I am passing hex values to the functions. When reading the documentation and some examples I was getting confused on whether I had to convert them to a binary representation. For instance, would I have to change 0x29 to 41 (decimal) equivalent first and...