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
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
Rectangle function import turtle t=turtle.Turtle() t.forward(150) t.left(90) t.forward(80) t.left(90) t.forward(150) t.left(90) t.forward(80) t.left(90) Read more
Comments
Post a Comment