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

Search:

Type: Posts; User: Hitachii

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    100

    Interesting development, the FRAM library has two...

    Interesting development, the FRAM library has two example codes. The one I've been using reads the first 256 addresses, while the second one (posted below) does the same thing but reads all of the...
  2. Replies
    3
    Views
    100

    It appears to have worked, thanks Paul. Only now...

    It appears to have worked, thanks Paul. Only now I'm having another issue related to FRAM but not i2c. Can start a new thread if needed.

    When testing on the Uno, I get the following reading,...
  3. Replies
    3
    Views
    100

    Only SCL and SDA pins 18 and 19 work

    Trying to install an FRAM breakout board onto a 4.1. Running the test code in the Adafruit FRAM library linked below, the program returns a successful read when attached to pins 18 and 19. However,...
  4. Thank you very much. Thank you for the link, it...

    Thank you very much. Thank you for the link, it couldn't be any more direct than this snippet from the USBmidi page.


    // select 74HC4051 channel 5 (of 0 to 7)
    digitalWrite(1, HIGH);
    ...
  5. That's very helpful, thank you. Looks like I'll...

    That's very helpful, thank you. Looks like I'll have to get creative with loading values from EEPROM since only 12 of my 20 parameters seem to send MIDI messages when the 'load' button is hit. It's...
  6. Thanks again. Is there a better method than using...

    Thanks again. Is there a better method than using a delay the way that I have? Your explanation might explain other problems I'm having sending MIDI too.
  7. Wacky MIDI readings from a 4067 multiplexer, until a delay is applied.

    Hello,

    Currently using an HP4067 on a breakout board with 16 pots connected to a 4.1, sending MIDI over serial UART to another device, which allows me to see the MIDI readings on the computer.
    ...
  8. Honestly, because I don't know how very many...

    Honestly, because I don't know how very many different commands work yet. If the option you're presenting uses less ram than a similar code using the method you've described, I wouldn't be opposed to...
  9. Found out what was wrong. In order for it to...

    Found out what was wrong. In order for it to work, the 'load' command had to be triggered by an 'if(buttonPressed != lastButtonPressed)...' On top of that, you're absolutely right, now that I've...
  10. I've introduced the EEPROM to the code, which...

    I've introduced the EEPROM to the code, which works great. However, now that I have the analogRead in there as well, the "potVal" (which will eventually become the MIDI CC value) will 'snap' back to...
  11. This is it! Oh my goodness, how perfect! Thank...

    This is it! Oh my goodness, how perfect! Thank you thank you.

    Being a noob, I was unaware that commands could be entered from the serial monitor. Out of curiosity, what is the utility in the baud...
  12. Darnit. Stuck again on the final part of this....

    Darnit. Stuck again on the final part of this. You'll see from my code that I'm in the ballpark of what I'm trying to achieve (explained below), but the logic has to be a bit different. I will take a...
  13. Incredible. Thank you! I had to move the delay in...

    Incredible. Thank you! I had to move the delay in my code down between the bottom two end curly brackets to make it work. Easy peasy. Still very very new to this :D. Love the people here.
  14. Whoops, just saw the rule about posting complete...

    Whoops, just saw the rule about posting complete source code. Here it is:


    #include <EEPROM.h>

    const int buttonPin1 = 2;
    const int buttonPin2 = 3;

    int potPin[] = {A0, A1, A2};...
  15. Basic question about returning to original array value

    Hello. I have an array of 3 values (10, 11, 12), that when I press a momentary button advances to (13, 14, 15) advancing each number by 3 with every button press. I would like the limit of my up...
  16. Replies
    13
    Views
    691

    Question about a hardware solution to this, would...

    Question about a hardware solution to this, would it do any harm to the board if I were to attach a toggle to the 5v pin to reset it? Perhaps even a push-button?
  17. Need help making Trellis send MIDI on/off messages

    Hello,

    I want to send MIDI on/off messages with the Trellis. According to those on the internet, it's super easy. I'm finding it hard. The code I'm using is the Trellis Test that comes in the...
  18. Teensy 4.1: Do I need to use a knife to sever a circuit for simultaneous power/usb?

    Hello,
    I've seen that the other teensy boards need to be cut in a certain place using an xacto knife in order to power the board and use USB at the same time. Is this the case for the Teensy 4.1,...
  19. I have realized the issue, and it is my na´vetÚ. ...

    I have realized the issue, and it is my na´vetÚ.

    Somewhere in the middle of my original interaction with the person using the expander, they mentioned that they were using the MCP3208, which is...
  20. Wonderful, thank you for your input, all. If this...

    Wonderful, thank you for your input, all. If this means anything, I'm building a midi controller for the Axoloti, which is essentially a synthesizer/music-ready microcontroller with its own software....
  21. Oh I get it, because you would want to convert it...

    Oh I get it, because you would want to convert it to digital *before* the mcp23017. That makes more sense. I had thought that the chip could read analog signal. Thank you.
  22. Would I need an ADC if using pots with a i2c GPIO expander?

    Hello,

    I'm looking to attach 16 10k pots to an MCP23017 i2c GPIO expander, and connect that to a Teensy 4.1. The i2c ports on the 4.1 are on the same pins as the analog pins.

    Would the i2c...
  23. Hooking up a Teensy 4.1 to an Axoloti board. I have never worked with electronics.

    Hello!

    Some context: I recently discovered the incredibly versatile Axoloti board for music making. I'm obsessed with the possibilities available to me now. I was inspired after seeing peoples'...
Results 1 to 23 of 23