support both lpclink 1 and 2
add linear ramp demo