Forum Rule: Always post complete source code & details to reproduce any issue!
Tab Content
  • el_supremo's Avatar
    Today, 08:07 PM
    That code compiles for Teensy 3.2 when USB type is set to "Keyboard + Mouse + Joystick". What's the problem? Pete
    5 replies | 22 view(s)
  • el_supremo's Avatar
    Today, 05:58 PM
    I used your code on a T3.2 and monitored its output with MIDI-OX. It shows the note as C3 (one octave below Middle C). There seems to be some confusion about whether Middle C is C4 or C3. For example, my SY77 and...
    10 replies | 43 view(s)
  • el_supremo's Avatar
    10-03-2018, 03:01 PM
    I think you need a space here: SRF424_Data *pSRData = &RData; Pete
    10 replies | 310 view(s)
  • el_supremo's Avatar
    10-01-2018, 03:29 PM
    If you're only going to use one channel then NUM_CHANNELS should 1 but then you must delete, or at least comment, the following statements: /* Don't need these pSRData->data=analogRead(A1);...
    10 replies | 310 view(s)
  • el_supremo's Avatar
    09-29-2018, 12:22 AM
    However, IIRC the NRF24 sends packets of 16 bytes each and if NUM_CHANNELS is defined to be 8, you will try to write 20 bytes. I presume that this is why the comment here: int data; //2 x 6 = 12 bytes implies that...
    10 replies | 310 view(s)
  • el_supremo's Avatar
    09-29-2018, 12:17 AM
    #define NUM_CHANNELS 1 This should be 8. Pete
    10 replies | 310 view(s)
  • el_supremo's Avatar
    09-22-2018, 10:32 PM
    if (GPIOB_PDIR == (0 << 2)) { // if pin ptb2 = 0 turn LED on This is wrong. It should be: if ((GPIOB_PDIR & (1 << 2)) == 0) { // if pin ptb2 = 0 turn LED on You have a similar problem in the code in your first...
    12 replies | 216 view(s)
  • el_supremo's Avatar
    09-22-2018, 09:36 PM
    FWIW: I see that you have some jumper wires with a round plastic end and some that are square. I have always had trouble with the rounded ones and never use them any more. They don't fit into a breadboard properly (at...
    8 replies | 183 view(s)
  • el_supremo's Avatar
    08-26-2018, 04:10 PM
    I moved the offending libraries back into the libraries directory and arduino-1.8.6_1.43_b2 starts up without any problems, although it is a bit slower. When I run arduino_debug, it prints out some, but not all, of...
    31 replies | 1743 view(s)
  • el_supremo's Avatar
    08-25-2018, 08:45 PM
    @Paul FYI: the remaining messages involved four libraries Invalid library found in C:\Users\Peter\Documents\Teensy\libraries\i2c_t3: C:\Users\Peter\Documents\Teensy\libraries\i2c_t3 Invalid library found in...
    19 replies | 1172 view(s)
  • el_supremo's Avatar
    08-25-2018, 02:52 AM
    @defragster: I use the zip install for the Arduino IDE so I have several versions on my hard drive but they can't get confused because the windows registry doesn't get set. I can still run 1.85/1.42 without any problem....
    19 replies | 1172 view(s)
  • el_supremo's Avatar
    08-24-2018, 10:52 PM
    I wiped out the installation and the preferences.txt and did a fresh install. Same problem. I then ran arduino_debug.exe in a PowerShell window. Here's the output: PS C:\arduino-1.8.6_1.43_b1> .\arduino_debug.exe...
    19 replies | 1172 view(s)
  • el_supremo's Avatar
    08-24-2018, 12:06 AM
    The Arduino and Teensy folders are where they have always been for many years. The previous versions of Arduino 1.8.5 and TD 1.42 still run fine. Pete
    19 replies | 1172 view(s)
  • el_supremo's Avatar
    08-23-2018, 11:38 PM
    I have a problem when using Teensys with this latest Arduino IDE 1.86 and TD 1.43_b1. If I start the IDE and then change the board from UNO to T3.6, close and restart the IDE it starts up OK. If I do the same thing...
    19 replies | 1172 view(s)
  • el_supremo's Avatar
    08-23-2018, 02:51 PM
    Hi Frank, Thanks for the explanation. I saw those adjustments for the rate but misread them as adjusting for the difference between 44.1kHz and AUDIO_SAMPLE_RATE_EXACT rather than between AUDIO_SAMPLE_RATE_EXACT and...
    21 replies | 5567 view(s)
  • el_supremo's Avatar
    08-22-2018, 08:30 PM
    @the two Franks: I've got the DCF77 code working with WWVB now and also decoding the signal (I'll post the code eventually). There's one thing I don't understand about the code. In the set_sample_rate function the...
    21 replies | 5567 view(s)
  • el_supremo's Avatar
    08-19-2018, 05:06 PM
    To change the SGTL5000 sampling frequency see the setI2SFreq function in this thread Pete
    4 replies | 222 view(s)
No More Results
About el_supremo

Basic Information

Statistics


Total Posts
Total Posts
947
Posts Per Day
0.44
Last Post
Translate code from Teensy LC to Teensy 3.2? Today 08:07 PM
General Information
Last Activity
Today 10:35 PM
Join Date
11-02-2012