Hey Guys
I have rewritten a library for the a7015 2.4GHz Chip. My target is to make a library with example for the chip. But there isn't my problem.
I've got stuck in the last piece of the process.
I've got this error message:
my_a7105:11: error: variable or field 'A7105_WriteReg' declared void
my_a7105:11: error: 'Uint8' was not declared in this scope
my_a7105:11: error: 'Uint8' was not declared in this scope
my_a7105:12: error: 'Uint8' does not name a type
my_a7105:13: error: variable or field 'ByteSend' declared void
my_a7105:13: error: 'Uint8' was not declared in this scope
my_a7105:14: error: 'Uint8' does not name a type
my_a7105:15: error: variable or field 'Send4Bit' declared void
my_a7105:15: error: 'Uint8' was not declared in this scope
my_a7105:16: error: variable or field 'StrobeCmd' declared void
my_a7105:16: error: 'Uint8' was not declared in this scope
my_a7105:17: error: variable or field 'A7105_WriteID' declared void
my_a7105:17: error: 'Uint32' was not declared in this scope
my_a7105:18: error: variable or field 'SetCH' declared void
my_a7105:18: error: 'Uint8' was not declared in this scope
my_a7105:20: error: variable or field 'WaitBit_0' declared void
my_a7105:20: error: 'Uint8' was not declared in this scope
my_a7105:20: error: 'Uint8' was not declared in this scope
my_a7105:21: error: variable or field 'SelVCOBand' declared void
my_a7105:21: error: 'Uint8' was not declared in this scope
my_a7105:21: error: 'Uint8' was not declared in this scope
my_a7105:27: error: variable or field 'Swap' declared void
my_a7105:27: error: 'Uint8' was not declared in this scope
my_a7105:27: error: 'Uint8' was not declared in this scope
a7105lib.ino: In function 'void A7105_reset()':
a7105lib:225: error: 'A7105_WriteReg' was not declared in this scope
a7105lib.ino: In function 'void analyse()':
a7105lib:232: error: 'A7105_ReadReg' was not declared in this scope
a7105lib.ino: In function 'void A7105_WriteReg(unsigned char, unsigned char)':
a7105lib:289: error: 'ByteSend' was not declared in this scope
a7105lib.ino: In function 'unsigned char A7105_ReadReg(unsigned char)':
a7105lib:304: error: 'ByteSend' was not declared in this scope
a7105lib:307: error: 'ByteRead' was not declared in this scope
a7105lib.ino: In function 'void A7105_Cal()':
a7105lib:437: error: 'WaitBit_0' was not declared in this scope
a7105lib:471: error: 'SelVCOBand' was not declared in this scope
a7105lib.ino: In function 'void initRF()':
a7105lib:552: error: 'A7105_Reset' was not declared in this scope
i tryedout a few things but it won't work.
I think the error should be that the functions aren't in the right order but idk.
And !!!!!
maybe there are some charachters in unicode because there are a few lines copied from a chinese datasheet
i fixed already some characters and it should be done but maybe there are some left.
The Code is in the attatchment because there are 1k lines
thanks
noscript
my_a7105.zip (4.86 KB)