Thank you birosys
I did see the mosquitto_loop option , but it is still polling.
It is probably better/faster than my polling using pipe..
Your code worked perfectly.
Regards
Search found 1476 matches
- Jan 02, 2024 20:11
- Forum: Libraries & Headers
- Topic: Mosquito MQTT header
- Replies: 5
- Views: 1968
- Jan 01, 2024 19:49
- Forum: Libraries & Headers
- Topic: Mosquito MQTT header
- Replies: 5
- Views: 1968
Re: Mosquito MQTT header
Hi All birosys, it looks like you have done a lot of work on this. Did you manage to use an interrupt to prevent the subscriber from polling for new messages ? I can't seem to find any options in Mosquitto to do this. Currently I am using Mosquitto on a Rpi-Zero as the broker and a Pico as the only ...
- Nov 17, 2023 19:14
- Forum: Community Discussion
- Topic: [offtopic]Some cheap and tiny ARM devices.
- Replies: 69
- Views: 25080
Re: [offtopic]Some cheap and tiny ARM devices.
Hi All
I have had a Pine Phone for two years now (with Mobian) and still can't rely on it as a daily phone.
Have updated and upgraded the software repeatedly, although cheap , not worth it in the end.
Regards
I have had a Pine Phone for two years now (with Mobian) and still can't rely on it as a daily phone.
Have updated and upgraded the software repeatedly, although cheap , not worth it in the end.
Regards
- Nov 06, 2023 5:34
- Forum: Linux
- Topic: Show Application in CLI
- Replies: 0
- Views: 2545
Show Application in CLI
Hi All I have installed Debian Bookworm OS Lite 64 bit on the Rpi . The idea is to run my Battery Monitor in the cli on a minimal system. It is text based output. No Desktop manager or Xserver etc. So, if I wait for the boot to finish and then type the command at the prompt, the program 'appears' to...
- Oct 22, 2023 1:35
- Forum: Linux
- Topic: Undefined reference AGAIN
- Replies: 7
- Views: 2241
Re: Undefined reference AGAIN
Hi All
OK, so I did not relate writing a sub with the term "Defining a sub"
In other words writing the subroutine should be called Defining the sub.
But if my reckoning is correct, then you are right, the sub was not defined, because the name at the Define point was corrupted.
Regards
OK, so I did not relate writing a sub with the term "Defining a sub"
In other words writing the subroutine should be called Defining the sub.
But if my reckoning is correct, then you are right, the sub was not defined, because the name at the Define point was corrupted.
Regards
- Oct 22, 2023 0:26
- Forum: Linux
- Topic: Undefined reference AGAIN
- Replies: 7
- Views: 2241
Re: Undefined reference AGAIN
Hi All Are you expecting that sub to be defined in a library? No, it is just a sub and not even a Function. All that should be required is to Declare the Sub and then call the sub, which is what I am doing. Just to prove that I made another sub and called it Test1 and declared it. Then commented out...
- Oct 21, 2023 22:56
- Forum: Linux
- Topic: Undefined reference AGAIN
- Replies: 7
- Views: 2241
Undefined reference AGAIN
Hi All Modified my Battery charger application by adding a simple Sub. It is a single .bas file 650 lines long with includes noted at the top: #include once "includes/pigpio.bi" #include once "includes/declares.bi" #include once "includes/myTypes.bi" #include once "...
- Oct 15, 2023 1:10
- Forum: General
- Topic: fbc creates "Illegal Instruction"
- Replies: 6
- Views: 1853
Re: fbc creates "Illegal Instruction"
Hi St_W Have just installed the latest 64 bit Bookworm on my Rpi Zero 2 W. Doesn't matter what I try, cannot get fbc to run using your latest build. bash: ./fbc: cannot execute: required file not found I have installed the dependencies as listed in the readme, but the :i386 libraries and the gcc-mul...
- Jun 15, 2023 4:46
- Forum: General
- Topic: fbc creates "Illegal Instruction"
- Replies: 6
- Views: 1853
Re: fbc creates "Illegal Instruction"
Hi All It's all good (BUT SLOW). The difference between the two boards is really obvious. I forgot that my app requires sudo because of the rpigpio routines and reading the A2D. So, when I tried to run the program from within Geany, the only surprise was the "illegal instruction" message. ...
- Jun 14, 2023 21:13
- Forum: General
- Topic: fbc creates "Illegal Instruction"
- Replies: 6
- Views: 1853
Re: fbc creates "Illegal Instruction"
Hi All St_W many thanks for your reply. As I have only recently ventured into the Rpi area, I did not realise how much work you must have done in the area. I sincerely compliment you on this. I chose the latest date and installed and got it working with some oddities. Running Geany as normal user an...
- Jun 14, 2023 3:52
- Forum: General
- Topic: fbc creates "Illegal Instruction"
- Replies: 6
- Views: 1853
fbc creates "Illegal Instruction"
Hi All Got confirmation that the Rpi Zero W was back in stock here in Oz, so bought one to back up my Battery Management system. Taking the uSD out of the original and plugging it into the new unit caused an "illegal instruction" message, when I try to run my app. Trying to re-compile the ...
- Apr 18, 2023 9:37
- Forum: General
- Topic: Sorting samples into the most abundant.
- Replies: 25
- Views: 3289
Re: Sorting samples into the most abundant.
Hi All I measured the actual voltages with a high quality Fluke meter and then calibrated the A2D so it read precisely what my meter read. Using the Filter routine I have a stable output within about 1mV. As you may realise it is a bit of a fluid situation, where the balancer will continuously try t...
- Apr 17, 2023 20:40
- Forum: General
- Topic: Sorting samples into the most abundant.
- Replies: 25
- Views: 3289
Re: Sorting samples into the most abundant.
Hi All
Perfect, thank you.
Duty calls this morning , but will test stability this afternoon.
Many thanks for all the support.
Regards
Perfect, thank you.
Duty calls this morning , but will test stability this afternoon.
Many thanks for all the support.
Regards
- Apr 17, 2023 20:09
- Forum: General
- Topic: Sorting samples into the most abundant.
- Replies: 25
- Views: 3289
Re: Sorting samples into the most abundant.
Hi All
@fxm
Is there a chance you could reverse the graph so that the spikes show negative from the hi samples ?
Regards
@fxm
Is there a chance you could reverse the graph so that the spikes show negative from the hi samples ?
Regards
- Apr 17, 2023 19:24
- Forum: General
- Topic: Sorting samples into the most abundant.
- Replies: 25
- Views: 3289
Re: Sorting samples into the most abundant.
Hi All Two new files. I suspected a "passive Cell balancer for causing sudden discharges into lower cells. Also changed the reading method to single shot type. That meant I had to communicate with the chip twice for every read. Looking at the chart in LibreCalc the tops of the bar chart looks m...