Mike Etek Controller

Dependencies:   mbed

Committer:
austinbrown124
Date:
Sat Apr 06 02:16:12 2019 +0000
Revision:
1:94193b31f0ee
first commit

Who changed what in which revision?

UserRevisionLine numberNew contents of line
austinbrown124 1:94193b31f0ee 1 #ifndef INV_CONFIG_H
austinbrown124 1:94193b31f0ee 2 #define INV_CONFIG_H
austinbrown124 1:94193b31f0ee 3
austinbrown124 1:94193b31f0ee 4
austinbrown124 1:94193b31f0ee 5
austinbrown124 1:94193b31f0ee 6 #define I_SCALE 0.02014160156f // Amps per A/D Count
austinbrown124 1:94193b31f0ee 7 #define PWM_ARR 6400
austinbrown124 1:94193b31f0ee 8 //#define PWM_ARR 2560
austinbrown124 1:94193b31f0ee 9 // 1/(.002*1*20*4096/3.3)
austinbrown124 1:94193b31f0ee 10
austinbrown124 1:94193b31f0ee 11
austinbrown124 1:94193b31f0ee 12
austinbrown124 1:94193b31f0ee 13 #endif