This file contains hidden or 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
//CHÚ Ý: CODE CHUẨN NẰM Ở DÒNG 334, LAB1: pg.335, LAB5 v.1 pg.388, LAB5 v.2 pg.498, LAB6 pg.581 | |
////******************** (C) Yifeng ZHU ******************** | |
//// @file main.c | |
//// @author Yifeng Zhu | |
//// @version V1.0.0 | |
//// @date November-11-2012 | |
//// @note | |
//// @brief C code for STM32L1xx Discovery Kit | |
//// @note | |
//// This code is for the book "Embedded Systems with ARM Cortex-M3 |
This file contains hidden or 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
INCLUDE stm32l1xx_constants.s ; Load Constant Definitions | |
INCLUDE stm32l1xx_tim_constants.s ; TIM Constants | |
AREA main, CODE, READONLY | |
EXPORT __main ; make __main visible to linker | |
ENTRY | |
__main PROC | |
;enable the clock port A | |
BL GPIOA_CLOCK_Enable |
This file contains hidden or 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
/* | |
shiftOut với 8 LED bằng 1 IC HC595 | |
*/ | |
//chân ST_CP của 74HC595 | |
int latchPin = 8; | |
//chân SH_CP của 74HC595 | |
int clockPin = 12; | |
//Chân DS của 74HC595 | |
int dataPin = 11; |
This file contains hidden or 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
if (WiFi.status() == WL_CONNECTED) | |
{ | |
HTTPClient http; | |
http.begin(mcuEndpoint); | |
int httpStatusCode = http.GET(); | |
if (httpStatusCode > 0) | |
{ | |
String payload = http.getString(); | |
int result = payload.toInt(); |
This file contains hidden or 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
#!/bin/bash | |
git init trym | |
cd trym | |
touch README.md | |
git add README.md | |
GIT_AUTHOR_DATE=2020-01-06T12:00:00 GIT_COMMITER_DATE=2020-01-06T12:00:00 git commit --allow-empty -m "Rewriting History!" > /dev/null | |
GIT_AUTHOR_DATE=2020-01-06T12:00:00 GIT_COMMITER_DATE=2020-01-06T12:00:00 git commit --allow-empty -m "Rewriting History!" > /dev/null | |
GIT_AUTHOR_DATE=2020-01-06T12:00:00 GIT_COMMITER_DATE=2020-01-06T12:00:00 git commit --allow-empty -m "Rewriting History!" > /dev/null | |
GIT_AUTHOR_DATE=2020-01-06T12:00:00 GIT_COMMITER_DATE=2020-01-06T12:00:00 git commit --allow-empty -m "Rewriting History!" > /dev/null | |
GIT_AUTHOR_DATE=2020-01-13T12:00:00 GIT_COMMITER_DATE=2020-01-13T12:00:00 git commit --allow-empty -m "Rewriting History!" > /dev/null |
- Các bạn có thể gửi Course đã tải cho mình tại địa chỉ Email: [email protected] để mình có thể chia sẻ cho các thành viên khác. Thanks all!
- Truy cập link https://www.pluralsight.com/offer/2020/free-april-month, đăng kí và xác thực email
This file contains hidden or 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
var createError = require('http-errors'); | |
var express = require('express'); | |
var path = require('path'); | |
var cookieParser = require('cookie-parser'); | |
var logger = require('morgan'); | |
var indexRouter = require('./routes/index'); | |
var usersRouter = require('./routes/users'); | |
var apiRouter = require('./routes/api'); |
This file contains hidden or 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
// Mạch full adder 1 bit | |
module halfadd(a, b, sum, carry); | |
input a, b; | |
output sum, carry; | |
assign sum = a ^ b; | |
assign carry = a & b; | |
endmodule | |
module fulladd(Ain, Bin, Cin, SumOut, CarryOut); |
This file contains hidden or 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
E3f17ca2-547BVwD3-31myrV42 | |
6c2zB8F9-2Q4r1W3A-vCS47I18 | |
3J1G0p9X-XAha8705-L076KFw8 | |
4EuYF381-k2MY8t09-65O9CEj4 | |
83e06DJd-CO4i92T3-14b8rXM6 |
OlderNewer