Recent content by wsfish

  1. W

    Best way to get aa teensy (3.2) in a low height enclosure?

    I have been looking for https://www.adafruit.com/product/3008 for ages, my friend used them to great susses one one of our flying creations, I can also advise ageist soldering direct to the pcb :'( I am looking forward to having my teensies lower to the board :) now I have ordered some more :)...
  2. W

    TMNT arcade controls via teensy 2.0

    What exactly are you expecting from button 21? if (button21.fallingEdge()) { Keyboard.press(KEY_RIGHT_SHIFT); Keyboard.release(KEY_RIGHT_SHIFT); } I haven't used the USB keyboard much but I have done other keyboard things and USB stuff so readding the code I am intrigued. When...
  3. W

    TMNT arcade controls via teensy 2.0

    Also your SendKey function looks a bit suspect... if you look in the example in File > Examples > Teensy > USB_Keyboard > Buttons then you should be able to replace the SendKey function with Keyboard.println("B4 press"); where you replace the "B4 press" with the key you want to press, once...
  4. W

    TMNT arcade controls via teensy 2.0

    what happens when you replace one of the SendKey(KEY_ENTER); lines with Serial.println("keypressed"); ?? this should mean that if you plug your teensy in to a computer and then program it with Teensyduino that after the program if you press ctl+sft+m you get a little window that should...
  5. W

    Event Driven API for PulsePosition

    So I haven't been keeping up with all the updates in https://forum.pjrc.com/threads/44723-Arduino-Events/ but I have now subscribed to that thread so I should keep my self in the loop. That said I have been working way in bliss full ignorance of the other thread.. and have come up with what...
  6. W

    Jitter-free DAC output using the FIFO and DMA

    As no one has commented I thought I would say how cool this looks!! :) The more I play with Micro Controllers the more I am amazed by what cool little features they have to get round there lack of grunt. They can really run rings round OS's when it comes to simple ways to do stuff low latency...
  7. W

    The Oneirophone: Feasibility of MIDI controller with insane number of sensors

    I always prefer muxing digital than analog sooo.. I have never use one of these (http://www.hobbytronics.co.uk/mcp3008-adc) but using one for every other key then you would only need to mux the chip select pin which is digital so should be a bit easier. You will have to watch for...
  8. W

    Event Driven API for PulsePosition

    So I finally have a working example, I was hoping to have a example that used two different event sources but this is as far as I have got tonight. https://github.com/fishrockz/PulseEvents/commit/414f8583a49371fe6011d43b833bf83d4a141f59...
  9. W

    Event Driven API for PulsePosition

    So I think I am moving in the direction of https://forum.pjrc.com/threads/44723-Arduino-Events?p=145876&viewfull=1#post145876 They need a lot more work but If any one is interested.. I currently have: https://github.com/fishrockz/EventObjects/commit/73e7b5a7fc7bad4ad6c128db75757cbf5b5c4264...
  10. W

    Event Driven API for PulsePosition

    Thanks Guys I have been having a play and making some progress but I am struggling with the ARM and other docs, but i am making slow progress on under standing it all. One thing I have noticed is that the flexible timers have a FTM0_STATUS which could be used to work out why the ISR was...
  11. W

    Event Driven API for PulsePosition

    Not sure if this is useful to any one else but I think i would have found it useful a few days ago (or this morning). Its a simple software defined interrupt, SWI, and timer triggered interrupt. the software interupt can be set to ether run in the space between a timer based interrupt or to...
  12. W

    Event Driven API for PulsePosition

    Note to self: https://forum.pjrc.com/threads/27194-Allocation-of-software-triggered-interrupts?p=59360&viewfull=1#post59360
  13. W

    Event Driven API for PulsePosition

    Thanks Paul, I have had a look through and it seems like a good idea, I was about to start when I got detracted by the following and ended up down a 3hr rabbit hole.. So it occurred to me that the dosomething function might like to be running at a lower priority "higher numerical" than the...
  14. W

    Event Driven API for PulsePosition

    So I really like the PulsePosition library in TeensyDuino and have susesfuly used it a few times, may thanks Paul! But while the library is event driven rather than poll driven or blocking the interface/api with the main sketch is not. I have fond that event driven things seem to be good and...
Back
Top