Using @KurtE's ArduinoBLE library modified for the teensy(See post #4) is the closest we got, if I remember correctly for using a BT dongle. Don't think we ever did anything with BT serial data using a dongle. It been a while.
@joepasquariello is correct but besides that the sketch does not compile as shown.
However with that said I modified the sketch and saw the same thing as you. Issue is probably with parseFloat, never had luck with that. With that said I played...
Playing with the SdSPITeensy3.cpp code in steps.
//------------------------------------------------------------------------------
uint8_t SdSpiArduinoDriver::receive(uint8_t* buf, size_t count) {
#if 0
m_spi->setTransferWriteFill(0xff)...
Thanks, I had sort of been holding off doing much more with this as to wait for a quick and dirty adapter, that I ordered from OSHPark.
It is setup to use the Adafruit breakout board:
https://www.adafruit.com/product/4682
It is easier than...
@KurtE
Decided to wire this up and give it a try. Setup pretty much mirrors yours.
MTP does let you see both drives no issues. However
1. Copying files from SDio1 to SDio2 fails. Seems to copy entry but data is corrupted - incomplete.
2...
Quick Note: SD Library
Has hard coded dependencies and/or expectations on the SDFat library.
That is, it looks depends on:
if (csPin == BUILTIN_SDCARD) {
To know that it is dealing with an SDIO drive.
Which even without this update, may/may not...
Thanks all,
I moved the T4.1 to the nearest slot on the board and I think it helped, thanks.
Will finish the editing of the imxrt.h file and do PR of it...
Also just installed a Protocol analyzer for SDIO to the Saleae setup...
for the fun of it, I thought I would try MTP with the two SDIO cards on it:
#include <SD.h>
#include <MTP_Teensy.h>
#define CS_SD BUILTIN_SDCARD // Works on T_3.6 and T_4.1
//#define CS_SD 10 // Works on SPI with this CS pin
SDClass sd_io2...
@KurtE - This is great :D I have been working through SdFat as well trying to understand the layout of the TeensSDIO driver, imxrt.h and the RM manual to use uSDHC2. What you are proposing looks good...
Not sure if anyone will be interested or not. But with the talk of maybe using SDIO to support some different WIFI controllers,
wondering how hard it would be to support SDFat on SDIO2, and with this could one use both of them on the same T4.1...
https://github.com/KurtMF/ObjectFLED
This closes the issue with Audio library compatibility. Thanks to u/lpao70 for reporting the issue and validating the fix. And as always, thanks to Paul S. and u/ZachVorhies for help and insights.
Release...
Think you may be out of luck except to send the issue to Paul on the core?
According to the .h file and this it came from google code repo which doesn;t exist anymore but this shows that Paul updated it. But anyway here is the link...
Flash memory isn't uninitialized static variables. PROGMEM is const which requires initialization.
But DMAMEM and EXTMEM are indeed static uninitialized, which probably does run afoul of the spec. A few times questions have come up because we...
Take a look at this
https://how2electronics.com/how-to-set-up-interface-xbee-module-with-arduino-tx-rx/
and this
https://learn.sparkfun.com/tutorials/exploring-xbees-and-xctu/all
Thanks, and Merry (post) Christmas to everyone!
Robin & I spent the day with both our families. I'm just now catching up to messages from the last couple days.
Cannot express how thankful I am for all of your work. Tied up with kids at Christmas today but hopefully can get some time tonight or tomorrow.
Thank you again and Happy Holidays!!
@russellkt
Spent some more time on this and got my library working with the AtomS3R. All files for using the Library with the S3R and the files for working with the builtin lib have been posted to:
https://github.com/mjs513/M5-AtomS3R-IMU
Strange - mine was steady.
PS looked at your sketch and did see where you included the accel caibration. You also didn't include a few things that you need. Will give it try a bit later - have a few things to do outside programming right now.
@russellkt
Received my Atoms3r and been playing with it. Finally got it figure out. But for some documentation of whats going on.
1. Took apart the case to determine chip orientation instead of guessing.
2. Looking at the datasheets for...
I have a fork/branch up at: https://github.com/KurtE/ST7735_t3/tree/ST7796
Which has a version which might be working:
Sketch needs to include:
#include <ST7796_t3.h> // Hardware-specific library
Define the object:
ST7796_t3 tft =...
Future Teensy with will USB-C. I can't discuss any other details at this time. I probably should not even write this message, but hopefully it at least answers this 1 simple question.
Indeed, the hardware we get really depends on what NXP (or perhaps other microcontroller manufacturers) design into their chips. I have no control over this. In the past I've had conversations with people at NXP, especially expressing desire...
POINTERS WORK! - skipped this for reading example code ... found and tested ...
It is now back and working on the original board from @KenHahn
Downloaded the ZIP and pulled JUST the SerialFlashChip.cpp file to this system and it works...
Opps - I thought that was just a repeat of the github since I skipped before ... and skipped again
Good work @KurtE
<edit> Added a comment to PR that it was tested to work on T_4.1 board above, and two of the PCB's (with T_4.1)
You can try begin like this:
imu.begin(Serial)
or
imu.begin(&Serial)
forgot which format it wants. Will print out some debug info - may give you a clue
Right now they are hard coded in the library. To change them your will need to go into the utilities directory and edit 2 files.
Edit BMM150_defs. at about line 162, you will see:
#define BMM150_DEFAULT_I2C_ADDRESS UINT8_C(0x10)...
Sorry you couldn;t getting working with the M5Unified library. The effort I put here was a generic library for the BMI270/BMM150 sensors using the internal attached to a generic microcontrol. The video shows that its fairly stable and response...
Looking at your sketch a little more, RingBuf can replace all of your existing buffering. You don't need any arrays or indexes. The sketch below always opens and writes to the same file, but it shows the basics of writing to the RingBuf from an...