Difference between revisions of "Category:Arduino SDK"

From ElectroDragon
Jump to navigation Jump to search
Line 1: Line 1:
== Board Files ==
 
ESP8266
 
* https://arduino.esp8266.com/stable/package_esp8266com_index.json
 
NRF52
 
* https://www.adafruit.com/package_adafruit_index.json
 
* https://raw.githubusercontent.com/sparkfun/Arduino_Boards/nrf5/IDE_Board_Manager/package_sparkfun_index.json
 
* recommanded - https://sandeepmistry.github.io/arduino-nRF5/package_nRF5_boards_index.json
 
* https://raw.githubusercontent.com/sparkfun/Arduino_Boards/nrf5/IDE_Board_Manager/package_sparkfun_index.json
 
Mysensor
 
* https://raw.githubusercontent.com/mysensors/ArduinoBoards/master/package_mysensors.org_index.json
 
Digispark
 
* http://digistump.com/package_digistump_index.json
 
  
STM32<br>
 
STM32duino - https://github.com/stm32duino
 
* https://github.com/stm32duino/BoardManagerFiles/raw/master/STM32/package_stm_index.json
 
 
== Arduino Libraries ==
 
== Arduino Libraries ==
 
BLE
 
BLE

Revision as of 00:09, 28 July 2020

Arduino Libraries

BLE

I2C Interface

Other Skills

Using other GPIOs

void setup() {
  // set as outputs
  DDRB |= (1 << DDB6) | (1 << DDB7);
}

void loop() {
  // set PB6 high
  PORTB |= (1 << PORTB6);
  delay(1000);
  // set PB6 low
  PORTB &= ~(1 << PORTB6);
  delay(1000);
  
  // both high
  PORTB |= (1 << PORTB6) | (1 << PORTB7);
  delay(1000);
  // both low
  PORTB &= ~((1 << PORTB6) | (1 << PORTB7));
  delay(1000);
}

Internall pull up resistor

  • pinMode(pushButton, INPUT_PULLUP);

Analog Pins as Digital

  • digitalWrite(A0, HIGH); // 14
  • digitalWrite(A1, HIGH); // 15
  • digitalWrite(A2, HIGH); // 16
  • digitalWrite(A3, HIGH); // 17
  • digitalWrite(A4, HIGH); // 18
  • digitalWrite(A5, HIGH); // 19


Advance Features

Pages in category "Arduino SDK"

The following 4 pages are in this category, out of 4 total.