STEPPER MOTOR CLOCKWISE Get link Facebook X Pinterest Email Other Apps STEPPER MOTOR CLOCKWISECODE:-RST: SETB P3.1CALL ROTATEROTATE: MOV R1,#2H;DELAY:DJNZ R1 ,DELAYJZ CL;RET;CL:CLR P3.1JMP RST;CODE:- Get link Facebook X Pinterest Email Other Apps Comments
Floodfill function from PIL import Image,Image Draw img=Image.open(R"c://ss.jpg") img1=img.convert("RGB") seed=(263,70) rep=(255,255,0) ImageDraw.floodfill(img,seed,rep,thresh=50) img.show( ) Read more
Elipse function import turtle def draw(red): for i in range(2): turtle.circle(red,90) turtle.circle(red//2,90) turtle.seth(-45) draw(100) Read more
Polygon function from tkinter import* canvas_width=200 canvas_height=200 python_green="#476042" master=Tk( ) w=Canvas(master,width=canvas_width, height=canvas_height) w.pack( ) points=[0,0,Canvas_width,canvas_height/2,0,canvas_height] w.create_polygon(points,outline=python_green,fill="pink",width=3) master.mainloop( ) Read more
Comments
Post a Comment