blob: 9fcc7bedcf8871ffa400ea6ff3740bbfe26348eb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
//example 13.2//
clc
//clears the screen//
clear
//clears all existing variables//
mi=125;
//minimum time period in ns//
ma=100
//maximum time period in ms//
f=1000/mi;
//frequency in MHz//
disp(f,'frequency of microcontroller (in MHz) = ')
|