The document outlines specifications for three projects:
1) A customer facing display project to select a COM port and display text on an LED display by writing lines, clearing text, and controlling backlight.
2) A receipt printing project to open a printer port, write and format text, and include barcodes and font sizes/styles.
3) A WiFi connection project to check available networks, connect if a network is available, and prompt for a password with attempts to reconnect using the correct password.
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
18 views
Customer Facing Display (CFD)
The document outlines specifications for three projects:
1) A customer facing display project to select a COM port and display text on an LED display by writing lines, clearing text, and controlling backlight.
2) A receipt printing project to open a printer port, write and format text, and include barcodes and font sizes/styles.
3) A WiFi connection project to check available networks, connect if a network is available, and prompt for a password with attempts to reconnect using the correct password.
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2
Customer facing display (CFD):
Project specifications: Create a class library project which displays the text to the LED at customer facing display.
Open the file.
Select the COM port for CFD and set the string portName. Open the port. If the backlight is set then backlight is ON. Close the port. If the backlight is set to OFF then backlight is OFF. If the text is clear on CFD then the Backlight flashes OFF and display on CFD is cleared. On the display write the first line of CFD. On the display write the second line of CFD Close the port. Print receipt: Project Specifications: Write the code for the printer receipt.
Open the file.
Set the COM port for printer to work. Open the printer port. Write some text to print. Generate ASCII characters range from 33 to 127 to print. Write CODABAR barcode to print. Align the contents to left. Align the contents to center. Align the content to right. Set the content to bold. If the content is not set to bold then take the bold effect from the content. Make the font largeSizeFont. Make the font mediumSizeFont. Make the font smallSizeFont. If the content is Large underline it. If the content is small remove the underline. Close the port. WIFI: Project Specifications: Create a project to connect to the wifi.
Check the available network.
Return the network. Bind the network list and show the signal strength. If the network list shows the available wifi, connect to it. Prompt the password if it is valid or not. If the password is correct then connect. If the password is incorrect then disconnect and reconnect entering the right password.