EASY TCP/IP : Enc28j60 And Atmega32 : REPLY
this simulate is done if every one need help im ready :lol:
View ArticleBASCOM-AVR : HopeRF RFM24W : REPLY
Dave / Tim, Good luck and that would be GREAT!!!! Regards, Mark
View ArticleEASY TCP/IP : WIZ820io W5200 socketstat unexpected result : REPLY
Partially resolved: switched to xmega128a1 and example runs as expected. m328 SRAM limitations? Would still appreciate if someone could help me locate: Config_MMCSD_HC-W5200.bas...
View ArticleBASCOM-AVR : Const - how to Create a Const and set a default value? : NEWTOPIC
Hello all, I want to set a constant as: Const CommandDoSomething = &H02 But, in addition, I want to set the CommandDoSomething (&H02) with a default Value of &HD4 Is this possible with an...
View ArticleBASCOM-AVR : Const - how to Create a Const and set a default value? : REPLY
Hi Tim, it's not rely clear to me... A Constant is a non editable constant value. You will define it in Sourcecode and this is, what it is... uneditable. If you define Const CommandDoSomething =...
View ArticleBASCOM-AVR : Const - how to Create a Const and set a default value? : REPLY
Hi Six1, Thank you for your response! I agree: [quote:5cac95f1cd]it's not realy clear to me... A Constant is a non editable constant value. You will define it in Sourcecode and this is, what it is......
View ArticleBASCOM-AVR : Const - how to Create a Const and set a default value? : REPLY
Hi Tim, a CONST is stored in programm memory.(ROM or similar) It's value is good known by the compiler! A Variable is inside the variable memory (RAM) It's value can't be known by compiler, because it...
View ArticleBASCOM-AVR : Const - how to Create a Const and set a default value? : REPLY
Hi Six1. I do understand. Bottom line, what they do in that C example is not possible in BASCOM. So be it and confirmed. - again, just looking to be sure that there were no alternatives! Thank you...
View ArticleBASCOM-AVR : Const - how to Create a Const and set a default value? : REPLY
you can not change the value of a constant in C either. why did they name it a constant otherwise? a constant like PI has a fixed value that does not change. i also do not see a CONST in your code. it...
View ArticleBASCOM-AVR : Const - how to Create a Const and set a default value? : REPLY
Hi Tim, maybe your copied code was only part... if there is a "#define" before this: 0x0002 GLOBAL_LOW_BATT_THRESH 0x18 Low battery threshold then the variable "GLOBAL_LOW_BATT_THRESH " will be later...
View ArticleBASCOM-AVR : XRAM + HARD SPI not work!? : NEWTOPIC
Hi everyone! SRAM connected as in the description HELP BASCOM - Adding XRAM to XMEGA using EBI CY7C1049DV33-10 - 512k x 8 [code:1:1e21208090] $regfile = "xm128A1def.dat" $crystal = 2000000 $hwstack =...
View ArticleBASCOM-AVR : XRAM + HARD SPI not work!? : REPLY
it might be a problem of huge ram which uses rampX. check if your xmega.lib contains this code : [code:1:22798b34df] [_XSPI] _SPI2BASE: ;translate the SPI numbers passed in softstack to the base...
View ArticleBASCOM-AVR : XRAM + HARD SPI not work!? : REPLY
Hi Mark! Yes library provides. comment = AVR XMEGA library libversion = 2.0.7.7 date = 21 July 2011 Was as follows: [code:1:b2e24235c2][_XSPI] _SPI2BASE: ;translate the SPI numbers passed in softstack...
View ArticleBASCOM-AVR : Const - how to Create a Const and set a default value? : REPLY
[quote:29bb988eb7="six1"]maybe your copied code was only part... if there is a "#define" before this:[/quote:29bb988eb7] This is no copied code, it is the description of the API interface for Silabs...
View ArticleBASCOM-AVR : Const - how to Create a Const and set a default value? : REPLY
Hello all and thank you for your responses! Please understand that I am absolutely struggling with this C stuff! Always have but hope one day not to - although I run away from it like the plague :? 1....
View ArticleBASCOM-AVR : Const - how to Create a Const and set a default value? : REPLY
You might want to work your way through this: [url]http://community.silabs.com/mgrfq63796/attachments/mgrfq63796/4/894/1/Radio_Header_Migration.pdf[/url] A #define in C does simply text replacement,...
View ArticleBASCOM-AVR : Const - how to Create a Const and set a default value? : REPLY
Thank you MWS. I appreciate your time and the detailed descriptions. I actually did not try the Alias since they are normally used to create an alias to a specific port, not a variable etc. Again,...
View ArticleBASCOM-AVR : Const - how to Create a Const and set a default value? : REPLY
[quote:238d1677fd]really crazy question[/quote:238d1677fd] :) What think about [b:238d1677fd]Macro[/b:238d1677fd]? Macro You can create and name, then use in code. Macro is small but/and don`t have...
View ArticleBASCOM-AVR : Const - how to Create a Const and set a default value? : REPLY
Hi Tim, after reading the AN625 documentation, it clear to me. [code:1:1100fface3] Number Name Default Summary 0x0002 GLOBAL_LOW_BATT_THRESH 0x18 Low battery threshold [/code:1:1100fface3] NUMBER...
View ArticleBASCOM-AVR : Const - how to Create a Const and set a default value? : REPLY
[quote:9233cd66ec="TSEYFARTH"]I actually did not try the Alias since they are normally used to create an alias to a specific port, not a variable etc.[/quote:9233cd66ec] The problem with Alias is,...
View Article