Quantcast
Channel: MSP low-power microcontrollers
Viewing all articles
Browse latest Browse all 63713

Forum Post: RE: Storing constants in msp430g2553

$
0
0
The simplest way to do this is to declare constant 5-byte arrays or constant array of 5-byte arrays . const char current[5]={ ... }; const char voltage[5]={ ... }; const char energy[5]={ ... }; ---- or ---- const char all_kinds[25][5]={ ... } where the ... are the values of your constants.

Viewing all articles
Browse latest Browse all 63713

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>