O v e r v i e w 
 
 - - - - - - - - 
 
 T h e s e   c o d e   f i l e s   p r o v i d e   d r i v e r s   t o   i n t e r f a c e   t o   A D M W 1 0 0 1   P R O   D E V E L O P M E N T   b o a r d   w i t h   N U C L E O - F 4 1 1 R E . 
 
 T h i s   c o d e   w a s   d e v e l o p e d   a n d   t e s t e d   o n   N U C L E O - F 4 1 1 R E   c o n t r o l l e r   b o a r d   h t t p s : / / o s . m b e d . c o m / p l a t f o r m s / S T - N u c l e o - F 4 1 1 R E /   
 
   
 
 P r o d u c t   d e t a i l s :   h t t p s : / / w w w . a n a l o g . c o m / e n / m e a s u r e w a r e / p r o d u c t s / e v - p r o m w 1 0 0 1 a r d z . h t m l 
 
 U s e r   G u i d e   f o r   t h i s   c o d e :   h t t p s : / / e z . a n a l o g . c o m / m e a s u r e w a r e / a d m w 1 0 0 1 - e n v i r o n m e n t a l - c o n d i t i o n - m o n i t o r i n g / w / d o c u m e n t s / 1 5 1 0 8 / a d m w 1 0 0 1 - p r o g r a m m e r s - g u i d e 
 
   
 
   
 
 H a r d w a r e   S e t u p 
 
 - - - - - - - - - - - - - - 
 
 R e q u i r e d :   A D M W 1 0 0 1   P R O - D E V E L O P M E N T   b o a r d   a n d   S T   N U C L E O - F 4 1 1 R E 
 
 U S B   c a b l e . 
 
 P l u g i n   t h e   A D M W 1 0 0 1   P R O - D E V E L O P M E N T   b o a r d   o n t o   t h e   A r d u i n o   h e a d e r s   o f   S T   N U C L E O - F 4 1 1 
 
 C o n n e c t   S T   N U C L E O - F 4 1 1   b o a r d   t o   t h e   P C   u s i n g   t h e   U S B   c a b l e . 
 
   
 
   
 
 H o w   t o   G e t   S t a r t e d 
 
 - - - - - - - - - - - - - - - - - - 
 
 O p e n   M b e d   o n l i n e   c o m p i l e r .   h t t p s : / / i d e . m b e d . c o m / c o m p i l e r 
 
 I m p o r t   C o d e   i n t o   c o m p i l e r   f r o m   h e r e :   h t t p s : / / o s . m b e d . c o m / t e a m s / A n a l o g D e v i c e s / c o d e / E V - P R O - M W 1 0 0 1 / 
 
 i n s t r u c t i o n s   o n   h o w   t o   i m p o r t   c o d e   a r e   h e r e :   h t t p s : / / o s . m b e d . c o m / d o c s / m b e d - o s / v 5 . 1 2 / t o o l s / i m p o r t i n g - c o d e . h t m l 
 
 C o m p i l e   c o d e .   D r a g   a n d   d r o p   b i n a r y   i n t o   N U C L E O - F 4 1 1 R E   c o n t r o l l e r   b o a r d .   F i n d   d e t a i l e d   
 
 i n s t r u c t i o n s   h e r e :   h t t p s : / / o s . m b e d . c o m / d o c s / m b e d - o s / v 5 . 1 2 / t o o l s / g e t t i n g - y o u r - p r o g r a m - o n - y o u r - b o a r d . h t m l 
 
 O p e n   T e r a   T e r m   ( o r   a l t e r n a t i v e ) ,   s e l e c t   1 1 5 2 0 0   b a u d   r a t e ,   a n d   t h e   a p p l i c a b l e   C O M   
 
 p o r t   t o   s e e   t h e   l i s t   o f   o p t i o n s . 
 
   
 
   
 
 N o t e s 
 
 - - - - - 
 
 I f   u s i n g   W i n   7 ,   i n s t a l l   s e r i a l   d r i v e r s   f o r   M b e d .   h t t p s : / / o s . m b e d . c o m / d o c s / m b e d - o s / v 5 . 1 2 / t u t o r i a l s / w i n d o w s - s e r i a l - d r i v e r . h t m l 
 
   
 
 
 
 L i c e n s e 
 
 - - - - - - - 
 
 C o p y r i g h t   ( c )   2 0 1 9   A n a l o g   D e v i c e s ,   I n c .     A l l   r i g h t s   r e s e r v e d . 
 
   
 
 A n a l o g   D e v i c e s ,   I n c .   ( A D I ) 
 
 S o u r c e   C o d e   S o f t w a r e   L i c e n s e   A g r e e m e n t 
 
 2 0 1 9 0 9 0 9 - A D M W M D F - C T S L A 
 
 B E F O R E   Y O U   S E L E C T   T H E   " I   A C C E P T "   B U T T O N   A T   T H E   B O T T O M   O F   T H I S   W I N D O W ,   C A R E F U L L Y   R E A D   T H E   T E R M S   A N D   C O N D I T I O N S   S E T   F O R T H   B E L O W .     B Y   S E L E C T I N G   T H E   I   A C C E P T   B U T T O N   B E L O W ,   O R   D O W N L O A D I N G ,   R E P R O D U C I N G ,   D I S T R I B U T I N G   O R   O T H E R W I S E   U S I N G   T H E   S O F T W A R E ,   Y O U   A G R E E   T O   B E   B O U N D   B Y   T H E   T E R M S   A N D   C O N D I T I O N S   S E T   F O R T H   B E L O W .     I F   Y O U   D O   N O T   A G R E E   T O   A L L   O F   T H E   T E R M S   A N D   C O N D I T I O N S ,   S E L E C T   T H E   ' I   D O   N O T   A C C E P T '   B U T T O N   A N D   Y O U   M U S T   N O T   D O W N L O A D ,   I N S T A L L   O R   O T H E R W I S E   U S E   T H E   S O F T W A R E . 
 
 
 
 D O W N L O A D I N G ,   R E P R O D U C I N G ,   D I S T R I B U T I N G   O R   O T H E R W I S E   U S I N G   T H E   S O F T W A R E   C O N S T I T U T E S   A C C E P T A N C E   O F   T H I S   L I C E N S E .     T H E   S O F T W A R E   M A Y   N O T   B E   U S E D   E X C E P T   A S   E X P R E S S L Y   A U T H O R I Z E D   U N D E R   T H I S   L I C E N S E .   
 
 
 
 T h e   s o f t w a r e   i s   p r o t e c t e d   b y   c o p y r i g h t   l a w   a n d   i n t e r n a t i o n a l   c o p y r i g h t   t r e a t i e s .     
 
 
 
 1 .   L i c e n s e :     S u b j e c t   t o   t h e   t e r m s   a n d   c o n d i t i o n s   o f   t h i s   l i c e n s e ,   t h e   s o f t w a r e   m a y   b e   r e p r o d u c e d ,   m o d i f i e d   a n d   d i s t r i b u t e d   i n   s o u r c e   c o d e   a n d   o b j e c t   c o d e   f o r m . 
 
 
 
 2 .   C o n d i t i o n s :   
 
 ( a )   A n y   d i s t r i b u t i o n   o f   t h e   s o f t w a r e   m u s t   i n c l u d e   a   c o m p l e t e   c o p y   o f   t h i s   l i c e n s e   a n d   r e t a i n   a l l   c o p y r i g h t   a n d   o t h e r   p r o p r i e t a r y   n o t i c e s .     T h e   s o f t w a r e   t h a t   i s   d i s t r i b u t e d   ( i n c l u d i n g   m o d i f i e d   v e r s i o n s   o f   t h e   s o f t w a r e )   s h a l l   b e   s u b j e c t   t o   t h e   t e r m s   a n d   c o n d i t i o n s   o f   t h i s   l i c e n s e .     
 
 ( b )   T h e   s o f t w a r e   m a y   n o t   b e   c o m b i n e d   o r   m e r g e d   w i t h   o t h e r   s o f t w a r e   i n   a n y   m a n n e r   t h a t   w o u l d   c a u s e   t h e   s o f t w a r e   t o   b e c o m e   s u b j e c t   t o   t e r m s   a n d   c o n d i t i o n s   w h i c h   d i f f e r   f r o m   t h o s e   o f   t h i s   l i c e n s e . 
 
 ( c )   L i c e n s e e   s h a l l   n o t   u s e   t h e   n a m e   o r   a n y   t r a d e m a r k   o f   A D I   ( i n c l u d i n g   t h o s e   o f   i t s   l i c e n s o r s )   o r   a n y   c o n t r i b u t o r   t o   e n d o r s e   o r   p r o m o t e   p r o d u c t s   w i t h o u t   p r i o r   w r i t t e n   c o n s e n t   o f   t h e   o w n e r   o f   t h e   n a m e   o r   t r a d e m a r k .     T h e   t e r m   c o n t r i b u t o r   m e a n s   a n y   p e r s o n   o r   e n t i t y   t h a t   m o d i f i e s   o r   d i s t r i b u t e s   t h e   s o f t w a r e .     
 
 ( d )   M o d i f i e d   v e r s i o n s   o f   t h e   S o f t w a r e   m u s t   b e   c o n s p i c u o u s l y   m a r k e d   a s   s u c h . 
 
 ( e )   U s e   o f   t h e   s o f t w a r e   m a y   o r   m a y   n o t   i n f r i n g e   p a t e n t   r i g h t s   o f   o n e   o r   m o r e   p a t e n t   h o l d e r s .   T h i s   l i c e n s e   d o e s   n o t   a l l e v i a t e   t h e   o b l i g a t i o n   t o   o b t a i n   s e p a r a t e   l i c e n s e s   f r o m   p a t e n t   h o l d e r s   t o   u s e   t h e   s o f t w a r e . 
 
 ( f )   A l l   r i g h t s   n o t   e x p r e s s l y   g r a n t e d   h e r e u n d e r   a r e   r e s e r v e d .     
 
 ( g )   T h i s   l i c e n s e   s h a l l   b e   g o v e r n e d   b y   t h e   l a w s   o f   M a s s a c h u s e t t s ,   w i t h o u t   r e g a r d   t o   i t s   c o n f l i c t   o f   l a w s   r u l e s .     T h e   s o f t w a r e   s h a l l   o n l y   b e   u s e d   i n   c o m p l i a n c e   w i t h   a l l   a p p l i c a b l e   l a w s   a n d   r e g u l a t i o n s ,   i n c l u d i n g   w i t h o u t   l i m i t a t i o n   e x p o r t   c o n t r o l   l a w s .     
 
 
 
 3 .   W A R R A N T Y   D I S C L A I M E R :   T H E   S O F T W A R E   A N D   A N Y   R E L A T E D   I N F O R M A T I O N   A N D / O R   A D V I C E   I S   P R O V I D E D   O N   A N   A S   I S   B A S I S ,   W I T H O U T   R E P R E S E N T A T I O N S ,   G U A R A N T E E S   O R   W A R R A N T I E S   O F   A N Y   K I N D ,   E X P R E S S   O R   I M P L I E D ,   O R A L   O R   W R I T T E N ,   I N C L U D I N G   W I T H O U T   L I M I T A T I O N ,   W A R R A N T I E S   O F   M E R C H A N T A B I L I T Y ,   F I T N E S S   F O R   A   P A R T I C U L A R   P U R P O S E ,   T I T L E   A N D   N O N - I N F R I N G E M E N T .   T h e r e   i s   n o   o b l i g a t i o n   t o   p r o v i d e   s o f t w a r e   s u p p o r t   o r   u p d a t e s .     T h e   S o f t w a r e   i s   n o t   f a u l t - t o l e r a n t   a n d   i s   n o t   i n t e n d e d   f o r   u s e   i n   h i g h   r i s k   a p p l i c a t i o n s ,   i n c l u d i n g   w i t h o u t   l i m i t a t i o n   i n   t h e   o p e r a t i o n   o f   n u c l e a r   f a c i l i t i e s ,   a i r c r a f t   n a v i g a t i o n   o r   c o n t r o l   s y s t e m s ,   a i r   t r a f f i c   c o n t r o l ,   l i f e   s u p p o r t   m a c h i n e s ,   w e a p o n s   s y s t e m s ,   a u t o n o m o u s   d r i v i n g   o r   o t h e r   s a f e t y   c r i t i c a l   a u t o m o t i v e   a p p l i c a t i o n s ,   o r   a n y   o t h e r   a p p l i c a t i o n   i n   w h i c h   t h e   f a i l u r e   o f   t h e   s o f t w a r e   c o u l d   l e a d   t o   d e a t h ,   p e r s o n a l   i n j u r y ,   o r   s e v e r e   p h y s i c a l   o r   e n v i r o n m e n t a l   d a m a g e s .     T h e   s o f t w a r e   i s   n o t   a u t h o r i z e d   t o   b e   u s e d   u n d e r   s u c h   c i r c u m s t a n c e s . 
 
 
 
 4 .   L I M I T A T I O N   O F   L I A B I L I T Y :   T O   T H E   M A X I M U M   E X T E N T   P E R M I T T E D   B Y   L A W   A D I   ( I N C L U D I N G   I T S   L I C E N S O R S )   A N D   C O N T R I B U T O R S   S H A L L   N O T   B E   L I A B L E   F O R   A N Y   D A M A G E S   A R I S I N G   F R O M   O R   R E L A T E D   T O   T H E   S O F T W A R E ,   I T S   U S E   O R   A N Y   R E L A T E D   I N F O R M A T I O N   A N D / O R   S E R V I C E S ,   I N C L U D I N G   B U T   N O T   L I M I T E D   T O   A N Y   D I R E C T ,   I N D I R E C T ,   I N C I D E N T A L ,   S P E C I A L ,   P U N I T I V E ,   E X E M P L A R Y ,   C O N S E Q U E N T I A L   O R   A N A L O G O U S   D A M A G E S   ( I N C L U D I N G   W I T H O U T   L I M I T A T I O N   A N Y   D A M A G E S   R E S U L T I N G   F R O M   L O S S   O F   U S E ,   D A T A ,   R E V E N U E ,   P R O F I T S ,   O R   S A V I N G S ,   C O M P U T E R   D A M A G E   O R   A N Y   O T H E R   C A U S E ) ,   U N D E R   A N Y   L E G A L   T H E O R Y   ( I N C L U D I N G   W I T H O U T   L I M I T A T I O N   C O N T R A C T ,   W A R R A N T Y ,   T O R T ,   N E G L I G E N C E ,   S T R I C T   O R   P R O D U C T   L I A B I L I T Y ) ,   E V E N   I F   I T   H A S   B E E N   I N F O R M E D   O F   T H E   P O S S I B I L I T Y   O F   S U C H   D A M A G E S .     S o m e   j u r i s d i c t i o n s   d o   n o t   p e r m i t   t h e   e x c l u s i o n   o r   l i m i t a t i o n   o f   l i a b i l i t y   f o r   c o n s e q u e n t i a l ,   i n c i d e n t a l   o r   o t h e r   d a m a g e s ,   a n d ,   a s   s u c h ,   s o m e   p o r t i o n   o f   t h e   a b o v e   l i m i t a t i o n   m a y   n o t   a p p l y .     I n   s u c h   j u r i s d i c t i o n s ,   l i a b i l i t y   i s   l i m i t e d   t o   t h e   g r e a t e s t   e x t e n t   p e r m i t t e d   b y   l a w . 
 
 5 .     T h i r d   P a r t y   S o f t w a r e :     T h e   s o f t w a r e   m a y   b e   a c c o m p a n i e d   b y   o r   i n c l u d e   s o f t w a r e   m a d e   a v a i l a b l e   b y   o n e   o r   m o r e   t h i r d   p a r t i e s   ( T h i r d   P a r t y   S o f t w a r e ) .     E a c h   p o r t i o n   o f   T h i r d   P a r t y   S o f t w a r e   i s   s u b j e c t   t o   i t s   o w n   s e p a r a t e   s o f t w a r e   l i c e n s e   t e r m s   a n d   c o n d i t i o n s   ( T h i r d   P a r t y   L i c e n s e s ) .     T h e   T h i r d   P a r t y   L i c e n s e s   f o r   T h i r d   P a r t y   S o f t w a r e   d e l i v e r e d   w i t h   t h e   s o f t w a r e   a r e   s e t   f o r t h   o r   i d e n t i f i e d   ( b y   u r l   o r   o t h e r w i s e )   i n   ( i )   A p p e n d i x   A   t o   t h i s   l i c e n s e   ( i f   a n y ) ,   ( i i )   t h e   a p p l i c a b l e   s o f t w a r e   h e a d e r   o r   f o o t e r   t e x t ,   ( i i i )   a   t e x t   f i l e   l o c a t e d   i n   t h e   d i r e c t o r y   o f   t h e   a p p l i c a b l e   T h i r d   P a r t y   S o f t w a r e   c o m p o n e n t   a n d / o r   ( i v )   s u c h   o t h e r   l o c a t i o n   c u s t o m a r i l y   u s e d   f o r   l i c e n s i n g   t e r m s .   T h e   u s e   o f   e a c h   p o r t i o n   o f   T h i r d   P a r t y   S o f t w a r e   i s   s u b j e c t   t o   t h e   T h i r d   P a r t y   L i c e n s e s ,   a n d   y o u   a g r e e   t h a t   y o u r   u s e   o f   a n y   T h i r d   P a r t y   S o f t w a r e   i s   b o u n d   b y   t h e   a p p l i c a b l e   T h i r d   P a r t y   L i c e n s e .     Y o u   a g r e e   t o   r e v i e w   a n d   c o m p l y   w i t h   a l l   a p p l i c a b l e   T h i r d   P a r t y   L i c e n s e s   p r i o r   t o   a n y   u s e   o r   d i s t r i b u t i o n   o f   a n y   T h i r d   P a r t y   S o f t w a r e .     T h i r d   P a r t y   S o f t w a r e   i s   p r o v i d e d   o n   a n   a s   i s   b a s i s   w i t h o u t   a n y   r e p r e s e n t a t i o n ,   w a r r a n t y   o r   l i a b i l i t y   o f   a n y   k i n d .     A D I   ( i n c l u d i n g   i t s   l i c e n s o r s )   a n d   c o n t r i b u t o r s   s h a l l   h a v e   n o   l i a b i l i t y   o r   r e s p o n s i b i l i t y   f o r   t h e   o p e r a t i o n   o r   p e r f o r m a n c e   o f   t h e   T h i r d   P a r t y   S o f t w a r e   a n d   s h a l l   n o t   b e   l i a b l e   f o r   a n y   d a m a g e s ,   c o s t s ,   o r   e x p e n s e s ,   d i r e c t   o r   i n d i r e c t ,   a r i s i n g   o u t   o f   t h e   p e r f o r m a n c e   o r   f a i l u r e   t o   p e r f o r m   o f   t h e   T h i r d   P a r t y   S o f t w a r e .     A D I   ( i n c l u d i n g   i t s   l i c e n s o r s )   a n d   c o n t r i b u t o r s   s h a l l   b e   e n t i t l e d   t o   t h e   b e n e f i t   o f   a n y   a n d   a l l   l i m i t a t i o n s   o f   l i a b i l i t y   a n d   d i s c l a i m e r s   o f   w a r r a n t i e s   c o n t a i n e d   i n   t h e   T h i r d   P a r t y   L i c e n s e s .   F o r   t h e   a v o i d a n c e   o f   d o u b t ,   t h i s   l i c e n s e   d o e s   n o t   a l t e r ,   l i m i t   o r   e x p a n d   t h e   t e r m s   a n d   c o n d i t i o n s   o f ,   o r   r i g h t s   g r a n t e d   t o   y o u   p u r s u a n t   t o ,   T h i r d   P a r t y   L i c e n s e s .     
 
 
 
 A p p e n d i x   A     T h i r d   P a r t y   L i c e n s e 
 
 
 
 C r c 1 6   f u n c t i o n   s o u r c e   c o d e 
 
 
 
 D o w n l o a d   p a g e :   h t t p s : / / w w w . m e n i e . o r g / g e o r g e s / e m b e d d e d / c r c 1 6 . h t m l 
 
 O n l i n e   l i c e n s e :   N o   s e p a r a t e   o n l i n e   l i c e n s e .     L i c e n s e   t e x t   b e l o w   a s   e x t r a c t e d   f r o m   s o u r c e   f i l e s . 
 
 / * 	 
 
   *   C o p y r i g h t   2 0 0 1 - 2 0 1 0   G e o r g e s   M e n i e   ( w w w . m e n i e . o r g ) 
 
   *   A l l   r i g h t s   r e s e r v e d . 
 
   *   R e d i s t r i b u t i o n   a n d   u s e   i n   s o u r c e   a n d   b i n a r y   f o r m s ,   w i t h   o r   w i t h o u t   m o d i f i c a t i o n ,   a r e   p e r m i t t e d   p r o v i d e d   t h a t   t h e   f o l l o w i n g   c o n d i t i o n s   a r e   m e t : 
 
   *   R e d i s t r i b u t i o n s   o f   s o u r c e   c o d e   m u s t   r e t a i n   t h e   a b o v e   c o p y r i g h t   n o t i c e ,   t h i s   l i s t   o f   c o n d i t i o n s   a n d   t h e   f o l l o w i n g   d i s c l a i m e r . 
 
   *     R e d i s t r i b u t i o n s   i n   b i n a r y   f o r m   m u s t   r e p r o d u c e   t h e   a b o v e   c o p y r i g h t   n o t i c e ,   t h i s   l i s t   o f   c o n d i t i o n s   a n d   t h e   f o l l o w i n g   d i s c l a i m e r   i n   t h e   d o c u m e n t a t i o n   a n d / o r   o t h e r   m a t e r i a l s   p r o v i d e d   w i t h   t h e   d i s t r i b u t i o n . 
 
   *   N e i t h e r   t h e   n a m e   o f   t h e   U n i v e r s i t y   o f   C a l i f o r n i a ,   B e r k e l e y   n o r   t h e   n a m e s   o f   i t s   c o n t r i b u t o r s   m a y   b e   u s e d   t o   e n d o r s e   o r   p r o m o t e   p r o d u c t s   d e r i v e d   f r o m   t h i s   s o f t w a r e   w i t h o u t   s p e c i f i c   p r i o r   w r i t t e n   p e r m i s s i o n . 
 
 T H I S   S O F T W A R E   I S   P R O V I D E D   B Y   T H E   R E G E N T S   A N D   C O N T R I B U T O R S   ` ` A S   I S ' '   A N D   A N Y   E X P R E S S   O R   I M P L I E D   W A R R A N T I E S ,   I N C L U D I N G ,   B U T   N O T   L I M I T E D   T O ,   T H E   I M P L I E D   W A R R A N T I E S   O F   M E R C H A N T A B I L I T Y   A N D   F I T N E S S   F O R   A   P A R T I C U L A R   P U R P O S E   A R E   D I S C L A I M E D .   I N   N O   E V E N T   S H A L L   T H E   R E G E N T S   A N D   C O N T R I B U T O R S   B E   L I A B L E   F O R   A N Y   D I R E C T ,   I N D I R E C T ,   I N C I D E N T A L ,   S P E C I A L ,   E X E M P L A R Y ,   O R   C O N S E Q U E N T I A L   D A M A G E S   ( I N C L U D I N G ,   B U T   N O T   L I M I T E D   T O ,   P R O C U R E M E N T   O F   S U B S T I T U T E   G O O D S   O R   S E R V I C E S ;   L O S S   O F   U S E ,   D A T A ,   O R   P R O F I T S ;   O R   B U S I N E S S   I N T E R R U P T I O N )   H O W E V E R   C A U S E D   A N D   O N   A N Y   T H E O R Y   O F   L I A B I L I T Y ,   W H E T H E R   I N   C O N T R A C T ,   S T R I C T   L I A B I L I T Y ,   O R   T O R T   ( I N C L U D I N G   N E G L I G E N C E   O R   O T H E R W I S E )   A R I S I N G   I N   A N Y   W A Y   O U T   O F   T H E   U S E   O F   T H I S   S O F T W A R E ,   E V E N   I F   A D V I S E D   O F   T H E   P O S S I B I L I T Y   O F   S U C H   D A M A G E . 
 
   * / 
 
 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 
 
 
 
 
 
 2 0 1 9 0 9 0 9 - A D M W M D F - C T S L A 
 
 
 
 
 
 
 
 
