Hello,
Please excuse my asking about what I suspect has a very simple solution.
I have 2 images; Imageview1 shows up as LED_Off.png by default. During operation, if a certain thing happens, Imageview should change over to Red_LED_ON.png, stay for 2 seconds, and then revert back to LED_off.png.
How exactly would I go about this? Whatever rudimentary (and idotic, I'm sure) things I tried, dont seem to wrk.
In effect, this is what I want:
If code has reached this point:
ImageView1.Bitmap=LoadBitmap(File.DirAssets,"Red_LED_ON.png")
Pause 2 seconds
ImageView1.Bitmap=LoadBitmap(File.DirAssets,"LED_Off.png")
So, how do I achieve the 2 seconds delay? I tried to make sense of timer, callsubdelayed, callsubplus and am nowhere closer to sorting it out.
Please excuse my asking about what I suspect has a very simple solution.
I have 2 images; Imageview1 shows up as LED_Off.png by default. During operation, if a certain thing happens, Imageview should change over to Red_LED_ON.png, stay for 2 seconds, and then revert back to LED_off.png.
How exactly would I go about this? Whatever rudimentary (and idotic, I'm sure) things I tried, dont seem to wrk.
In effect, this is what I want:
If code has reached this point:
ImageView1.Bitmap=LoadBitmap(File.DirAssets,"Red_LED_ON.png")
Pause 2 seconds
ImageView1.Bitmap=LoadBitmap(File.DirAssets,"LED_Off.png")
So, how do I achieve the 2 seconds delay? I tried to make sense of timer, callsubdelayed, callsubplus and am nowhere closer to sorting it out.