|
#include <cstdlib>
int main()
{
return EXIT_FAILURE;
}
You're welcome.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
Did you read the requiremenz?
"In testa che avete, Signor di Ceprano?"
-- Rigoletto
|
|
|
|
|
The relevant restrictions of the CPOL are:
CPOL 1.02: a. You agree not to remove any of the original copyright, patent, trademark, and attribution notices and associated disclaimers that may appear in the Source Code or Executable Files.
b. You agree not to advertise or in any way imply that this Work is a product of Your own.
CPOL 1.02: f. You agree not to use the Work for illegal, immoral or improper purposes, or on pages containing illegal, immoral or improper material. The Work is subject to applicable export laws. You agree to comply with all such laws and regulations that may apply to the Work after Your receipt of the Work.
Representing other's work as your own is all three. Not that it would stop many people.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
"In testa che avete, Signor di Ceprano?"
-- Rigoletto
|
|
|
|
|
I thought your question about the "requiremenz" related to the comment that I added, so I explained it. Nothing else was intended.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
Nope.
It was related to the actual requirements (convert C++ code to C , not the opposite), only David apparently got it.
Actually I didn't consider the remarks in your code at first. Now it makes sense.
"In testa che avete, Signor di Ceprano?"
-- Rigoletto
|
|
|
|
|
CPallini wrote: convert C++ code to C , not the opposite
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
Indeed looks unusual, especially considering that proposed C++ programs are very, very C -like.
"In testa che avete, Signor di Ceprano?"
-- Rigoletto
|
|
|
|
|
|
It iz!
Plz, plz, plz...
"In testa che avete, Signor di Ceprano?"
-- Rigoletto
|
|
|
|
|
|
|
CPallini wrote:
Read the requirements...
C not C++
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
Maybe he meant "real" C
main(argc, argv)
int argc, char ** argv
{
}
|
|
|
|
|
That's really ugly!
"In testa che avete, Signor di Ceprano?"
-- Rigoletto
|
|
|
|
|
That's C for you!
- I would love to change the world, but they won’t give me the source code.
|
|
|
|
|
Er... yeah. I'm working on a code base where this is used a lot. The phrase "pus-oozing bedsore" is the kindest thing I've had to say about it so far.
Software Zen: delete this;
|
|
|
|
|
int main(int argc, const char** argv)
{
return 0;
}
|
|
|
|
|
Thank you, Sir!
"In testa che avete, Signor di Ceprano?"
-- Rigoletto
|
|
|
|
|
Banging on the bits
My spi reads getting no hits
my timing's not tight
something ain't right
this driver is giving me fits
seriously though, my clock signal is *half a bit* behind my MOSI signal using the ESP-IDF, but bang on using the Arduino framework, I think. At least that's what digging around the internet has strongly implied.
I'll know by the 15th when my logic analyzer gets here.
I figured out it was a timing issue because I was getting 0xFFFF back for my pixel reads, but sometimes 0x0000, and when I plotted them in a square I got a zebra pattern.
Unfortunately I may have to rewrite the entire SPI subsystem under the ESP-IDF if I want this stuff to work.
What I don't get is how more people haven't had these problems. I think part of it is nearly everyone uses the Arduino framework except for the hackers, which is unfortunate because the ESP-IDF has a number of advantages. They just need to work the kinks out of it apparently.
I've got a lot of code invested in the ESP-IDF but if I can't get this to work I will have no e-paper/e-ink support in my graphics stuff for it because none of the controllers seem to be able to handle the timing being off by half a bit.
Real programmers use butterflies
|
|
|
|
|
honey the codewitch wrote: my clock signal is *half a bit* behind my MOSI signal
Doesn't that mean you are using wrong SPI Transfer Mode[^]? Configuring a different mode doesn't need any rewrite of ESP-IDF code.
|
|
|
|
|
|
The older I get the number I feel.
|
|
|
|
|
Is your signature referring to your comment?
|
|
|
|
|