![]() | ![]() | ![]() |
| | |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| hi, I know if i want to declare 2 byte and 4 byte variables, i could use int8 a; int32 b; however, if i want to declare 3-byte variable, how to do it? is int8 a[3]; the only way? | |
| |
| | (permalink) |
| yea. guess using array is the only way computer process data in either 8,16, or 32 bits however, if you have lots of RAM left in your PIC, you could just define it as int32. | |
| |