This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*# 1- Identify the UART interface, GPIO pins and Alternate Function #########*/ | |
/* For example: | |
* B-L475E-IOT01A: | |
* PB6 ------> USART1_TX | |
* PB7 ------> USART1_RX | |
* | |
* NUCLEO-L476RG: | |
* PA2 ------> USART2_TX | |
* PA3 ------> USART2_RX | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import win32print | |
import win32ui | |
from PIL import Image, ImageWin | |
import sys | |
#print ("The script has the name %s" % (sys.argv[0]) | |
PHYSICALWIDTH = 110 | |
PHYSICALHEIGHT = 111 |