vastclouds.blogg.se

Cryptocurrency ticker el15
Cryptocurrency ticker el15












cryptocurrency ticker el15
  1. #Cryptocurrency ticker el15 install
  2. #Cryptocurrency ticker el15 code

Lastly, place the pi inside the case, cover with the cap, and plug it in!

  • Once dried, apply a seam of glue to the attachment point on the inside of the case.
  • Position the topper how you would like it to sit in the top hole and make a seam of super glue around the top.
  • After drying, feed the four cables through the top of your pi case and attach to the correct pins (DOUBLE-CHECK YOUR WIRING).
  • Use clamps to ensure you have an even, snug fit.
  • Put a small amount of super glue on the attachment point of the front plate and the base.
  • There is a slight draft to ensure a snug fit. DO NOT OVERTIGHTEN as at screws will strip out the plastic from the integrated holes.
  • Use the 4 M3x8 screws to mount the LCD display to the pi housing.
  • The screen should only fit in the hole one way.
  • I found it easiest to unplug and mount my LCD screen prior to gluing.
  • Make sure to sand down all areas that will be contacted by glue. Depending on printer tolerances, your parts may not fit together perfectly (use sandpaper or a knife to trim them to size).
  • Now, Reboot your Pi and see if it works!Īll parts were designed to fit snug to make gluing easier.
  • Type Crtl-X, Y (for yes), and Enter to save.
  • At the bottom of all of the hashtagged text, input the sudo python (TYPE IN THE LOCATION OF YOUR CRYPTOTICKER.PY FILE).
  • Open the terminal and type the following:.
  • (Example: /home/pi/Desktop/CryptoTicker.py)
  • First, note the location of the CryptoTicker.py file.
  • Use a phillips screwdriver on the little blue box on the back of the I2C unit to adjust the contrast of your screen.
  • This is also a great time to adjust your contrast.
  • If your message comes up, Congratulations! your LCD is ready to use.
  • Press "F5" to save and run your python code.
  • Mylcd.lcd_display_string("Hello World!", 1)
  • Enter the following: import I2C_LCD_driverfrom time import *.
  • Let's write "Hello World!" to the display.
  • Using the example, line 22 would be changed to: "ADDRESS = 0x21"
  • On line 22, enter your I2C address that we found in the "Install Necessary Components" section.
  • cryptocurrency ticker el15

  • On line 19, you will want to change "I2CBUS = 0" to "I2CBUS = 1".
  • #Cryptocurrency ticker el15 code

    Copy this code from GitHub user DenisFromHR ( link) and save it in a file named "I2C_LCD_driver.py".

    cryptocurrency ticker el15

    Take note of your number, you will need it later. In the example, the I2C address is "21".This will show show you a table of devices connected to your pi ( link).

    #Cryptocurrency ticker el15 install

    Wait for the install to complete then enter:.The LCD screen should light up but nothing will be displayed. Once you have double and triple checked your connections, solder the jumper cables to you Raspberry Pi.Pi Pins->LCD Pins GPIO 8 -> SDA GPIO 9 -> SCL 5.0 VDC (either output) ->VCC Ground (any output) -> GND Attach jumper cables using the following (Raspberry Pi Zero W pin out ):.Shutdown and unplug your Pi (wait for the activity LED to stop flashing before unplugging).Choose "Yes" then exit the configuration menu.Select "I2C Enable/Disable automatic loading" ( link).Find and select "Advanced Settings" from the menu ( link).Open the Raspberry Pi terminal ( link) and type the following commands: sudo raspi-config Give that article a read if you get lost: link Enable I2C Much of the info for this section was pulled from an article posted on, including extra code to make your text do fun things.














    Cryptocurrency ticker el15