|
Just switch off emergency alerts on your phone.
Although I am considering being present in Tesco on Sunday when everyone else's phone goes off and then proceed to run around babbling "We're all going to die!"
Goodness knows what is going to happen on the roads when a bunch of drivers reach for their phones to switch off the loud alarm.
βThat which can be asserted without evidence, can be dismissed without evidence.β
β Christopher Hitchens
|
|
|
|
|
Got your attention though, didn't it? In that sense it proved something useful.π
|
|
|
|
|
Yeah, I've never made a mistake in system management, .
The company is losing their contract as a result since Ron (Mr. Perfect ) DeSantis has so ordained it.
I'm not saying it wasn't a really dumb error, but let he who hath not sinned cast the first stone?
|
|
|
|
|
I like the prime time ones. If we are sitting in the den at 9pm watching TV and a
gray Toyota drives through - it does not matter what the license plate is on it - I'm
calling the cops. I don't need an alert for that.
|
|
|
|
|
Hi All,
Do we have an Embedded page or shall I ask in C/C++ forum..?
Glenn.
|
|
|
|
|
|
Richard, Richard. I don't think I've seen you troll anyone before.
|
|
|
|
|
Well, pardon me for trying.
The title of the question led me to believe that Glenn is looking to embed a pictire of Bob somewhere.
|
|
|
|
|
He did wonder if should post in the C/C++ forum, hence my conclusion.
|
|
|
|
|
I guess I wasn't really looking to closely.
|
|
|
|
|
He was just being a dick.
[rim-shot]
Software Zen: delete this;
|
|
|
|
|
I think the question is about where to post a question about embedded systems...
"If builders built buildings the way programmers wrote programs, then the first woodpecker that came along would destroy civilization." β Gerald Weinberg
|
|
|
|
|
Well in all fairness I need to ask a question on C programming to make sure I am not missing something. I was in the middle of writing a document (not related) and thought might know. So in all fairness I deserved the trolling.
|
|
|
|
|
I do IoT stuff, which is related and similar, and am diving into more embedded here.
For my part, I just ask C questions in the C section, whether it's embedded or not.
What's harder is asking about the things where the hardware and firmware meet, but typically I'll just consider that a programming question, tag it as best I can, and then make sure I'm clear about what I'm doing in the description.
There are enough embedded devs here I think you'll be able to cast a net and get something that way.
To err is human. Fortune favors the monsters.
|
|
|
|
|
Not to worry I solved the original problem and as is the case meant something else broke, bodged that. Now being left over night to see what breaks next... The LCD driver is a pain yes, you can send it an integer or float but will display a decimal point? Some times yes some times no, and will it return I2C address? (so I can hook up a real time clock that use I2C) No is the answer. Shall I try to get the data sheet, oh company went bust and some genius bought a load of LCD's on Ebay... Circuit diagrams, who needs those!
Glenn (I need )
|
|
|
|
|
You're probably using a crappy graphics driver.
I have one that may work better for you depending on the type of MCU you're using, but your best bet is to actually use
sprintf(tmp,"formatspecifier",value);
and then display tmp so you have total control over the formatting of it.
To err is human. Fortune favors the monsters.
|
|
|
|
|
Quote: You're probably using a crappy graphics driver.
Graphics Driver I wish, No RTOS a while(1) or a for(;;)...
Quote: sprintf(tmp,"formatspecifier",value);
I would have to load stdio for sprintf()... no room. Think it's the I2C having a bit of noise. Will play more tomorrow.
Thanks Glenn
|
|
|
|
|
I meant the library you're using to communicate to your I2C or SPI display.
Clearly, I don't know enough about your platform.
It might be simpler to just roll your own ftoa type function
To err is human. Fortune favors the monsters.
|
|
|
|
|
Interesting...get the scope on the pins lots of noise I think the fault is with the board, I'm gonna start probing... Also know of a good I2C reference...
|
|
|
|
|
Check the values of the pullup resistors. Too low and the drivers can't sink the current. Too high and they can't deal with the capacitance of the wires (sounds like you must have wires to an off-board display). You might try twisting wires, too, thought that's more to keep radiated noise out of other circuits.
|
|
|
|
|
Yup I know, wires all over the place, but I did look into that. I think I may be on to the issue the board, I am using was 'claimed' from a pile of write offs and given to me (with out telling me!) so a day spent looking for the circuit diagram and hunting with a Toneohm leads me to think the I2C chip is not properly grounded took it off had a look, missing Gnd pad! start to do some surgry to the board and get caught with a meeting...more on Monday coming, I hope thanks though
|
|
|
|
|
|
See my reply to Greg above.
|
|
|
|
|
Nope, I know our little Green friend! I remember see stuffed Bob's somewhere... has he been licensed?
|
|
|
|
|
If it is more about the hardware part - you should go here: https://www.codeproject.com/Forums/186301/Hardware-Devices
Otherwise go with the programming language you use...
"If builders built buildings the way programmers wrote programs, then the first woodpecker that came along would destroy civilization." β Gerald Weinberg
|
|
|
|