Quantcast
Channel: MCS Electronics Forum
Viewing all articles
Browse latest Browse all 20771

BASCOM-AVR : data problem : REPLY

$
0
0
Hello, The data Statement just writes the following values to Flash without any "structure". As a programmer you'll have to create/define the structure of the Information yourself. In your example you could do something like this:- [code:1:8020688e47] RF_POWER_UP: data 7,&H02, &H01, &H01, &H01, &HC9, &HC3, &H80 RF_GPIO_PIN_CFG: data 7, &H13, &H5C, &H53, &H5B, &H51, &H00, &H00 ...... restore RF_POWER_UP read Nr_Of_Bytes_in_Structure for Data_loop=1 to Nr_Of_Bytes_in_Structure read Data_byte 'Do something with the data read next Data_loop [/code:1:8020688e47] Regards Ian Dobson [/code]

Viewing all articles
Browse latest Browse all 20771

Trending Articles



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