• It sounds really good - yes, you'd need a biggish buffer to allow things like IRQs to get handled in the background if they need to be.

    With your compiler issues:

    const a = [<address>,<value>];
    poke32( a[0], a[1]);
    

    should have given you the error:

    Error: ArrayExpression is not implemented yet
    

    Because defining JS arrays from compiled code isn't supported yet unfortunately. Even if it had worked, your code would have ended up being slow because it would have defined a JavaScript array type though.

    With your other problem, that was definitely a compiler issue where it wasn't handling variables correctly when used as function args - that should now be fixed :)

About

Avatar for Gordon @Gordon started