Search Results

Search: Posts Made By: wisecracker
Forum: Programming 1 Hour Ago
183
Posted By Neo
Success! Push a button on the iPhone and...
Success!

Push a button on the iPhone and send a BLE bluetooth message to the Arduino UNO who forwards the request to a remote server via a commercial NB-IoT network; where the server parses the...
Forum: Shell Programming and Scripting 17 Hours Ago
156
Posted By nezabudka
It’s interesting that on "zsh" it works
It’s interesting that on "zsh" it works
Forum: Shell Programming and Scripting 18 Hours Ago
156
Posted By nezabudka
This is how it will be without "eval" $( :...
This is how it will be without "eval"
$( : ${path%/*} && echo ${_##*/} )
that would be without "echo" :)
Forum: Programming 18 Hours Ago
183
Posted By Neo
Update: I have all the serial ports working...
Update:

I have all the serial ports working together now.

The "conflict" was solved by moving the BLE pins from my original ArdunioBlue example sketch from (8,7) to (7,6):

// The bluetooth...
Forum: Programming 19 Hours Ago
183
Posted By Neo
Notes: AltSoftSerial uses these pins on the...
Notes:

AltSoftSerial uses these pins on the Arduino UNO, according to AltSoftSerial_Boards.h (included with the AIS NB-IoT libs):

// Arduino Uno, Duemilanove, LilyPad, etc
//
#elif...
Forum: Shell Programming and Scripting 20 Hours Ago
156
Posted By nezabudka
Hi @wisecracker I think this is the same...
Hi @wisecracker
I think this is the same option. Change a little and it will be quite practical
: ${path%/*} && echo ${_##*/}
but it’s just not convenient to pass this parameter on
Forum: Programming 20 Hours Ago
183
Posted By Neo
Arduino Project: iPhone to HM-10 BLE to NB-IoT Shield to NB-IoT Network to Internet to Linux Server
This post describes a "work in progress" project I started today. Here is the High Level Overview:

8063



Currently, this project sits on my desk as an Arduino UNO (on the bottom), an...
Forum: Programming 2 Days Ago
366
Posted By Neo
Update and Issues: Having some problems with...
Update and Issues:

Having some problems with the ArdunioBlue (https://sites.google.com/stonybrook.edu/arduinoble/#h.p_Wf5FtzfPYJ9i) IOS app because I cannot find any method / sketch to send data...
Forum: Programming 3 Days Ago
366
Posted By Neo
To test Arduino BLE on the iPhone (my trusty 6S),...
To test Arduino BLE on the iPhone (my trusty 6S), I installed and tried a number of Arduino BLE apps from the Apple store, including these five apps:


BLE 101
LightBlue
ArduinoBlue
Blynk
...
Forum: Programming 3 Days Ago
366
Posted By Neo
Basic Arduino UNO Bluetooth Testing with the BLE 4.0 (CC2541, MLT-BT04 IC)
Here is a sketch to do basic testing for the Arduino UNO and the MLT-BT04.

This BLE module works with IOS (iPhone) and I'll add some details on my IOS testing with an iPhone in a follow-up post.
...
Forum: What is on Your Mind? 5 Days Ago
418
Posted By Scrutinizer
Congratulations Victor and Ravinder! Well and...
Congratulations Victor and Ravinder! Well and truly earned, both of you in different, valuable ways. Thank you for your contributions!
Forum: What is on Your Mind? 5 Days Ago
418
Posted By Neo
Moderators of the Year 2019 - Ravinder Singh and Victor Berridge
Today, I am very pleased to announce that the Moderator of the Year Award, 2019 has two very deserving winners.

Ravinder Singh (RavinderSingh13) and Victor Berridge (vbe)

Victor (vbe) has...
Forum: Hardware 1 Week Ago
301
Posted By Neo
Arduino Robot Tank Project
Normally I'm not into kits, but I thought my wife would enjoy this one since she is a big fan of robots and droids on StarWars!

We are done with the basic mechanical assembly and starting on the...
223
Posted By sea
YASSI - Yet Another Simple Script Installer (2020 edition)
Heyas

As someone said he'd like to see some more projects posts on the forum, so, here's one I hope is ready.
Not so much fun-fun, but practical ;)
I hope...

So, you have that small non-arch...
Forum: OS X (Apple) 1 Week Ago
433
Posted By Neo
Good to know. Thanks for the feedback. That...
Good to know. Thanks for the feedback.

That has been one of my #1 objectives, since forming the site for users, decades ago.
Forum: OS X (Apple) 1 Week Ago
433
Posted By sea
Sorry for this beeing an off-topic quote but I...
Sorry for this beeing an off-topic quote but I never had the feeling that this forum was for elitists only.
Well, at least not back in 2016 up to my last activity here.

When I had joined the...
Forum: OS X (Apple) 1 Week Ago
433
Posted By Neo
Thanks so much for posting these kinds of...
Thanks so much for posting these kinds of projects. I wish everyone would do this, regardless of their skill level. Sharing is the operative word these days.

On a similar note:

In 2020, I...
385
Posted By RudiC
Or printf "%s%0*d\n" ${X} $((9-${#X})) 0 ...
Or
printf "%s%0*d\n" ${X} $((9-${#X})) 0
245700000
printf "%s%0$((9-${#X}))d\n" ${X}
245700000
385
Posted By Aia
One way in Bash could be: n=$(printf "%-9s"...
One way in Bash could be:
n=$(printf "%-9s" 2457)
printf "%s\n" ${n// /0}
245700000
Forum: Shell Programming and Scripting 2 Weeks Ago
531
Posted By RudiC
Nice approach indeed! Could be curtailed to ...
Nice approach indeed!
Could be curtailed to
sed -r "/'($(paste -sd\| file2))'/s/^C//" file1, including the item list file as well.
Forum: Shell Programming and Scripting 2 Weeks Ago
531
Posted By rbatte1
One line sed option
How about using a single line sed like this:-sed "s/^C\( CALL.*'\(Gmax\|Gmin\|HS10\|HS2\|HS9\|Hmax\)'.*\)/\1/" source_file_name > target_file_name

It's a little messy to read, so:-

The s...
599
Posted By rbatte1
I'd be very worried by this approach. You are...
I'd be very worried by this approach. You are inviting someone to put something dangerous in a file and mentioning that as a parameter and then you will call/run that unrestricted code to control...
Forum: What is on Your Mind? 3 Weeks Ago
159
Posted By RavinderSingh13
Happy New Year 2020 to all :)
Hello All,

I would like to wish A very Happy New Year 2020 to all. May GOD bless all of us with TRUE knowledge, wisdom, great attitude, honesty, hard working capability, great health :b:

Cheers...
900
Posted By Aia
Print count of case insensitive pattern /it/ ...
Print count of case insensitive pattern /it/
echo "It was the best of times, it was the worst of times, it was the age of wisdom, it was the age of foolishness..." |
perl -nle '$c+=()=/it/gi;...
Forum: What is on Your Mind? 4 Weeks Ago
755
Posted By zxmaus
I pass on this one. My brain is not made for...
I pass on this one. My brain is not made for programming. Though I think I can handle pretty much everything else pretty well, and I am now nearing 34 years working in various fields in IT, I just...
Showing results 1 to 25 of 500

 

Featured Tech Videos

All times are GMT -4. The time now is 07:04 AM.
Unix & Linux Forums Content Copyright 1993-2020. All Rights Reserved.
Privacy Policy