Glad you got it to compile. I guess now you know how data and directories are arranged for programs/sketches and libraries.
How are you trying to listen to the sounds?
Oh dear, I have just compiled the copy I downloaded to my PC without any error.
Do you have this line in your code: #include "play_sd_wav.h" // local copy with fixes?
I have just commented it out on my copy and get...
...as to where to put them...
Your programs/sketches (whatever you wish to call them) are stored in the directory C:\Users\iandi\Documents\Arduino\.
Libraries, which is what MTP_Teensy is, are stored in a directory...
We have been concentrating on the if (Wire2.available() >= 2) { but of course if the ic does not see a request to send then Wire2.available() will always be false.
I see that the adc is addressed relatively early in...
SDA1 and SCL1 are addressed as Wire2.
You need to change line 308 :- if (!bmp.begin_I2C()) { to include the Wire2 assignment.
So something like if (!bmp.begin(BMP3XX_ADDRESS, &Wire2){.
NOTE:
I am not sure...
Not that I can put any theory on it, but I keep being drawn to a different current draw, without the chip, affecting those capacitors on the I2C lines.
But then again I might be completely wrong.
An interesting (not...
I think you have things in the wrong directories.
Copy all the contents
of C:\Users\iandi\Documents\Arduino\audio-guestbook-main\audio-guestbook\
to C:\Users\iandi\Documents\Arduino\audio-guestbook-main\
Then...
Quit out of the Arduino IDE.
Go into your Documents folder, then into Arduino (Documents\Arduino) and delete all Audio Guestbook entries.
Go to https://github.com/playfultechnology/audio-guestbook and download the...
Delete this..... void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}void setup() {
// put your setup code here, to run once:
/**
* Audio Guestbook, Copyright (c) 2022 Playful Technology
*
* Tested using a Teensy 4.0 with Teensy Audio Shield, although should work
* with minor modifications on other similar hardware
*
* When handset...
Get one free from the chip manufacturer.
It is possible to get a sample.
When I filled out a form on their web site they sent me free samples and a free demo board.
Of course the test just carried out is all about writing to the Wire2 i2c.
I have just run a test involving reading from a MCP9808 temperature sensor and that works fine on Teensy41_NE on Wire2.
Of course where...
Yes it does.
I just replaced i2c libraries you were using with Wire.h and the rest compiled just fine.
EDIT:
If you are using that external (to PJRC) library then perhaps it is a question for him.
That is NOT using the wire library supplied by PJRC in Teensyduino.
Could you try with the Wire.h library rather than the i2c_driver.h and i2c_driver_wire.h drivers.
USB connector pushed in many times and probably not carefully. That is probably the source of your bad connections.
Probably about time to change the connector to a chassis mount one as has been described to you....
It may be that the Teensy is starting up Too Quickly for the MCP23S17's when you start to initialise them.
The chips may simple be not ready to be initialised.
This is born out by putting a delay at the head of the...
Can I suggest that when you post code that you enclose it between CODE tags using the # button above.
It makes your code so much more readable and therefore easier for others to potentially help you.
EDIT:
You seem...
If you examine SPI.h you will find that beginTransaction uses SPISetting(clock, bitOrder, dataMode) to setup the SPI port.
If you are not USING SPI transactions then set SPI_HAS_TRANSACTION to 0 on line 30 and use...
I have that same erroneous code shown in #10 and I am running Teensyduino 1.58b3.
Presumably this code was installed by TeensyDuino.
Can it be arranged for the corrected version be installed with Teensyduino?
Yes and deleted all the parameters which you did not require, unfortunately YOU DID NOT delete the digital parameter.
As I said I don't know if it will make any difference but without setting up the digital component...
Firstly could you enclose any code posted between CODE tags using the # button as I have done below.
#include <Snooze.h>
SnoozeDigital digital;
SnoozeTimer timer;
SnoozeBlock config_teensy40(digital, timer);
...
Any code for the Teensy has to be programmed into the Teensy. You can not just place it onto an SD card.
I suggest you read this about getting started with Arduino.
Think of the Teensy as a supercharged Arduino. ...
Ok, thanks for that. I agree with Patents and Agreements.
They are only any good if you have the money and are happy to sue.
I used to work for a firm where the Proprietor (before going Public) had an idea and...
The only UK distributor with them in stock is OakTree LLC but they are charging a before tax price of $30.40.
I have converted for exchange rate and tax.
This is a 28% mark up on retail price! I thought you were...
Make sure you get a quote for shipping and extra fees before you start, or do a small test run.
There are other companies doing the same thing.
Of course it would be nice if someone on this board would act as an...
If buying in the US and shipping to the UK you might consider MyUs.com.
Register with them and you get a US address.
I.e. buy from PJRC giving your US address. Items get shipped to MyUs who then ship them on to you in...
Yes it does say Gold plated on the Male-Male parts. I must say that I had not noticed before.
The advantage of the turned pin sockets beside low insertion and extraction forces is the fact that they are very low...
Just downloaded Audio Guestbook, set USB Type to Serial + MTP Disk (Experimental), set cpu to Teensy 3.6 and compiled just fine using TeensyDuino 1.58b3.
Note that you will have to alter the program to work with Teensy...
Yes, but you don't have to wait for any reply.
Simply flag that a confirmation/reply is expected and pick up that confirmation when appropriate.
The confirmation will be waiting in the serial input buffer.
Copy the code, assuming you are using Windows, highlight the code, right click on the highlighted code and press copy.
Press the # button at the top of the Teensy Reply Form.
will appear. Paste your code between...
I don't know anything about your Nextion handler, but I have written a Library for the Nextion. It is intended as a foundation for a user's Nextion Comms.
It contains a lot of functionality and will have all that most...
You could use a Teensy 4.1 which has Ethernet hardware built in.
You are going to get some proficiency in coding.
Do you have the code (source) for the 3.2 and Arduino?
If it is NOT getting past while (!Serial) it means that the Teensy is NOT seeing the computer USB Serial port.
It would be better written as:-Serial.begin;
While (!Serial && millis() < 5000){};This will case the...
First of all can you enclose your code between CODE tags. You can insert them into your posts using the # button.
It just makes your code easier to read and understand and makes it easier for others to help you....
This is the one I have been using and is the one refered to in my post.
Obviously you have to be aware of rollover of the millis and micro, especially the latter. Perhaps do some zeroing/resetting each time you take a...
The following might give you some ideas of what is possible.
Note I have compiled it but NOT RUN/TESTED it!// Visual Micro is in vMicro>General>Tutorial Mode
//
/*
Name: t4.ino
Created: 14/12/2022...