S
S
stsdc2015-01-08 22:49:38
Arduino
stsdc, 2015-01-08 22:49:38

What is the difference between Arduino sketch and C?

I see that the sketches have two required functions and no main() .
How to make a regular c-file from a sketch? How to include libraries?
41a0530b562e414ea6f2c7cfc853410e.png8fef1ffd916e4c19b36efe8da61d0465.png

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Armenian Radio, 2015-01-08
@gbg

Throw away the arduino ide.
Use avr-gcc and any real IDE, even Code::Blocks, even avr-studio

V
Vitaly, 2017-06-17
@lemonlimelike

It's called a preloader...
Here are some links, read:
smartlanding.biz/kak-sdelat-preloader.html
popel-studio.com/blog/article/preloader-saita-svoi...
https://itproger.com/news /27
PS : The code is already there

A
Alex Mirgorodskiy, 2017-06-17
@AlexWeb6667

Try this
In css full screen GIF
#preloader {
position: fixed;
left: 0;
top: 0;
z-index: 999999;
width: 100%
height: 100%;
overflow: visible;
background: #fafafa url('../img/1.gif') no-repeat center center;
}
and in jquery
to hide when the page is fully loaded
jQuery(document).ready(function($) {
$(window).load(function() {
setTimeout(function() {
$('#preloader').fadeOut('slow ', function() {});
}, 2000);
});
});

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question