
sigurdk
-
Content Count
3 -
Joined
-
Last visited
Posts posted by sigurdk
-
-
I tried Try powf(), as suggested and that solved my problem!
Thank you very much
KJ1K, Sigurd
-
I am trying to port an arduino project to energia.
I use the pow( base, exponent) function in calculations to compute Standing Wave Ratio (SWR).
I have a function swr that is called from loop. Works fine on arduino, but on energia I get the following load output: (notice "ld returned 1 exit status")
\energia-0101E0014\hardware\tools\msp430\bin\msp430-gcc, -Os, -Wl,-gc-sections,-u,main, -mmcu=msp430f5529, -o, C:\DOCUME~1\sigurd\LOCALS~1\Temp\build5374206321071163191.tmp\LCD_Sharp_v3.cpp.elf, C:\DOCUME~1\sigurd\LOCALS~1\Temp\build5374206321071163191.tmp\LCD_Sharp_v3.cpp.o, C:\DOCUME~1\sigurd\LOCALS~1\Temp\build5374206321071163191.tmp\SPI\SPI.cpp.o, C:\DOCUME~1\sigurd\LOCALS~1\Temp\build5374206321071163191.tmp\SPI\utility\eusci_spi.cpp.o, C:\DOCUME~1\sigurd\LOCALS~1\Temp\build5374206321071163191.tmp\SPI\utility\usci_spi.cpp.o, C:\DOCUME~1\sigurd\LOCALS~1\Temp\build5374206321071163191.tmp\SPI\utility\usi_spi.cpp.o, C:\DOCUME~1\sigurd\LOCALS~1\Temp\build5374206321071163191.tmp\LCD_SharpBoosterPack_SPI\LCD_SharpBoosterPack_SPI.cpp.o, C:\DOCUME~1\sigurd\LOCALS~1\Temp\build5374206321071163191.tmp\core.a, -LC:\DOCUME~1\sigurd\LOCALS~1\Temp\build5374206321071163191.tmp, -lm]LCD_Sharp_v3.cpp.o: In function `swr(int, int)':LCD_Sharp_v3.cpp:(.text._Z3swrii+0x5a): undefined reference to `pow'collect2: ld returned 1 exit statusI copied the same code to "setup" and it runs fine there.Any suggestions?Thank you, Sigurd KJ1k
BOOSTXL-SHARP128 with MSP-EXP430FR5969
in Energia - MSP
Posted
I also am trying LCD_SharpBoosterPack_SPI.cppSharp128 booster pack errorssharp128.inoLCD_SharpBoosterPack_SPI.hw/o succss to use the Sharp128 LCD. Had no problem with the Sharp96 LCD, but that is no longer available. Just want to do the same thing with the Sharp128
I am a novice 81 year old, not likely to become an expert any time soon.
Any help would be appreciated.
Sigurd, amateur radio KJ1K