Then, if you look at the source
bool available() {
if (outputflag == true) {
outputflag = false;
return true;
}
return false;
}
This means that available() will only return true once as it is reset to...
Hi-
I am unable to get an output to the FFT in the example program "FFT Test" after making a small change.
The only addition to the program is adding a line in void loop, serial.print(myFFT.available()). Adding this...
Rather use https://www.waveshare.com/wiki/3.5inch_RPi_LCD_(B) (rev 1 not rev 2)
or use https://www.waveshare.com/3.2inch-RPi-LCD-B.htm if yours really is is 320x240 (ILI9341) and not 480x320 (probably ILI9486)
For...
I should have said, "nothing actually processes a connection" because the connections are technically accepted under the covers, it's just that your program does nothing with that information.
Well the 2 pairs of 13 pins tells me the board is likely designed for an original Raspberry Pi (later model Raspberry Pis now have 2 rows of 20 pins, but the first 13 pins are the same pinout as the previous pi models)....
I'm hosting another right now if anyone's interested. I'll be on for the next half hour or so, and longer if anyone joins.
Meeting link: https://meet.google.com/tsd-eapa-xnb
Kris,
Thank you! It's been a long time coming, and I want to do even more with it... Crank velocity measurement, vibration measurement... A lot of folks see it and don't know what to think, I appreciate your remarks....
Hi! I'm a novice programmer. I've butchered the Bounce2 > more > BounceTwo example to make it so that it only performs an action (count up or down and print result) with each button press.
It works okay if I alternate...
Hi everybody,
Currently working on a custom 4.1 board that is using the RT1062CVL5B due to difficulties acquiring the RT1062DVJ6B. I understand that this model is not at all tested with the bootloader, but it is my...
Can you post the sketch you are using that causes this error? We can only guess at what is causing the error. Right off the bat it looks like it is trying to access POSIX style file functions which Teensyduino does not...
Hi,
I'm trying to adjust the volume while playing a WAV using AudioPlayWAVstereo, but ain't working for me.
AudioPlayWAVstereo is routed to a mixer and the mixer to a I2S output. Volume set by a pot and float on...
Hi all,
I'm working on a networked audio project, and naturally I'm faced with issues of clock drift and jitter. To date I've been using a delay-locked loop approach (something akin to that described by Fons...
Edit: My problem was bad connexion all is ok now with my SD card. I have a problem with a bad audio quality with the micro but I will test other cable or soldering...
@Richard: What kind of LEDs or interface do you use? Would be cool so see this running in large.
Have you seen this one?
Code here if you'd like to hypnotize yourself. :-)
Thanks a lot, a lapsus made me think uncommenting also meant deleting the # symbol :s
It works fine, using it with a TDA1387 after changing the corresponding line on the .cpp file.
I'm having some confusion because on one hand, your test program doesn't accept client connections nor reads from any connected clients (because nothing is connected), but on the other, you describe "all connected...
I follow the "if you don't want an explanation, don't ask" policy... Sometimes people ask me something without knowing how deep that rabbit hole would go, because they just want a simple and shallow answer, which is not...
“If it ain’t broke, don’t fix it” has always struck me as good advice :D
You could try doing a “portable” Arduino install and using Teensyduino 1.58 beta to see if the official fix works for you: I think the above...
OK, just had time to check and the startup.c file at this location: "C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4" has this "code change":
__attribute__((optimize("O2"))) // added 20230107 to...
It looks like a "#" character is missing.
The way to enable these things is with a preprocessor macro, so use "#define" preprocessor operator.
#define AUDIO_PT8211_OVERSAMPLING
#define...
When I activate Oversampling on output_pt8211_2.h and compile I get the following error:
'define' does not name a type define AUDIO_PT8211_OVERSAMPLING
All I did was uncommenting the lines:
define...
FWIW, there appears to be two examples in the SmartMatrix library that use FastLed with Smartmatrix (FastLed_Functions and FastLed_Panel_Plus_Apa102). They run on my display once I select the proper shield and display...
I'm wondering what any ramifications I haven't thought of would be to changing the internal "write error" type from `char` to `int`. The API uses an `int`, as does the internal variable in the AVR, ESP32, ESP8266...
This is the current version, Loupe deck + mouse works and provides printout (for mouse)
*******************HID UPDATE***********************
x -2 y 0 s 0 b1 0 b2 0 b3 0
Begin topUsage:10000 type:2 min:0 max:1
...
Right now, the urgent situation is IP numbers are getting reassigned, so we have to switch to different IP numbers. Both servers need to change IP numbers.
The path of least resistance probably would have been to...
Just got home and missed the down time.
Know this might be a loaded question but with the server change are you planning on making any changes to the forum or the product pages? Know that would be long term though.
Some documentation or help would be very Wellcome. the detection of serial stop is still a mystery, and I did not yet set multiple HID devices up, but looking what the
void HID_Input::hid_input_data(uint32_t Usage,...
Oh, looks like we're going to have about 20 minutes down time.... soon, while they do some sort of reconfiguration on the server. Should be just the forum down. Main site should stay up.
Indeed it's never that simple. The forum also needs to change IP number. Looks like it will become 66.232.106.something.
The hosting company is working on remote console access, which apparently never got set up...
Is there anything that we should be looking for?
That is, was this a "simple" server change or was there other things that changed as well?
My guess is simple is never simple!
I noticed recently that you...
Hi,
I have Teensy 4.0 with ADS1256 and USB filter to remove noise. I want put it on one board. Important for me is send data to PC via USB. Now I have connected cutted usb cable from teensy, connected to USB filter 5V,...
Funny I just tried 111.0 (64-bit) in windows and am seeing those same darts when using the built-in viewer in Firefox.
Microsoft Edge does not show those darts when using the builtin viewer.
Pretty much did what @defragster did with going to the new server location and trying the cart. So ditto - seems to be working up to that point.
Last forum notification I got was from you at 2:44 am in my inbox. ...
OMG just solved it! Was giving it one last go before setting up a vbox environment and remembered that I had a prior issue when I compiled a program using the Audio library with the compiler set to debug. The compiler...
This sounds very much like the startup bug, might be worth applying the patch linked in that thread.
It doesn't help that the Audio library version number hasn't been updated since late 2016, despite there...
Thanks for the comments and suggestions. My versions are (which should be good to go per your message):
Arduino 1.8.19
Teensyduino 1.57
Teensy Loader 1.75.
I don't have a second computer but I will see if I can...
Forum still seems #'s noted in p#3 as old:
>ping forum.pjrc.com
Pinging forum.pjrc.com with 32 bytes of data:
Reply from 96.31.69.28: bytes=32 time=83ms TTL=46
Reply from 96.31.69.28: bytes=32 time=83ms TTL=46
...
Hi, I have been trying many things, I can have a HID and USB Host Serial working at the same time, but currently not two HID, With this code it is clear why as it has only one HID, lets see that a bit later, but now...
Seems to have gotten right here:
>ping pjrc.com
Pinging pjrc.com with 32 bytes of data:
Reply from 162.254.150.250: bytes=32 time=83ms TTL=44
Reply from 162.254.150.250: bytes=32 time=83ms TTL=44
Reply from...
Looks like a bug in the glyph for digit '2' to me. (Specifically, one of the vertices has moved.)
On Firefox 111.0 on 64-bit x86-64 on Linux Mint 20.3 Una, using the Firefox built-in PDF viewer, I do not see...
The server switch-over is at about 95%. Hopefully the site is all working at the new server (162.254.150.250)?
Question... are you getting the forum's notification emails?
If it works up to 128ksps, it seems more likely that the buffer is overflowing than the buffer logic for some reason fails at that value. Can you make the buffer larger? Does CircularBuffer::write return an error if the...
Now for some guesswork, since I don't know and can't reproduce the problem.
First, check which version of Teensyduino you have. In Arduino 1.8.x, click Help > About. In Arduino 2.0.4, click Boards Manager and...
I just released 0.19.0. The changes:
### Added
* Added `Ethernet.loop()` calls to the `EthernetClient::write()` functions when
the send buffer is full.
* Added Ethernet hardware detection to support (well,...
I ran it here on a Teensy 4.1 with PT8211. I've uploaded about a dozen times. Haven't needed to press the pushbutton on Teensy 4.1 yet.
Robin just walked in to see what that weird sound was about, as the red audio...
This is driving me NUTS! I have two newly acquired and assembled PT8211(s) that I am trying to pair with Teensy 4.1 boards that are no Ethernet. One is lockable and one is not. The lockable has the PT8211 in a top mount...
Richard,
The pull up isn't hard. simply a resistor of the suggested value - 5kOhm across the red and bare wire to make the signal go high when the hall sensor is open. When it's closed, it will pull the bare wire to...
Yep, that's fine. It merely looks at what's in the library's library.properties file, and `lwip-master` is simply based on top of the current `master`, which is also currently at 0.19.0-snapshot. I didn't change that...
There. I just changed `EthernetUDP::send()` to return an `int` and pushed to the GitHub repo (https://github.com/ssilverman/QNEthernet). Could you retry and post which error code (the return value from `send()`) you...
Wwatson:
Ahhh yes, I barely remember back in 1967-68 in High School when I wrote my first simple program with punch cards on teletype connected to the off site IBM mainframe downtown. 1970 I had to write my programs...
I can confirm that `EthernetUDP::send()` does just about the exact same thing as beginPacket()/write()/endPacket(). The difference being you're using less internal memory with `send()` (there's a `std::vector` allocated...
This relates to a data capture and streaming application, where at its fastest (currently) a combination of ADC results, time stamp, encoder count and input byte are written to a buffer in the ADC data ready ISR.
...
Hi Shawn. The test with the lpIP-master variant was workign fine until I stopped the test at 54 million packets received
Is it right that the library manager should think that library variant is also called Version...
@sicco First, thanks for engaging. Concurrency is hard to get right and I appreciate the discussion. I'm open to be shown new details or flaws in my thinking I haven't thought of. Here's my view of the system; please...
Difficult to say what exactly is going on. But I suspect the switch is the culprit. Looking at the different corrosion spots, I can imagine that the internal contacts of the hook-switch may be affected as well,...
Glad you have it working. I am running under Linux and I also had to un-mount and re-mount the MTP drive to get an updated copy of the directory listings. I seem to remember that @KurtE had a way of refreshing it from...
Watson:
Thanks for your trouble and advice.
I have rewritten the parts concerning the subdirectory, instead of trying to open a subdirectory (which cannot be done because it always fails) I found the part in the...
for the heck of it I ordered on as well - time frame is about the same - Tuesday or Wednesday.. I did notice that they spec it as a USB3.0 device. A lot of times I find if I hook it up to a usb2 compatible hub it will...
The packet rate has been tried at various multiples of the sample rate ie 10x, 100x and 200x without any change.
I've determined the issue is with the data source getting corrupted not the packet sending....doesn't...
Glad it works. No idea of the SDK - just a rumor in that comment from the person that saw it there - noted in posts - likely the SDK from NXP for the processor ...
There is a similar older post for RTC of the T_3.6....
Assumed you have wired them up correctly.
If you see waveform on CTX and steady state on CAN_H and CAN_L then the SN65HVD230D breakout board most likely to be faulty.
The automotive steering wheel angle sensor is working correctly. I need to send values to calibrate the sensor. With PCAN-View Software this is working without problems on the same CAN bus with a USB adapter. However...
Okay so I did notice something that probably shouldn't have been in my definition of OBJS, so I changed it to OBJS := $(CORE_C_FILES:.c=.o) $(CORE_CPP_FILES:.cpp=.o) $(C_FILES:.c=.o) $(CPP_FILES:.cpp=.o) I removed...
I've followed your direction to test with a multimeter and my results are...unpredictable.
The first time I try it, I see the change from ~3.3 to 0...the 2nd and 3rd time and every time beyond that, a change the...
Looks like this from your makefile (color for each part)
$(TARGET).elf: $(OBJS) $(MCU_LD)
$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
resulted in this command line executed (color for each resulting part of the...