Skip to content

Instantly share code, notes, and snippets.

View halimbimantara's full-sized avatar
📡
Working Remote

Halim Bimantara halimbimantara

📡
Working Remote
View GitHub Profile
/*
* This sketch demonstrates how to set up a simple HTTP-like server.
* The server will set a GPIO pin depending on the request
* http://server_ip/gpio/0 will set the GPIO2 low,
* http://server_ip/gpio/1 will set the GPIO2 high
* server_ip is the IP address of the ESP8266 module, will be
* printed to Serial when the module is connected.
*/
#include <ESP8266WiFi.h>
@halimbimantara
halimbimantara / mqtt_led_client.py
Last active August 12, 2021 02:44 — forked from PhirePhly/mqtt_led_client.py
[RPI MQtt] #Python #Iot #Microcontroller
#!/usr/bin/env python
import paho.mqtt.client as mqtt
import RPi.GPIO as GPIO
def on_connect(client, userdata, rc):
#print ("Connected with rc: " + str(rc))
client.subscribe("kwf/demo/led")
def on_message(client, userdata, msg):
@halimbimantara
halimbimantara / dagger2toKoin.md
Last active February 16, 2020 10:13
[Migrating from Dagger2 to Koin ]#Android #Kotlin #Koin

Migrating from Dagger2 to Koin

Installing Koin

I started adding the Koin dependency like below :

dependencies {
 // KOIN
@halimbimantara
halimbimantara / SOP TEAM.md
Last active March 5, 2020 09:06
[WLB SOP] #Android #Wlb

MVVM

Binding

  • ViewBinding

DataManager

  • Repository Manager

Utils

  • AppUtils
  • Time
@halimbimantara
halimbimantara / ESP Project.md
Last active July 23, 2020 23:50
[Electronic PROJECT REPO] #ESP32 #NodeMcu #Microphyton #Arduino #Microcontroller #Stm32
@halimbimantara
halimbimantara / YtChannelEl.md
Last active February 21, 2020 07:07
[Youtube Channel Electrical Project,DIY,Arduino,Stm32] #Arduino #Stm32 #Esp32 #Microcontroller
@halimbimantara
halimbimantara / AndroidRepoLibrary.md
Last active October 11, 2021 16:57
[Android Dictionary Library] #Android #Kotlin #Mvvm #Mvp #Koin #Dagger #Modular
@halimbimantara
halimbimantara / seller_list.md
Last active August 28, 2020 01:29
[SELLER ELECTRONIC INA] #Electronic #Shop #Seller
@halimbimantara
halimbimantara / mini_tools_project.md
Last active February 25, 2020 08:08
[mini-tools-project] #stm32 #Microcontroller #MyProject #Esp32 #Arduino

Minitols-kit stm32

N|Solid Build Status

mto is a micro mcu with simple integrated feature .

  • Kitchen toolkit
  • Daily Sports
  • Monitoring