程序代写

HD44780 compatible LCD display that has its own (simple) processor. To communica

richer than simply turning LEDs on and off; the labs earlier this semester introduced you to the LCD panel and interrupts to produce timing (delay) information. The boards we are using have a Hitachi HD44780 compatible LCD display that has its own (simple) processor. To communicate with that processor a specific protocol is used that […]

HD44780 compatible LCD display that has its own (simple) processor. To communica Read More »

summary

acad_object_groups academic_standing affiliations class_enrolment_waitlist class_enrolments class_teachers class_types classes course_books course_enrolment_waitlist course_enrolments course_quotas course_staff courses degree_types degrees_awarded external_subjects facilities orgunit_groups orgunit_types program_degrees program_enrolments program_group_members public_holidays room_facilities Attributes id, name, gtype, glogic, gdefby, negated, parent, definition id, standing, notes staff, orgunit, role, isprimary, starting, ending id, isbn, title, authors, publisher, edition, pubyear id, unswid, name, campus, gridref

summary Read More »

csp

import sys class Variable: ”’Class for defining CSP variables. On initialization the variable object can be given a name and a list containing variable’s domain of values. You can reset the variable’s domain if you want to solve a similar problem where the domains have changed. To support CSP propagation, the class also maintains a

csp Read More »

CSCC63 Assignment 2

2. (10 marks) Consider the language Prove that ALLTM 6m L2. 3. (5 marks) Consider the language L2 =⟨M,N⟩ L(M)6m L(N) . CSCC63 Assignment 2 Reductions, Polytime Reductions, and NP Due 11:59pm, July 14 Warning: For this assignment you may work either alone or in pairs. Your electronic submission of a PDF to Crowdmark affirms

CSCC63 Assignment 2 Read More »

微机原理期末设计

题目:基于Proteus和MASM的微机接口应用演示系统设计与实现 1. 基于Proteus软件和MASM软件环境实现 1) 设有一个十字路口,试设计一个交通灯控制应用系统。假设每个路口都分直行车道、左转-掉头车道两种通行控制方向,用红、黄、绿等发光二极管模拟交通信号灯。另外,路口还有对应的行人通道的信号灯。 2) 正常情况下,东西向和南北向的车道轮流放行。当东西向的直行车道显示绿灯放行时,东西向的左转-掉头车道是红灯。 a、直行车道通行50秒后,用5秒绿灯闪烁,然后绿灯熄灭;再用5秒显示黄灯,然后黄灯熄灭;此后东西向的直行车道显示红灯停止放行。 b、在东西向的直行车道亮绿灯、黄灯期间,左转-掉头车道亮红灯,东西向的行人通道亮绿灯。等东西向的直行车道黄灯转红灯后,东西向的左转-掉头车道开始亮绿灯,通行30秒后,然后绿灯闪烁5秒再熄灭;这个车道再用5秒显示黄灯然后熄灭,然后显示红灯停止放行,这期间东西向的行人通道亮红灯。 c、如前所述东西向各车道通行期间南北向的直行车道、左转-掉头车道及行人通道一直是红灯信号。然后南北向的直行车道绿灯放行,左转-掉头车道红灯,行人通道红灯。东西向各车道红灯禁行,行人通道绿灯放行。依前交替。 3)当人行通道为绿灯时,通过某种音频信号提示行人,具体频率和内容自定。当人行通道为红灯时,静默不发出声音。 4)交警手中有控制器,按下特定键后,可放行四个方向中某一个方向的车辆,直行、左转-掉头车道的都亮绿灯,其它三个方向禁行。路口各方向的行人通道全部禁行。行人音频提示信号静默。状态解除后恢复原通行过程。 5)每次交通灯放行与否的状态变化保存到 “8.自选模块设计选项” 中设计实现的RAM存储区域中。要求至少保留最近10次的信息。设计实现中所需具体芯片、信息格式、存储量等自行设定,但须在报告中明确说明。 二、LCD液晶显示屏: 用LCD液晶显示屏显示学校和学院简称“西北师大计工学院”、课程名“微机原理期末设计”、自己的汉语名字和学号。 3、 简易电子时钟: 设计实现简易电子时钟。最低要求:电子时钟可以显示时、分、秒。可以随时对当前时钟进行调整,可以设置至少三个闹钟时间,当闹钟时间到时,可以给出计时到信号,形式自定。电子时钟工作期间交通灯和LCD的工作不受影响,所需器件、控制键、工作流程等自行设定。 8. 自选模块设计选项。每个同学必须从老师处在1)中抽题选做一个存储模块,再在2)~ 6)中抽题选做一个接口模块。 1) 公共必选题:设计实现存储容量分别为16KB的ROM和16KB的RAM,ROM区起始地址、RAM起始地址、ROM保存信息文件从老师处抽取。题目要求将ROM中的信息拷贝到RAM中的自选位置开始的区域。ROM中的信息以HEX文件格式提供,默认从ROM的首个单元开始存放,以’$’字符表示结束,其ASCII码为24H。另:如之前2.4所述,交通灯每次的状态变化信息需存储在RAM芯片中,要求至少保留最近10次的信息。设计实现中所需具体芯片、信息格式、存储量等自行设定,但须在报告中明确说明。 ROM用HEX文件名 2) 设计实现简易电子时钟。最低要求:电子时钟可以显示时、分、秒。可以随时对当前时钟进行调整,可以设置至少三个闹钟时间,当闹钟时间到时,可以给出计时到信号,形式自定。电子时钟工作期间交通灯和LCD的工作不受影响,所需器件、控制键、工作流程等自行设定。 说明:器材可自行选择,片选逻辑实现方式自定。自选模块和前面的交通灯、液晶 屏显示必须在同一个CPU控制下。

微机原理期末设计 Read More »

TK3163 Project 2 JFlex

Sem 2 2022/2034 June, 2023 Programming Project : Lexical Analysis using JFlex. For the first task of the frontend, you will use JFlex to create a scanner for the Ruby on Rails programming language. Your scanner will transform the source file from a stream of bits and bytes into a series of meaningful tokens containing information that will be used

TK3163 Project 2 JFlex Read More »

cs7638 solar locator

###################################################################### # This file copyright the Georgia Institute of Technology # Permission is given to students to use or modify this file (only) # to work on their assignments. # You may NOT publish this file or make it available to others not in # the course. ###################################################################### # These import statements give you access

cs7638 solar locator Read More »

Calculus 1000A

Calculus 1000A Summer 2023 Multiple Choice Questions Practice Midterm 1. Thefunctionf(x)=loga(x+1)+bwhosegraphpassesthroughpointsP(0,2)andQ(8,0)is? Answer: f(x) = log1/3(x + 1) + 2. 2. The function f (x) = 4 − abx whose graph passes through the point P (2, 0) is? Answer: f(x) = 4 − 2x. 3. Find the function f−1(x), if f(x) = 3(lnx)5. √ Answer:

Calculus 1000A Read More »