profile
viewpoint
Alexander Eden alexeden Kansas City - United States https://ape.works

alexeden/rpi-led-matrix 21

Node.js/Typescript bindings for the Raspberry Pi LED Matrix library (https://github.com/hzeller/rpi-rgb-led-matrix)

alexeden/dotstar-node 4

Controlling a dotstar LED strip via Node.js and websockets.

alexeden/spi-node 3

Communicate with devices using SPI directly from your Node.js app.

alexeden/rpi-cam 2

Stream video from a Raspberry Pi camera over WebRTC

alexeden/colorscroll 1

Mini web-app for teaching RxJS

alexeden/3d 0

Archive of 3D-printed models

alexeden/archpi-server 0

Arch Linux node server on Raspberry Pi 2 platform.

alexeden/bno055-imu-node 0

Interacting with a BNO-series IMU on a Raspberry Pi

alexeden/feather-sandbox 0

Sandbox for quickly testing featherwings and any other sensors

push eventalexeden/3d

Alex Eden

commit sha 4af3c65d14a993ee51d29cdfab0d420da7eabadb

Moar pidex models

view details

push time in 5 hours

push eventalexeden/3d

Alex Eden

commit sha dae274e6649f8cd9c0cb3e1157c670a69635c795

Add updated LX-224 model

view details

push time in 3 days

push eventalexeden/3d

Alex Eden

commit sha ec69d5f8fb4fc2b7910c2bacdea1c63cb388b4e3

Add models for nerf turret

view details

push time in 4 days

startedLittleFrenchKev/Bluetooth_Nerf_turret

started time in 4 days

push eventalexeden/learning-kotlin

Alex Eden

commit sha 8480b9909b697879a135f776333db3eaa478e9aa

Notes

view details

push time in 5 days

push eventalexeden/3d

Alex Eden

commit sha 9534a3fc56a67cb86f003f1c92587e8be0c11138

Try this again; exclude more files

view details

push time in 6 days

create barnchalexeden/3d

branch : master

created branch time in 6 days

created repositoryalexeden/3d

Archive of 3D-printed models

created time in 6 days

startedBCN3D/BCN3D-Moveo

started time in 6 days

push eventalexeden/dotstar-node

Alex Eden

commit sha 3be6a2854a428f85e06ca73837c6fafdebcdac85

Disable buffer printing

view details

push time in 14 days

issue closedalexeden/rpi-led-matrix

Fail to install on windows

When trying to install the library on windows, I first receive a couple of warnings (as expected), followed by an error:

...\node_modules\rpi-led-matrix\src\unsupported.cc(13,7): fatal error C1017: 
invalid integer constant expression [...\node_modules\rpi-led-matrix\build\vendor.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin\MSBuild.exe` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (C:\Users\...\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (events.js:189:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
gyp ERR! System Windows_NT 10.0.17763
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\...\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"

I followed the instructions on how to run node-gyp on windows, but it seems like it is an actual error in the code 😕

Really appreciate any help on this!

closed time in 15 days

MargaretKrutikova

issue commentalexeden/rpi-led-matrix

Fail to install on windows

Hi @MargaretKrutikova.

Good news and bad news.

Bad news is I don't have access to a Windows machine to even begin to look into this. I also have zero experience developing in a Windows environment so this library's never been tested in one.

Good news is that I might know what the issue is, and I welcome you to open a PR that fixes it. 😊 That error seems to be coming from src/unsupported.cc, whose #else block executes whenever you try to install/build the library on a non-linux machine (including Macs). It basically allows the compilation of the binaries to be bypassed. IIRC, I pretty much copied that block from another native library (because I'm not at all skilled in the art of preprocessor directives). My guess is that there's some weird Windows case that need to be taken into account.

Googling the issue led me here. No idea if that's useful, but it seems like a good start. ¯_(ツ)_/¯

Sorry I couldn't be of more help!

MargaretKrutikova

comment created time in 15 days

issue closedalexeden/rpi-led-matrix

Unable to use examples on RPI3 B+

Hello,

This is a very well made library and I am experimenting with using it to drive an LED matrix that I just bought.

My setup is: An RPI 3 B+ Raspbian Buster Adafruit LED Matrix Bonnet Cheapo Aliexpress LED Matrix 64x32 (confirmed working with Adafruit lib) Node v13.3 Sound module turned off No soldering (so it's in convenience mode)

I am unable to get any example working, or even write a basic test that lights up the screen. I cloned your repo and tried running the examples with no luck. Some times the RPI just hangs, and other times I get this error:

> rpi-led-matrix@1.8.0 example /home/pi/shared/led-testing/rpi-led-matrix
> ts-node -P examples/tsconfig.json "examples/kitchen-sink.ts"

*** Error in `node': corrupted size vs. prev_size: 0x042fd248 ***
Aborted
npm ERR! code ELIFECYCLE
npm ERR! errno 134
npm ERR! rpi-led-matrix@1.8.0 example: `ts-node -P examples/tsconfig.json "examples/kitchen-sink.ts"`
npm ERR! Exit status 134
npm ERR!
npm ERR! Failed at the rpi-led-matrix@1.8.0 example script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2019-12-11T12_52_02_175Z-debug.log

My config has been stripped down to simply include these options:

export const matrixOptions: MatrixOptions = {
  ...LedMatrix.defaultMatrixOptions(),
  rows: 32,
  cols: 64,
  //chainLength: 2,
  hardwareMapping: GpioMapping.AdafruitHat,
  //parallel: 3,
  // pixelMapperConfig: LedMatrixUtils.encodeMappers(
  //   { type: PixelMapperType.Chainlink }
  // ),
  // pixelMapperConfig: LedMatrixUtils.encodeMappers({ type: PixelMapperType.U }),
};

Any assistance would be very much appreciated! There's not really any other maintained Node libs to power these matrices.

closed time in 15 days

lostPixels

issue commentalexeden/rpi-led-matrix

Unable to use examples on RPI3 B+

Hey everyone, I finally had time to wire up a Pi 4 and update this library (new version is 1.9.0 @MargaretKrutikova @mgreenw).

The submodule has been updated to the latest and I've added new enum values for multiplexing and addressing types.

I tested it using 3 chains with 2, 64x32 panels each. Node 12.5.0. I use the active 3 adapter so my GPIO mapping is set to Regular. I'd appreciate it @Fensterbank if you could try it again using the Adafruit hat and the updated library version. If you still have an issue, I'll dig up my own hat and see if I can reproduce it.

I did twice see the issue with the example scripts just doing nothing, as mentioned by @lostPixels. I'm not quite sure what the exact cause is. I got it to work again by clearing /build and node_modules and reinstalling/rebuilding the binaries while not in sudo. Again, not sure if there really is some issue with permissions, and I don't want to cargo cult this, but that did seem to fix it.

Please let me know if ya'll are still having issues. Feel free to open another issue if so!

lostPixels

comment created time in 15 days

created tagalexeden/rpi-led-matrix

tagv1.9.0

Node.js/Typescript bindings for the Raspberry Pi LED Matrix library (https://github.com/hzeller/rpi-rgb-led-matrix)

created time in 15 days

push eventalexeden/rpi-led-matrix

Alex Eden

commit sha 483bccc83dc32ddcc214de8810d9971ca61c1838

1.9.0

view details

push time in 15 days

push eventalexeden/rpi-led-matrix

Alex Eden

commit sha d3e94b537d2a437b22dc653260ae46a47b3b1b20

Run kitchen sink on build

view details

Alex Eden

commit sha 6eb5b4e4f8ae170eb5245212d12cc1e0e5b881da

Upgrade vendor submodule to latest

view details

Alex Eden

commit sha ee9180153e8a5849b47586e19aa46bdf50ddbd00

Add the new multiplex and addressing enum types

view details

Alex Eden

commit sha 4cfffeaedb5ac257782d9719f9d566d9a491888d

Add commentary to types, set GPIO slowdown to 4 in test config

view details

Alex Eden

commit sha 7f99d990076b4b0a1d8d828fa2984c2e5b3daeb0

Merge branch 'rpi4-updates'

view details

push time in 15 days

push eventalexeden/rpi-led-matrix

Alex Eden

commit sha ee9180153e8a5849b47586e19aa46bdf50ddbd00

Add the new multiplex and addressing enum types

view details

Alex Eden

commit sha 4cfffeaedb5ac257782d9719f9d566d9a491888d

Add commentary to types, set GPIO slowdown to 4 in test config

view details

push time in 15 days

push eventalexeden/rpi-led-matrix

Alex Eden

commit sha d3e94b537d2a437b22dc653260ae46a47b3b1b20

Run kitchen sink on build

view details

Alex Eden

commit sha 6eb5b4e4f8ae170eb5245212d12cc1e0e5b881da

Upgrade vendor submodule to latest

view details

push time in 15 days

create barnchalexeden/rpi-led-matrix

branch : rpi4-updates

created branch time in 15 days

push eventalexeden/rpi-led-matrix

push time in 15 days

push eventalexeden/rpi-led-matrix

Alex Eden

commit sha 01344c07e747a334f538e4def18ff5882f77630a

Putting this on hold for a bit

view details

push time in 15 days

startedandroid/views-widgets-samples

started time in 16 days

startedtesseract-ocr/tesseract

started time in 19 days

startednaptha/tesseract.js

started time in 19 days

push eventalexeden/learning-kotlin

Alex Eden

commit sha 90f7cfbec9900736175a34535659ad3d0e5f6a6f

Moar delegate notes

view details

push time in 19 days

push eventalexeden/learning-kotlin

Alex Eden

commit sha 8e6a22693a4965733d1d9eac64e56d86f7e17cf1

Add notes on delegates and a table of scope functions

view details

push time in 19 days

startedandroid/plaid

started time in a month

startedandroid/sunflower

started time in a month

push eventalexeden/learning-kotlin

Alex Eden

commit sha a4d546e5934c96728c63ea8111f6735410ee658b

Finished the book!

view details

push time in a month

push eventalexeden/learning-kotlin

Alex Eden

commit sha 38324f437c5e1de3931284203d45cd0cf72d577f

Finish notes on generics and extensions

view details

push time in a month

startedJetBrains/kotlin

started time in a month

push eventalexeden/learning-kotlin

Alex Eden

commit sha a5e7a82e02d84fa83699f7f830c5243c6b7c6fd6

Add sample code about interfaces

view details

push time in a month

push eventalexeden/learning-kotlin

Alex Eden

commit sha a7fedc848f9fb68a0d8e23fe5f85f8811d8b9f2b

Empty markdown file for android notes

view details

push time in a month

push eventalexeden/learning-kotlin

Alex Eden

commit sha 2995ce6697aded52123e29a2de8d7e902cef34d2

Add notes on ADTs using sealed classes

view details

push time in a month

push eventalexeden/learning-kotlin

Alex Eden

commit sha 1ccfa195cea2d3541e40714e191e8b6217a7a363

Finish notes on data classes

view details

push time in a month

push eventalexeden/learning-kotlin

Alex Eden

commit sha 52afd302abf141e857f188e076bab4538c30e354

Finish notes on objects

view details

Alex Eden

commit sha b64b3ad51639c61062f3ff6a2e0ac3eae3f09fff

Start notes on data classes

view details

push time in a month

push eventalexeden/learning-kotlin

Alex Eden

commit sha 37b30e6272a44c648c0a0fe3f7954074602e6324

Notes on initialization

view details

push time in a month

push eventalexeden/learning-kotlin

Alex Eden

commit sha 0e8a9855e18182e5ce05a2424f979dbe371dd7ba

Start notes on classes

view details

push time in a month

push eventalexeden/learning-kotlin

Alex Eden

commit sha bf49a2b93a8edbb98c2b87f8603818b727636e2b

Notes on Sets and Lists

view details

push time in a month

push eventalexeden/learning-kotlin

Alex Eden

commit sha f2ba474a5923fb1a59579111d9fe3248b9b6154a

Start notes on collections, add lorem ipsum data file

view details

push time in a month

push eventalexeden/learning-kotlin

Alex Eden

commit sha 5b18392e998c7370be6974ab529618580bae9f97

Add notes on standard functions

view details

push time in a month

push eventalexeden/learning-kotlin

Alex Eden

commit sha f53344b7b6d1ce3164608456aa10477a7b39a0f1

Finish notes on nullability and exceptions

view details

push time in a month

push eventalexeden/learning-kotlin

Alex Eden

commit sha 5c0cc41f0dcb7775f5f00b26d892c0704bc20d2a

Notes on the 5 standard precondition functions

view details

push time in a month

push eventalexeden/learning-kotlin

Alex Eden

commit sha 7c52da1f7c8f699ddb358b678c98480a934da3f2

Start adding notes on null safety

view details

push time in a month

push eventalexeden/learning-kotlin

Alex Eden

commit sha 0f7f6c8140e9f687a22500fa1fdb4939898b2908

Add notes about function inlining

view details

push time in a month

push eventalexeden/learning-kotlin

Alex Eden

commit sha 988de4c0a0619ccc754ac1cdb8397d8e436d2275

Notes and sample code on shorthand lambdas

view details

push time in a month

push eventalexeden/learning-kotlin

Alex Eden

commit sha 715ef813f0f6639ef045ecae07ea22a896c71b16

Ignore jars at root

view details

push time in a month

push eventalexeden/learning-kotlin

Alex Eden

commit sha cd67479c38456aab4fe7e098d1a358e06fd5a3d0

Test code runner

view details

Alex Eden

commit sha 4babc749945f04537117bab90f1d51d96f615f34

Add some notes, sample code

view details

push time in a month

issue commentalexeden/rpi-led-matrix

Unable to use examples on RPI3 B+

@lostPixels @Fensterbank Hey guys, sorry for the lack of feedback; been abroad for several weeks. Promise to look into this this weekend and get back to ya!

lostPixels

comment created time in a month

push eventalexeden/learning-kotlin

Alex Eden

commit sha ad29137e58cc36b3d87bde49ed7867686a336d3a

Delete all the things

view details

push time in 2 months

startedantvis/L7

started time in 2 months

startedantvis/G6

started time in 2 months

startedantvis/G2

started time in 2 months

push eventalexeden/serial-servo

Alex Eden

commit sha 8ef8fb5a8908428918a5795640a4b6b4dbe3c81a

Disable throw on checksum mismatch

view details

Alex Eden

commit sha 7df0054652f98fdb147b05527b33a8d1916be21b

Increase write wait time to 10 millis

view details

push time in 2 months

push eventalexeden/serial-servo

Alex Eden

commit sha e949efa9c42ce55655546efd7684c8d1fcc9344d

Add options to the response packet parse function

view details

Alex Eden

commit sha b1950f6b228d43f95d80bab6dd0b7067ebc6f530

Set tsconfig build target to ES2015

view details

push time in 2 months

push eventalexeden/serial-servo

Alex Eden

commit sha 8a61b43ac4bbe713cab86be423f6ec6816a45136

Enable integrity checking, add delay to command writer

view details

push time in 2 months

startedsindresorhus/p-queue

started time in 2 months

push eventalexeden/realsense-node

Alex Eden

commit sha 0ced60e3775f3cc6c94af59c5f9c5195170d73c9

Install redux

view details

push time in 2 months

push eventalexeden/realsense-node

Alex Eden

commit sha d00600dce6b0ef4fbb8e8ff07cf986deea5052b1

Hello React

view details

push time in 2 months

push eventalexeden/realsense-node

Alex Eden

commit sha fe2059850b35e4435f3835e415235c22c52fedef

Install react deps

view details

push time in 2 months

push eventalexeden/realsense-node

Alex Eden

commit sha a8eeaacf5d07baa56d301c456c1fa1b3ce4d9659

Fix compiler errors

view details

push time in 2 months

push eventalexeden/realsense-node

Alex Eden

commit sha 6a489d439220a157034132e4dc77d66f1ab3beed

Generate electron app again with TS

view details

push time in 2 months

issue commentpalantir/tslint

Is TSlint deprecated?

I've been under the impression for months that tslint would soon be no more, because that's precisely what's been stated:

we plan to deprecate TSLint in 2019 and support the migration to ESLint as the standard linter for both TypeScript & JavaScript

But I'm now super confused given that a beta for tslint 6 was released a month ago. What's the deal?

fr0

comment created time in 2 months

push eventalexeden/realsense-node

Alex Eden

commit sha 5ef6d0bdd6b1d9cf78a4db30b2824450d1a21fbc

Generate a forge Electron app

view details

push time in 2 months

startedjustinrstout/quuilt

started time in 2 months

push eventalexeden/realsense-node

Alex Eden

commit sha b47309968df913abbcf33a4efd702d3d403ef3a0

Cleanup

view details

Alex Eden

commit sha d5a13ac25aa32c100558e5190d65cff509a68652

Test out frameset instantiation on each frame

view details

push time in 2 months

push eventalexeden/realsense-node

Alex Eden

commit sha 27b22dabf1bbb8599d3a8b6f7e9f70fbeee57caf

Make several pipeline method parameters optional for convenience

view details

push time in 2 months

push eventalexeden/realsense-node

Alex Eden

commit sha ed1ae772de09a00c913e84cb86ebc3c968a086a1

Consolidate the pipeline start methods

view details

push time in 2 months

push eventalexeden/realsense-node

Alex Eden

commit sha 94591e732a450fa0a0c28ead13700b2ef2588f30

Update path in bindings to dynamic lib

view details

Alex Eden

commit sha fedfa36796745012f7a2bf03f728fb382fb70548

FINALLY seeing frames

view details

push time in 2 months

push eventalexeden/realsense-node

Alex Eden

commit sha bb524df19e7f0297ae0ee7f5157a6e297e7f7d86

Update node-addon-api to latest

view details

Alex Eden

commit sha 57ec41a602605067b3a406b6b9d25a38bef49285

Rename RSStream enum --> RSStreamType

view details

Alex Eden

commit sha a1b954d2ed78a5a967d2d93066a48caeb7b83a4b

Clusterfuckery persists

view details

Alex Eden

commit sha 91a35038f5b89de1993f32dbed4ff6163ecb0a5a

Start replacing some methods with getters where appropriate

view details

Alex Eden

commit sha a82dd89b904162203f133df157c33ad5aa7a606b

Moar accessor conversions

view details

push time in 2 months

push eventalexeden/realsense-node

Alex Eden

commit sha 1c8053f1908bbaa73464aeefa23f5ebae9cebde0

Shrug emoji

view details

Alex Eden

commit sha cba3a74e97c6b5b9303966046a852caa0d573081

Convert the FrameSet JS script

view details

push time in 2 months

push eventalexeden/realsense-node

Alex Eden

commit sha 167ded2b41d3d3b62ab2d3d4c0407bccd79fb3fc

Turning in to quite the clusterfuck

view details

push time in 2 months

push eventalexeden/realsense-node

Alex Eden

commit sha 147248c19497b057b219575ca09513b91ec85a9f

Start copying over Intel's JS

view details

push time in 2 months

push eventalexeden/realsense-node

Alex Eden

commit sha 3e059259bb1b8c89979754cbbf8b0fca1709d321

Rename the wrapped RS constructors functions

view details

push time in 2 months

push eventalexeden/realsense-node

Alex Eden

commit sha c911e5b545d9e68934afe438bcf3e4bb4443f128

Wrap all C++ RS constructors to make them destroyable

view details

push time in 2 months

push eventalexeden/realsense-node

Alex Eden

commit sha aaea5be506fb305a4ffeb86ca4642a07ed6d18fc

Move addon export to its own file

view details

push time in 2 months

push eventalexeden/realsense-node

Alex Eden

commit sha ac64b3eb930c2ba1693de0f9e5c587e2da8e9729

Add RS interfaces to addon interface

view details

push time in 2 months

push eventalexeden/realsense-node

Alex Eden

commit sha 43642b435932e3532396c46cffdbae4c6c69ce02

Define the RSConfig interface

view details

push time in 2 months

push eventalexeden/realsense-node

Alex Eden

commit sha b416fcec0624bd7883a5d251c2248b52387270af

Define RSAlign interface

view details

push time in 2 months

push eventalexeden/realsense-node

Alex Eden

commit sha d10dfc1e1fdb8d7f7d2c776e6f869078668e8ff9

Moar enums, finish RSFrame interface

view details

push time in 2 months

push eventalexeden/realsense-node

Alex Eden

commit sha a85e482cdcaed0edb7da7a7faae93e365ae4dec0

Define the majority of the RSFrame interface

view details

push time in 2 months

push eventalexeden/realsense-node

Alex Eden

commit sha 2e4f6fa0c5c6f1e92710dcc78256da8d3e7ecb07

Alphabetize RSFrame methods

view details

push time in 2 months

push eventalexeden/realsense-node

Alex Eden

commit sha 5f11dd3abe74d0aa1d2b437ab151e5f973c04500

Define an interface for RSStreamProfile

view details

push time in 2 months

push eventalexeden/realsense-node

Alex Eden

commit sha 785e9261cd6403cd9b697f261de36f4d93035589

Define intrinsic and extrinsic interfaces

view details

push time in 2 months

push eventalexeden/realsense-node

Alex Eden

commit sha 2624766f1e87622a334c70bafd8a16e947024b3d

Define a bunch of enums used by the stream profile

view details

push time in 2 months

push eventalexeden/realsense-node

Alex Eden

commit sha 4b4e330d03332145be3ff47ebcf2d891637afa35

Define the RSPipelineProfile interface

view details

push time in 2 months

push eventalexeden/realsense-node

Alex Eden

commit sha 821ef2521944ce27c7312d12664f5d57c5bc43c8

Define the RSPipeline interface

view details

push time in 2 months

push eventalexeden/realsense-node

Alex Eden

commit sha 1c8dac0bfae94cec78fc44404ed2658a5ce576e0

Fix typo

view details

push time in 2 months

push eventalexeden/realsense-node

Alex Eden

commit sha 63a937c53eef0b4e41d82c1722cf798584f58a5c

Define RSFrameSet method types

view details

push time in 2 months

push eventalexeden/realsense-node

Alex Eden

commit sha d4ef5c8eb8ab40d3c39dfe975b9594e74c3f0dd1

Define RSSyncer method types

view details

push time in 2 months

push eventalexeden/realsense-node

Alex Eden

commit sha eea7e246d7961fa8b52a949c2e3548546795f73f

Alphabetize RSContext methods

view details

push time in 2 months

push eventalexeden/realsense-node

Alex Eden

commit sha f449901de8293c009154d7d4ef630802daea3fcb

Finally fix the vscode include path

view details

push time in 2 months

push eventalexeden/realsense-node

Alex Eden

commit sha 687ae3e607f36c90b29b0ab58fe188fce4a15528

Get rid of all the MainThreadCallback stuff

view details

push time in 2 months

push eventalexeden/realsense-node

Alex Eden

commit sha 174e58a06edfb299caf0924ee46e2e3197017760

Test some of the sensor methods

view details

Alex Eden

commit sha 979727309c1eb78905533d83848921edbbade691

Setup sensor notification callbacks

view details

push time in 2 months

push eventalexeden/realsense-node

Alex Eden

commit sha f59277905db13aeef992547af9b9d0258114f1d7

More interfaces, split enums into a constants file

view details

push time in 2 months

push eventalexeden/realsense-node

Alex Eden

commit sha d771294d31809b25839a084059f1755f0a8bda46

Exit test process on SIGUSR2

view details

push time in 2 months

push eventalexeden/realsense-node

Alex Eden

commit sha e35a2fc3550def78b631bac2441375b74799cba1

Define most of the interface for RSSensor

view details

push time in 2 months

push eventalexeden/realsense-node

Alex Eden

commit sha 1c977e537e0d889f2a7cd9d981f02b634c46aa4e

Alphabetize the RSSensor methods

view details

push time in 2 months

push eventalexeden/realsense-node

Alex Eden

commit sha e59d27d8b96a529cdbd6ee3cdc1ac6094f1a8142

Start defining the RSSensor interface

view details

push time in 2 months

more