#include <reg52.h> sbit d1 = P1^0; // 定义第一个发光二极管 int i; void main(){ EA = 1; // 开总中断 EX0= 1; // 开外部中断0 /*** 因为这两个地方涉及到内部寄存器,不是外部IO口,所以默认的电平是0,只有外部IO口, ...
分类:
其他好文 时间:
2021-06-09 10:40:51
阅读次数:
0
1、File->New Project。 http://start.springboot.io 2、下一步。 3、选择依赖。 4、生成项目。 5、运行。 6、设置Tomcat端口 src\main\resources\application.properties server.port=9001 ...
分类:
编程语言 时间:
2021-06-09 10:37:26
阅读次数:
0
1 前言 Svelte 中反应性不仅可以作声明用,还可以用在一段语句中,这点类似 Vue 中的 watch,但比 watch 灵活。 2 正文 <script> import { loop_guard } from "svelte/internal"; let count = 3; const in ...
分类:
其他好文 时间:
2021-06-09 10:36:05
阅读次数:
0
'''一、CSS语法 1. 基本语法 选择器 声明 h1 { 属性名:属性值; ... } 2. 注释 /*单行注释多行注释都一个*/二、CSS选择器 基本选择器 label #id .class * 组合选择器 后代:label label {} 儿子:label>label {} 邻居:labe ...
分类:
Web程序 时间:
2021-06-09 10:30:29
阅读次数:
0
1 // P280例8.15 // 对教材上的程序作了微调整,把输出学生信息单独编写成一个函数模块 // 打印不及格学生信息和所有学生信息程分别调用 #include<stdio.h> #include<stdlib.h> #include<string.h> #define N 4 // 运行程序 ...
分类:
其他好文 时间:
2021-06-08 23:46:49
阅读次数:
0
一般用法: 1.在XMAL中ContentControl定义一个ContentRegion, 如 <ContentControl prism:RegionManager.RegionName="ContentRegion" /> 2.在XMAL对应的.cs文件构造函数中discovery publi ...
分类:
其他好文 时间:
2021-06-08 23:45:49
阅读次数:
0
#!/bin/bash#echo "vm.swappiness = 0">> /etc/sysctl.confswapoff -a && swapon -asysctl -psystemctl stop firewalld.servicesystemctl disable firewalld.ser ...
分类:
数据库 时间:
2021-06-08 23:43:55
阅读次数:
0
#numpy模块学习 ###前言 Numpy库支持高级大量的维度数组与矩阵运算,Numpy同时也对数组运算提供大量的数学函数,对于大量计算运行效率极好,是大量机器学习框架的基础库 ###常用属性与方法 >>> import numpy as np # 生成行向向量 >>> A = np.array( ...
分类:
其他好文 时间:
2021-06-08 23:42:33
阅读次数:
0
const express = require("express"); //创建服务器 var app = express(); //配置服务器的端口 app.listen(8080); app.get("/login",(req,res)=>{ //普通响应 // res.end("今天天气好晴朗 ...
分类:
Web程序 时间:
2021-06-08 23:39:34
阅读次数:
0
void llvtype(std::string_view k, Value* v) { std::cout << std::format("{}:{}:{}", k, (int)v->getType()->getTypeID(), v->getName().str() ) << "\n"; } . ...
分类:
其他好文 时间:
2021-06-08 23:38:58
阅读次数:
0