Avatar for andres.santos

andres.santos

Member since Mar 2014 • Last active Mar 2014
  • 1 conversations
  • 5 comments

Geek, enterpreneur

Most recent activity

  • in Interfacing
    Avatar for andres.santos

    oh yes, I was testing both, with and without the save(), but in both cases behaves the same, I even upgraded the firmware

    greetings

  • in Interfacing
    Avatar for andres.santos

    so I tested the same matrix with the arduino and looks ok, does it mean I nead the sd card? or what is the difference of using the SD card?

  • in Interfacing
    Avatar for andres.santos

    well nope, this is all it shows

    _____                 _ 
    |   __|___ ___ ___ _ _|_|___ ___ 
    |   __|_ -| . |  _| | | |   | . |
    |_____|___|  _|_| |___|_|_|_|___|
              |_| http://espruino.com
     1v56 Copyright 2014 G.Williams
    >echo(0);
    =undefined
    Erasing Flash.....................
    Programming 36000 Bytes...................................­....
    Checking...
    Done!
    >reset();
    =undefined
    

    greetings

  • in Interfacing
    Avatar for andres.santos

    Hello guys, I recently bought from ebay two Matrix Leds based on the Max7219, when I connect them to the espruino it powers everything up and then using the web IDE I send this code to the espruino:

    SPI2.setup({mosi:B15, sck:B13});
    var disp = require("MAX7219").connect(SPI2,B14);
    
    
    setTimeout(function() {
      disp.raw([1,2,4,8,16,32,64,128]); // you can set the LEDs directly
    }, 1000);
    
    setTimeout(function() {
      var n = 0;
      setInterval(function() {
        disp.set(n++); // it can display integers
        disp.intensity(0.5+0.5*Math.sin(n*0.2));­ // you set set intensity
      }, 100);
    }, 2000);
    

    But nothing happens, any idea?

Actions