Answer the question
In order to leave comments, you need to log in
How to connect Ethernet port to microcontroller?
Need a diagram to connect the Ethernet port to the microcontroller. MK Smart 7688. Which pins to connect to?
Answer the question
In order to leave comments, you need to log in
pins P1...P5
P1 - link act - LED to GND
P2(white-orange), P3(orange) - orange pair via transformer
P4(green-white), P5(green) - green pair via transformer
make a hat, hide it and when scrolling from the top by a certain number of pixels, show this hat
var $menu = $(".menu");
var scrollbegin = $menu.height() + 45; // появление блока при прокрутке страницы на высоту самого блока плюс 45 точек
$(window).scroll(function(){
if ( $(this).scrollTop() > scrollbegin && $menu.hasClass("default") ){
$menu.removeClass("default").addClass("fixed");
} else if($(this).scrollTop() <= scrollbegin && $menu.hasClass("fixed")) {
$menu.removeClass("fixed").addClass("default");
}
});
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question