Code Monkey home page Code Monkey logo

lpodkalicki / blog Goto Github PK

View Code? Open in Web Editor NEW
314.0 37.0 112.0 91.79 MB

A set of various projects based on ESP8266, ESP32, ATtiny13, ATtiny85, ATtiny2313, ATmega8, ATmega328, ATmega32, STM32 and more.

Home Page: https://blog.podkalicki.pl

License: BSD 3-Clause "New" or "Revised" License

Makefile 0.15% C 70.62% Shell 0.01% Python 0.01% Assembly 1.64% PHP 0.07% C++ 15.24% Batchfile 0.03% CMake 0.01% Rich Text Format 0.47% Pascal 11.78%
avr esp32 esp8266 stm32 attiny13 attiny85 atmega8 arduino atmega32 programming

blog's Introduction

Welcome

Hi, thank you for visiting my repository. You can find here a lot of code snippets, examples and projects I published on my blog - https://blog.podkalicki.pl

UPDATE 2024-01-21: The website is hosted under a new domain (blog.podkalicki.pl)

Credits

If you like my code sharing, then please star this repository. Thank you! :)

Any Question? Need Help?

Please send me an mail at [email protected].

blog's People

Contributors

lpodkalicki avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

blog's Issues

rainbow_on_several_leds_ws2812

When I try to compile the code for Attiny13, I get this message:
In file included from main.c:8: c:/winavr-20100110/lib/gcc/../../avr/include/util/delay.h:85:3: warning: #warning "F_CPU not defined for <util/delay.h>" E:\Temp/ccjZWPjS.o: In function main':
D:\AVR\blog-master\avr\attiny13\035_rainbow_on_several_leds_ws2812/main.c:42: undefined reference to ws2812_setleds'
Please help me.

undefined reference

Issue in main.c file

undefined reference to 'ws2812_setleds(cRGB*, unsigned int)'

Problems compiling project. (dht11_temperature_and_humidity_using_software_uart )

When trying to compile, it gives two errors.
First:

'int8_t dht_await_state(uint8_t)' was declared 'extern' and later 'static' [-fpermissive]

Second:

undefined reference to `uart_putu(unsigned int)'

The file uart.h contains the line ** void uart_putu (uint16_t x); **, but the void itself is nowhere to be found.

What could be the problem? I compile in Arduino IDE.
Thank you.

WiFi sniffer: change channel

Hi,
While testing the example from esp-idf/examples/wifi/simple_sniffer I found that esp_wifi_set_channel(...) did not work. One of the reasons was a missing call to esp_wifi_start();
One could see the following warning and the channel would not be changed!

W (592) wifi: STA is scanning or connecting, or AP has connected with external STAs, cannot set channel

This is fixed in your code but seems there is a second problem to get the capturing all the packets working.

Working on the same ESP-IDF example I had to use ESP_ERROR_CHECK(esp_wifi_set_mode(WIFI_MODE_STA)); to capture not only the broadcast messages but also ARP, DNS, DHCP, TCP, HTTP frames.

Using other buttons went wrong!

I tried to change the buttons in the code by JUST changing the CASE numbers (because I have another NEC remote control which doesn't have the same buttons which in the code buttons), but, it didn't work!
Any ideas?

blog/avr/asm/include/ files are executable?

Hi,
I have just downloaded your collection of inc files, and after extracting they seem to be executable (755), all except one - tn13def.inc, which has mod bits 664.
I didn't even know that git manages such attributes, but that's worth fixing.
Take care!

led fader

hello, i tried your code. unfortunately it doesn't work.

what do I have to enter where exactly that it works with the arduino uno.

#include <stdint.h>

/**

  • The instance of this class can control single LED.
    • on, off, toggle (any digital pin)
    • brightness (only PWM pins; i.e. for Arduino Uno: 3, 5, 6, 9, 10, 11)
      /
      class BasicLed {
      public:
      BasicLed(uint8_t pin): pin_(pin) {
      pinMode(9, OUTPUT);
      }
      /
      Light the LED up /
      void on(void) {
      digitalWrite(pin_, HIGH);
      }
      /
      Turn the LED off /
      void off(void) {
      digitalWrite(pin_, LOW);
      }
      /
      Toogle LED on/off /
      void toggle(void) {
      digitalWrite(7, !digitalRead(7));
      }
      /
      Set LED brightness from range <0, 255> */
      void setBrightness(uint8_t value) {
      analogWrite(a0, value);
      }

Circuit diagram of some ATTiny13 projects

Hi,

Thanks so much for ATTiny13 projects, there are very usefully.

please share the circuit diagram of this projects "digital DC ampmeter with MAX7219" and "digital DC voltmeter with MAX7219".

thanks a lot of

esp32 sniffer is not very good ,please help me

Hi, When I use your code on esp32 ,it's work a moment,and will print this message
"PACKET TYPE=DATA, CHAN=07, RSSI=-75, ADDR1=4c:74:bf:07:22:32, ADDR2=c8:3a:35:1d:6a:18, ADDR3=c8:3a:35:1d:6a:Task watchdog got triggered. The following tasks did not reset the watchdog in time:

  • IDLE (CPU 0)
    Tasks currently running:
    CPU 0: wifi
    CPU 1: IDLE
    18
    PACKET TYPE=MGMT, CHAN=07, RSSI=-73, ADDR1=3c:e5:a6:f0:20:e0, ADDR2=c8:3a:35:1d:6a:18, ADDR3=c8:3a:35:1d:6a:18
    "
    but I not found any problem,please help me ,thank you very much

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.