This file contains 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
// From STC Datasheet | |
//suppose the frequency of test chip is 18.432MHz | |
#include "reg51.h" | |
#include "intrins.h" | |
#define FOSC 18432000L | |
#define BAUD 9600 | |
typedef unsigned char BYTE; |
This file contains 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
# PygLatin Convertor | |
# by Blanboom | |
# 2013-9-13 Programmer's Day | |
# http://www.codecademy.com/zh/tracks/python | |
# Welcome message | |
print "Welcome to PygLatin convertor" | |
# The letters which should be added to the end of the word | |
pyg = 'ay' |
NewerOlder