FOR BRAD!!!!
Embed:
(wiki syntax)
Show/hide line numbers
LinearBlend.h
00001 #ifndef LINEARBLEND_H 00002 #define LINEARBLEND_H 00003 00004 #include "mbed.h" 00005 00006 // Define a BaseClass called LinearBlend 00007 class LinearBlend{ 00008 /*********************************************************** 00009 Constructor 00010 ***********************************************************/ 00011 00012 00013 /*********************************************************** 00014 Functions 00015 ***********************************************************/ 00016 public: 00017 LinearBlend(); 00018 void init(float end, float start, int t_blend); 00019 float* blend(float ref[]); 00020 00021 /*********************************************************** 00022 Initialize and Define Variables 00023 ***********************************************************/ 00024 private: 00025 float slope; 00026 int t_blend; 00027 float start; 00028 00029 }; 00030 00031 #endif
Generated on Fri Aug 5 2022 04:52:17 by
1.7.2