Avatar for Ken

Ken

Member since Jul 2017 • Last active Dec 2017
  • 3 conversations
  • 14 comments

Most recent activity

    • 2 comments
    • 115 views
  • in Projects
    Avatar for Ken

    Here's a little Neopixel effects library that has some basic effects that you can string together to make more complex lighting patterns. I needed to add some lighting effects to my daughters Halloween costume so I created this for myself. I hope someone else finds it useful as well. If you have an idea for other effects, just let me know.

    https://github.com/jsrocket/espruino/tre­e/master/pixelfx

    List of the current effects.

    • on
    • off
    • blink
    • fade
    • pulse
    • heartbeat

    Example

    var pixelfx=require('https://github.com/jsro­cket/espruino/blob/master/pixelfx/pixelf­x.min.js').init(B15, 16);
    
    pixelfx.blink({
          'cnt':2,
          'time_on':10,
          'time_off':10,
          'color':[[50,0,0]], 
          'blink_fx':'sequence'
    }, function(r){
    
            pixelfx.blink({
                'cnt':5,
                'time_on':100,
                'time_off':100,
                'color':[[0,50,0],[50,0,0],[0,0,50]], 
                'blink_fx':'sync'
          }, function(r){ console.log(r); pixelfx.off(); });
      
    });
    
    
  • in Interfacing
    Avatar for Ken

    Hey I just wanted to follow up on my thread here. I created a little servo module that allows me to easily adjust the min and max pulses based on the servo I'm using. This way I get the full 0 - 180 degree sweep. It also has a couple features that I wanted like the ability to actively hold a position as well as the ability to stop the servo mid motion.

    https://github.com/jsrocket/espruino/tre­e/master/servoxt

    Hope it helps someone else. :)

  • in General
    Avatar for Ken

    Yes, that is exactly what I did. Thanks again!

    • 10 comments
    • 271 views
  • in General
    Avatar for Ken

    Hey Gordon, Yes it is, thank you! It resolved itself the following day. It must have been something our our ISP.

    As for the Offline Mode, I saw that and as soon as I re-connected I turned that on. Nice feature. Thank you. :)

  • in General
    Avatar for Ken

    Oh awesome! Thanks for the tip. Hoping it resolved tomorrow, but if not a trip to the coffee shop may be in order. My copy of "Making Things Smart" by Gordon just came in and I have some things I want to try. :) Again thanks for the tip!

  • in General
    Avatar for Ken

    Huh. Unfortunately I still can't access the site or the links you sent and the Web IDE is still hanging. I tried on several computers here and even restarted my modem and router and still nothing. However when I tried over my cell network (not wifi) the site loads. So sounds like it may be something with the ISP or network on my end. Thanks for the reply allObjects.

  • in General
    Avatar for Ken

    I was just using the Web IDE earlier today and everything was fine. However now my Web IDE is not properly connecting & sending code to the board and I can no longer reach espruino.com. I was just wondering if anyone else was having a similar issue?

    Also I'm sorry if this is the wrong board for this post. I was not sure where to place it and "news" seemed the closest. If it's in the wrong spot I will move or delete it.

    Thank you!

Actions