s-hadinger

Results 171 comments of s-hadinger

You need to do it with a C native function and call Berry APIs to extract arguments, not with the C types mapping.

Slot 0 is invalid and does not exist. Slot 1 is the first arg, here `self` Slot 2 is the second argument hence the instance of the `list` class. This...

I'm not sure to understand what you mean. `be_tocomptr()` is only meant to get the value of a `comptr` argument. What are you trying to do ?

You really shouldn't take berry_int64 as a starting point, it uses advanced techniques that you probably don't need. Especially it wraps a C structure into a Berry object. Take the...

I'm unfamiliar with IEC61131 data types. Do you have examples? Are you using an existing C lib?

This is as designed. `{"abc":{"hex":0x10}}` is not valid json. Json does not support hex integers. You can double check with jsonlint.com If you want hex, you need to wrap into...

I can reproduce the crash and this is definitely wrong. Thanks for the fix, let me check a thing or two before integrating it.

Aha. The patch you provided solves the crash, but also makes accidentally the parsing of hex working. I suppose we will have to live with that, Berry accepting hex numbers...

I did some more tests, on ESP32 Rev1 and Pico D4. Actually the DAC output works, but the speed is 11x more than real time. I.e. I sent PCM at...

I doubt. I did some detour on `i2s_hal_tx_clock_config()` to check what clock values were calculated, and force-injected some different clock values until the sound was good again. I will work...