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
| #Visualize the closing price history | |
| import matplotlib.pyplot as plt | |
| plt.figure(figsize = (16,8)) | |
| plt.title('Close Price History', fontsize = 18) | |
| plt.plot(intc['Adj Close']) | |
| plt.plot(amd['Adj Close']) | |
| plt.legend(['INTC', 'AMD'], loc = 'upper left', fontsize = 18) | |
| plt.xlabel('Date', fontsize = 18) | |
| plt.ylabel('Close Price USD ($)', fontsize = 18) |
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 <SoftwareSerial.h> | |
| #define RxD 7 | |
| #define TxD 6 | |
| SoftwareSerial BlueToothSerial(RxD,TxD); | |
| char flag=1; | |
| void Test_BlueTooth() | |
| { | |
| unsigned char t=0; |
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
| /* | |
| Original code by Nick Brenn | |
| Modified by Marc de Vinck | |
| Make Projects Arduino-based 4WD robot | |
| http://makeprojects.com/Project/Build-your-own-Arduino-Controlled-Robot-/577/1 | |
| */ | |
| #include <AFMotor.h> | |
| AF_DCMotor motor1(1, MOTOR12_8KHZ); | |
| AF_DCMotor motor2(2, MOTOR12_8KHZ); | |
| AF_DCMotor motor3(3, MOTOR12_1KHZ); |