Jump to content

Dаrren Kitchen

Active Members
  • Posts

    107
  • Joined

  • Last visited

Posts posted by Dаrren Kitchen

  1. Just

    wanted

    to

    test

    some

    stuff. ?ͬͤͩͬͧͫͬͤͩͬͧͫͬͤͩͬͧͫͬͤͩͬͧͫͬͤͩͬͧͫͬͤͩͬͧͫͬͤͩͬͧͫͬͤͩͬͧͫͬͤͩͬͧͫͬͤͩͬͧͫͬͤͩͬͬͤͩͬͧͫͬͤͩͬͧͫͬͤͩͬͧͫͬͤͩͬͧͫͬͤͩͬͧͫͧͫͬͤͩͬͧͫͬͤͩͬͧͫͬͤͩͬͧͫͬͤͩͬͧͫͬͤͩͬͧͫͬͤͩͬͧͫͬͤͩͬͧͫͬ

  2. I've encountered a problem with millis() function in Teensyduino.It seems that after my program runs for awhile, the clock on the Teensy seems to slow down and not give accurate results. It seems to be a side effect of me using my "CommandAtRunBarMSWIN" function, but the only time related function I use in it is delay() and when I tested with just that it the loop did not seem to skew the clock. I'm using the latest alpha to my knowledge. Ideas?

    Adrian

    void CommandAtRunBarMSWIN(char *SomeCommand){

    //digitalWrite(ledPin, HIGH); // set the LED on

    Keyboard.set_modifier(MODIFIERKEY_RIGHT_GUI); //Windows key

    Keyboard.set_key1(KEY_R); // use r key

    Keyboard.send_now(); // send strokes

    Keyboard.set_modifier(0); //prep release of control keys

    Keyboard.set_key1(0); //have to do this to keep it from hitting key multiple times.

    Keyboard.send_now(); //Send the key changes

    delay(1500);

    Keyboard.print(SomeCommand);

    Keyboard.set_key1(KEY_ENTER);

    Keyboard.send_now();

    Keyboard.set_key1(0);

    Keyboard.send_now();

    }

  3. I've updated the PHUKD Library to 0.2.

    The main changes are that I've added two functions for the Gnome desktop under Linux:

    ShrinkCurWinGnome()

    CommandAtRunBarGnome(char *SomeCommand)

    you may also see something about OS X, but it does not work. Can anyone tell me a run bar equivalent that works in OS X?

    I've also changed the library so that it goes in the normal libraries folder, and not the same folder as your sketch.

  4. One unit is a Teensy 2.0 with an on board SD adapter for storage. The other is a larger Teensy 2.0++. I'm working on making swappable shields for both so that they can be re-purposed with little trouble (better to burn up a 50 cent piece of perf board/headers than a $20 microcontroler). I'm doing this by soldering male/female headers to both so I can just snap them together to make electrical contact. Notice on the back side of the boards I've made a line for common ground for the DIP switched and other inputs. Also, I'm working on packaging the units by making a jacket out of heat shrink plastic I can snap on and off.

    post-4191-1274805070_thumb.jpg

    post-4191-1274805101_thumb.jpg

    post-4191-1274805105_thumb.jpg

    post-4191-1274805112_thumb.jpg

    post-4191-1274805116_thumb.jpg

×
×
  • Create New...