Command:
$ fastboot help
Output:
usage: fastboot [OPTION...] COMMAND...
flashing:
#include <stdio.h> | |
#include <stdlib.h> | |
#include <inttypes.h> | |
static inline void printAddress(void** ptr_address) { | |
printf("%p\n", *ptr_address); | |
} | |
static inline void destroy(void** ptr_address) { | |
free(*ptr_address); |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <inttypes.h> | |
int main() { | |
// allocating memory for 6 integers (total = 6 * 4 = 24 bytes) | |
int* ptr = malloc(6 * sizeof(int)); | |
for (int i = 0; i < 6; i++) { /* 6 * 4 = 24 bytes = 24 * 8 = 192 bits */ |
Command:
$ fastboot help
Output:
usage: fastboot [OPTION...] COMMAND...
flashing:
// Online C compiler to run C program online | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <inttypes.h> | |
typedef struct { | |
int baud; | |
uint8_t data; | |
} uart; |
/** | |
* @brief: Shows a minimalistic example of dynamic arrays. | |
* | |
* @author pavl_g. | |
*/ | |
#include<stdio.h> | |
#include<stdlib.h> | |
#include<string.h> | |
typedef struct { |
#** | |
#* Ccoffee Build tool, manual build, alpha-v1. | |
#* Custom Includsions for GTKmm cpp wrapper | |
#* dependencies '-I"/usr/include/glibmm-2.9.1/glib" -I"/usr/include/sigc++-2.0/sigc++" -I"/usr/include/giomm-2.4" -I"/usr/include/gtkmm-4.2.0/gtk"' | |
#* | |
#* @author pavl_g. | |
#*# | |
echo "Compiling the project" | |
#1) define work directory |
<details> <summary>How do I dropdown?</summary> <br> This is how you dropdown.
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to | |
# newer versions of the distribution. | |
deb http://us.archive.ubuntu.com/ubuntu/ bionic main restricted | |
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic main restricted | |
## Major bug fix updates produced after the final release of the | |
## distribution. | |
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted | |
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted |
/* | |
| Example part of AVR Tutorial Series @ Explore Embedded | |
| To read the detailed tutorial visit: | |
| http://exploreembedded.com/wiki/5.AVR_Timer_programming | |
*/ | |
#include<avr/io.h> | |
#include <util/delay.h> | |
#define LED PD4 | |
int main() | |
{ |
#include<avr/io.h> | |
#include<avr/interrupt.h> | |
#include<util/delay.h> | |
#include "lcd.h" | |
volatile int cnt_zero,cnt_one; | |
ISR (INT0_vect) //External interrupt_zero ISR | |
{ | |
cnt_zero++; | |
} | |
ISR (INT1_vect) //External interrupt_one ISR |