eliminate static RAM buffer for LDR. frees SRAM and more flexible for standalones