Search
 
SCRIPT & CODE EXAMPLE
 

C

#define f_cpu

#define F_CPU 1000000                   // We start with 8x prescaler on 8Mhz clock

#define delay_ms_1Mhz(x) (_delay_ms(x))   // Delay when prescaller set to 8x
#define delay_ms_8Mhz(x) (_delay_ms(x*8)) // Delay when prescaller set to 1x so we need to burn 8x as many cycles
Comment

PREVIOUS NEXT
Code Example
C :: apt-mark remove hold 
C :: sockaddr_in c 
C :: include ‘<stdlib.h’ or provide a declaration of ‘exit’ 
C :: how to transform a char to ascii code in c 
C :: c language 
C :: subrayar elementos css 
C :: c strcmp 
C :: sleep in c 
C :: print only last 3 number float in c 
C :: C Program to Check Whether Character is Lowercase or Not using islower function 
C :: tuples in c 
C :: compile multiple c files 
C :: C special character display 
C :: windows make clean 
C :: sphinx-doc 
C :: use frama c online 
C :: localStorage.setItem multpile arra 
C :: Print mark-sheet of students 
C :: powershell some fonts like #include are dissapearing 
C :: get string from ptrace registery 
C :: C - Type Casting 
C :: arrow keys gaming keyboard 
C :: false and true in c 
C :: how to make an integer value equal to character 
C :: syntax of for loop in c stack over flow 
C :: c joystick arduino 
C :: tetris rotate shape 
C :: Wait until an animation finishes - Selenium, Java 
C :: + ********************* 
C :: scanf autotrash c 
ADD CONTENT
Topic
Content
Source link
Name
5+4 =