jasonful / lcc

The lcc retargetable ANSI C compiler
http://sites.google.com/site/lccretargetablecompiler
95 stars 10 forks source link

Can we do bit Shift? like >> or << and also Or Operation |=? #7

Closed khawajamechatronics closed 4 years ago

khawajamechatronics commented 4 years ago

Hi,

I am trying to interface HX711 with ESP32 ULP Processor. I need to read data and shift. I have implemented the logic but it seems data is not correct. Would like to confirm if these functions are supported by library?

Kind Regards

jasonful commented 4 years ago

Yes, those should both already work. If they don't seem to be working, send me your .c file and I'll take a look.

khawajamechatronics commented 4 years ago

Hi

Thanks for prompt response, it seems another issue, I have written it here. https://github.com/duff2013/ulptool/issues/56#issue-562848863

Can you guide me on this? Thanks