Analog reading from potentiometer connected to Arduino is displayed on Nextion & accordingly a slider is varied. The command to Nextion is sent from Arduino as String followed by 3 times 0xFF.
Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.