Sorry been awhile since I played with the joystick stuff. Most of my playing has been done on the USB Host side.
There are at least three things to do to see if it works.
a) Update the HID descriptor. It may or may not be as easy as removing...
Note: that is simply a print to pdf of one of the pages in the excel document:
https://github.com/KurtE/TeensyDocuments/blob/master/Teensy4x%20Pins.xlsx
Note: @mjs513 did a modified version of this that I think is in @defragster github project...
If you are building a specific board for a specific purpose, I say have at it! IF you like hard coding it like:
IOMUXC_SW_MUX_CTL_PAD_GPIO_AD_B1_13 = 0x4U;
IOMUXC_CSI_DATA04_SELECT_INPUT = 0;
IOMUXC_SW_PAD_CTL_PAD_GPIO_AD_B1_13 = 0x0U,
go for...
Yes you are right that B1_12-15 are already on the board.
We should probably make a new version of the excel document which has all of these pins on it...
As for mixing CSI and FlexIO. Not sure how... Probably need to read those sections in...
You have B1_12 and B1_15 available for pixclk and mclk.
I would recommend using the pins shared with FlexIO2 wherever possible (for example hsync and vsync are on B1_14 and B1_13), since that's better at handling variable-length (compressed)...
@mjs513 did the one for the devboard that I am looking at. Looks like most of the pins are there.
We are currently using AD_B1_04 through AD_B1_15
Mike does the below look correct to you as well?
The T4.1 defines we were using.. The numbers...
I can see how this is useful for supporting the existing different boards (4.x vs. micromod) that redefine arduino pin numbers to different IMXRT pins but I don't see how it would help with custom boards due to this:
if (pin >...
Works for me, with the Devboard, as I created a variant that had all of the extra pins defined. Otherwise you would not have pin numbers to work with...
True, typo...
A couple of questions and things I am playing with...
With the 4.5 and SD adapter: guessing you used SDIO pins? (Same ones as defined for Micromod?) of if SPI which IO pins?
CSI pins - I am in the process of integrating in some CSI support...
No. The OV2460 runs off three different voltages: 2.8V for the analog sensors, 1.2V for the core and 3.3V for the I/O portion. The ArduCam boards have two regulators on the back to generate the lower voltages from 3.3V but I just have the camera...
Just wondering, are you saying that on the current Devboard 4, that the 3.3v Voltage regulator is maybe to anemic to run some of the different devices that you have connected to it? And that maybe we should add another one to connect the...
Thanks @mjs513,
As you mentioned we are having some fun with several of these cameras. I see you showed my quick and dirty (v2) version of a shield for the Sparkfun Micrmod ATP board. Sure is a lot easier than having to deal with lots of...
It is up to your sketch to define the mapping. If you look at the example joystick complete example you see code like:
for (int i=0; i<numButtons; i++) {
if (digitalRead(i)) {
// when a pin reads high, the button is not pressed...
Sorry been long time since I did much with these displays. Most of this should work the same way as our other drivers...
It may depend on what you mean by size. That is not every character has the width and the like: Most are proportional...
It runs on mine, using recent nightly build and current Teensyduino...
Using library ILI9341_t3 at version 1.0 in folder: C:\Users\kurte\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.59.0\libraries\ILI9341_t3
However I edited to my...
Yep - but I also played with the beta releases 😆
Believe me, I know the feeling!
Actually mine is set up to use the Windows Terminal, which I like a lot better!
Newer versions of Windows? Like maybe only the last 30 years :LOL: Maybe longer... I am guessing that a large percentage of users on Windows (and probably MAC) almost never have used a command line. So, things like Folders are a lot easier to...
Just received the sdram development board today:D I ran through all of the test programs that I know about without a problem. I need to make sure I have all of the pinout info for this board. It is a version 4 board.
I thought I would start out...
Sorry did not have time today to fully diagnose the issue. But I dos see some issues with the code, although
I would think you would still see something.
int buffer0[100];
int buffer1[100];
int buffer2[100];
int rxdNum[1];
int rxd1Num[1];
int...
Couple of different ways:
For example: several of our display drivers have code built into them to allow them to do asynchronous updates.
Like my ili9341_t3n library as well as others for ST7735 and ST7789, and ILI9488_t3n library. In these...
What happens if you change:
ILI9488_t3 screen = *new ILI9488_t3(CS_PIN, DC_PIN, RST_PIN, MOSI_PIN, SCK_PIN, MISO_PIN);
to simply:
ILI9488_t3 screen(CS_PIN, DC_PIN, RST_PIN, MOSI_PIN, SCK_PIN, MISO_PIN);
And not create it using the new operator...
It may well be a worn-out or low quality breadboard.
Breadboards vary a lot in quality. A lot of chinese breadboards are very cheap but low quality - you get what you pay for!
Two brands stand out:
1. BPS [BusBoard Prototype Systems]. I have...
Sorry, again at least for me it is really hard to tell. The only thing that Arduino 1.0.5 tells me, was it was done a long time ago. A more meaningful indicator might be what version of Teensyduino, but not by much. The USB types are part of the...
Sorry, I am pretty sure there will likely not be support to run on Arduino 1.0.5 with any version of Teensyduino that supports the Teensy 4.x boards.
Sorry. I personally have no idea what the Real Time System Custom USB is or was? Maybe others...
It would probably be a good thing to do. But not sure how many sketches would be hit that include both SD.h and SdFat.h...
But would probably be worth a try.
Again not much one can do, without more code, but one thing I noticed:
void PlayMode::myNoteOn(byte channel, byte note, byte velocity) {
if (synth != nullptr) {
synth->oscPlay(40);
}
}
void PlayMode::myNoteOff(byte channel, byte...
Microsoft windows, complained twice as mentioned. Then Norton ran on it and said something like, scanned, ...
But I think there is a bug in it:
C:\Users\kurte\Downloads>hello3
Hello Defragster
As I am not Defragster
😉
The one main complication you might run into, is what if you wish to build some sketches for other Arduinos that use SdFat. They will not find the libraries that are installed within the Teensy Board installs.
If you install the normal...
Norton complained about 3 times about not a common download, Are you sure...
But after that I was able to run it. Norton also scanned it and said nothing is wrong.
Sorry for the delay in getting back to you.
My guess is that it has a different PID/VID than the one I am using or that is covered in the library. Trying to remember how to sort it out.
Lets see if we can figure it out though.
First you...
I know the USB Host code can tell keyboards the logical state of these through the LEDS( code, which sends out a control packet:
driver_[0]->sendControlPacket(0x21, 9, 0x200, 0, sizeof(leds_.byte), (void*) &leds_.byte);
Not sure if we listen to...
In the case of the ATP, I believe that this is due to the Voltage Regulator they choose for the board. AP7361C states:
Wide Input Voltage Range: 2.2V – 6.0V
And yes if you build your own board, with different VR or DC to DC converter, you can...
The MicroMod is working with the ER-TFTM101-1 display.
Still have to get the DMA portion working on the MicroMod. The images were produced in 8-bit mode none DMA, 100ms to display both pictures. I'm sure DMA will speed things up. By the time...
Not sure, but most of their carrier boards, have something like:
That is from their ATP board schematic. As for AREF, don't see that on their stuff. With Teensy it is probably geared more to the 3.3v pin. I don't believe raw VIN is passed to...
Note for things like this, I end up using sketcth that @defragster and I played with a long while ago:
It sets all of the pins into either INPUT_PULLUP or INPUT_PULLDOWN. You can then take a jumper wire from either GND or 3.3v depending on...
Funy you should mention it... I believe one or more of the pages has the ATP pins on them as well...
I just so happens, as I mentioned up on the thread about fancy memory :lol:
I decided to make a quick and dirty shield for the ATP board, which...
I believe that you need to update the USB descriptor to have JOYSTICK_SIZE=64, which then gives you things like:
#elif JOYSTICK_SIZE == 64
void button(unsigned int num, bool val) {
if (--num >= 128) return;
uint32_t *p =...
Sorry, I don't know how your image is created and/or stored. The sketch you mention only supports specific format bitmaps
Does your run give you additional information, like why it did not like the file?
Not sure what you are trying to do, as...
Hopefully some others might know parts of this better than I do.
If you were saying a Teensy 4.1 with one of the versions of the WW35Q64 that is supported that can be soldered to the bottom of the T4.1, I would say that you could have a littleFS...
Sometimes it helps if you show photos of your wiring.
Also additional information like, what mouse is it that you are plugging in?
For unknown devices I often use the HIDDeviceInfo sketch, as if is a normal HID mouse or the like, it should...
Probably should be part of your other thread:
You might look around the net for information on PS2...
Like: https://karooza.net/how-to-interface-a-ps2-keyboard
Looks like Paul has a library for decoding PS2 keyboards...
If you look at the T4.1 card, it is pretty easy to hook up both USB Host and USB Device.
The Device pins duplicate what is in the USB connector that you connect up to your PC.
So yes you can connect up the keyboard to the teensy using the...