|
2011-01-13
, 10:38
|
|
Posts: 1,503 |
Thanked: 2,688 times |
Joined on Oct 2010
@ Denmark
|
#1052
|
if [[ $x -ge 3660 && $x -lt 3800 ]];then
if [ $x -ge 3660 ];then if [ $x -lt 3800 ];then
if [ $x -ge 3660 ];then if [ $x -lt 3800 ];then echo $x | awk '{printf "%1.3fV - %3.1f", $1 / 1000, 15 + ($1 - 3660) / 4}{print "%"}' exit 1 fi;fi
|
2011-01-13
, 10:53
|
|
Posts: 700 |
Thanked: 846 times |
Joined on Nov 2009
|
#1053
|
kind off, used a more basic code "sh", not so elegant but it gets the job done.
Side Question:
why is the sh in the N900 terminal not "advanced" enough to use
as in my new beecon V1.2 i had to useCode:if [[ $x -ge 3660 && $x -lt 3800 ]];then
Code:if [ $x -ge 3660 ];then if [ $x -lt 3800 ];then
The Following User Says Thank You to No!No!No!Yes! For This Useful Post: | ||
|
2011-01-13
, 11:05
|
|
Posts: 1,503 |
Thanked: 2,688 times |
Joined on Oct 2010
@ Denmark
|
#1054
|
|
2011-01-13
, 23:23
|
|
Posts: 1,503 |
Thanked: 2,688 times |
Joined on Oct 2010
@ Denmark
|
#1055
|
exit -1
|
2011-01-14
, 08:58
|
|
Posts: 1,503 |
Thanked: 2,688 times |
Joined on Oct 2010
@ Denmark
|
#1056
|
|
2011-01-14
, 09:28
|
|
Posts: 700 |
Thanked: 846 times |
Joined on Nov 2009
|
#1057
|
|
2011-01-14
, 09:52
|
|
Posts: 1,503 |
Thanked: 2,688 times |
Joined on Oct 2010
@ Denmark
|
#1058
|
|
2011-01-15
, 10:39
|
|
Posts: 820 |
Thanked: 436 times |
Joined on May 2010
@ Portsmouth, UK.
|
#1059
|
|
2011-01-16
, 22:00
|
|
Posts: 77 |
Thanked: 34 times |
Joined on Jan 2011
|
#1060
|
Have a look at Queen BeeCon Widget (WIKI) Customizable and flexible widget-based multi-instance monitoring, alerting and interactive tool for the N900
Please provide comments and feedback for having QBW supported and enhanced further - (DONATE) - v1.3.3devel / v1.3.3testing / v1.3.3extras