Centrado / z-blockly-tracker

0 stars 0 forks source link

### Block - LCD Initialize #315

Open roshan1centrado opened 1 year ago

roshan1centrado commented 1 year ago

Block - LCD Initialize

image

image

C++

#include <LedControl.h>
#include <binary.h>
/*Code*/
LedControl display = LedControl(2,2,2,1); // DIN - 2, CLK - 2, CS - 2, ON -1 

/*Options
1. LedControl(4,3,5,1); // DIN - 4, CLK - 3, CS - 5, ON -1
*/
void setup()
{
display.shutdown(0,false);
display.setIntensity(0,8);
display.clearDisplay(0);
}

void loop()
{

}

Originally posted by @KumaranUI in https://github.com/kreativhut/z-blockly-tracker/discussions/118#discussioncomment-2814015

roshan1centrado commented 1 year ago

image

Code errors

kreativhut commented 1 year ago

@roshan1centrado - make the appropriate changes in the discussion

roshan1centrado commented 1 year ago

@roshan1centrado - make the appropriate changes in the discussion

Already did the chagnes and used it as a reference above

roshan1centrado commented 1 year ago

semicolons is not added for those three lines