andres.santos
Member since Mar 2014 • Last active Mar 2014Most recent activity
-
- 9 comments
- 4,713 views
-
-
-
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
-
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?
Geek, enterpreneur