Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: Robbert

Search: Search took 0.00 seconds.

  1. Replies
    7
    Views
    188

    I guess I could also just have (for example) 4...

    I guess I could also just have (for example) 4 boards per teensy, and then have one 'master' board that sends data over to the correct 'slaves'. The image is not changing that fast in my...
  2. Replies
    7
    Views
    188

    Thanks for your reply! Just wondering if you ment...

    Thanks for your reply! Just wondering if you ment to say; 640 pixels * 32 rows (typed 16 in post) * 50-60 times per second. Cause if you actually ment to say 16, I wonder why it would be 16 instead...
  3. Replies
    7
    Views
    188

    LED matrix questions

    Hi peeps,

    I'm planning to make an installation that makes use of a bunch of (preferably daisy-chained) LED matrixes like this Adafruit one; https://www.adafruit.com/product/2278
    Before I buy...
  4. The two boards are sending over RGB data that I...

    The two boards are sending over RGB data that I convert from 8-bit RGB into a frequency range of 85-400hz. This (rather odd) protocol is part of an art installation I'm making. The chosen frequencies...
  5. Okay, so I'm trying my best to thoroughly...

    Okay, so I'm trying my best to thoroughly understand this ;)

    The algorithm will ALWAYS calculate at least 24 blocks, using about 70ms. It will then output the number of frequency that it is most...
  6. I mean; notefreq1.available() is true only...

    I mean;

    notefreq1.available()

    is true only 2 to 3 times when i cycle through it, which is when I call notefreq1.read() and save that value.
    I do have a 5ms delay in the loop at the moment. But...
  7. Hey Duff, Thanks for the answer, so far pretty...

    Hey Duff,
    Thanks for the answer, so far pretty much all code is in place, and saving and such. Basically one teensy works as a sender beeping of sine-waves in different frequencies. Those then get...
  8. Detection time for noteFrequency in teensy audio lib

    I'm making an installation in which two seperate microcontrollers send over data by using frequency values.
    I've decided to use the notefreq (AudioAnalyzeNoteFrequency object) to do that detection....
  9. Replies
    4
    Views
    212

    FIXED; So I've just fixed it by just putting...

    FIXED;

    So I've just fixed it by just putting everything inside audioController.cpp as follows;


    #include "audioController.hpp"

    // GUItool: begin automatically generated code
    ...
  10. Replies
    4
    Views
    212

    @wcalvert that's what I would expect but it...

    @wcalvert that's what I would expect but it doesn't seem to work.
    Here's my code;

    audioController.hpp

    #pragma once

    #include <Arduino.h>

    #include <Audio.h>
  11. Replies
    4
    Views
    212

    Audio Lib inits in other than main.cpp

    I've used the audio library before and had trouble when pasting the init code in another .hpp file, other than main.cpp

    By init code I mean the code the audio library generates:


    #include...
  12. Replies
    9
    Views
    436

    Thanks, this is definitely what I was looking...

    Thanks, this is definitely what I was looking for.
    Just forgot the whole passing by reference thing in C++. Good reminder.
  13. Replies
    9
    Views
    436

    Could you maybe post a simple example of this?...

    Could you maybe post a simple example of this? Can't seem to figure it out;

    I've been trying to push the initiated Serials into an HardwareSerial* serialArray[6];
    But doesnt seem to work :)
  14. Replies
    9
    Views
    436

    This actually just fixed it; int...

    This actually just fixed it;



    int setPort; // Data-type for correct port-handling
    setPort = 4;
    serialArray[setPort-1] = Serial4; // RX31 TX32 - Teensy 3.5...
  15. Replies
    9
    Views
    436

    Array of HardwareSerial objects

    I'm making a project that involves a lot of communication to boards. (driving a lot of octoWS2811).
    Therefore I'm using the Teensy hardware serial. I was planning to put those into an array and then...
  16. Thanks everyone for the replies. Fixed the...

    Thanks everyone for the replies.
    Fixed the problem and learned something again ;)
  17. I've declared it in the code with the PROGREM...

    I've declared it in the code with the PROGREM keyword. Does that mean the Teensy doesn't store it in PROGREM memory anyway? Because taking away the & actually fixed it now... Kind of overlooked that...
  18. 16bit gamma correction on Teensy not working as expected

    So I'm running an installation with a Teensy 3.5 controlling 10 TLC59711 LED drivers.
    I've been wanting to implement some gamma correction for the LEDs (as described in this article by Adafruit...
  19. So after posting this and fiddling around for...

    So after posting this and fiddling around for some time more I managed to fix the problem. Somehow it seems the audio library class instances have to be initiated in the main loop. As I still wanted...
  20. Teensy audio not working with external power

    I've been writing a project for two Teensy's including SGTL5000 audio shields. The code for both teensy's can be found here: https://github.com/RobbertGroenendijk/protocol_1
    They're communicating...
Results 1 to 20 of 20