Hello
I’m using navio2 connected to raspberry pi.
But I have a question so I post a question like this.
- I downloaded the image from the link below and uploaded it to the sd card to boot successfully.
And I want to automatically run and create my own program on the downloaded raspbian image.
So I wrote the name of the program I want to run automatically in /etc/profile.d.
cd /etc/profile.d -> sudo nano kk.sh -> #!/bin/bash (enter) -> /home/pi/a.py
As above, we did #!/usr/bin/env python in the first line of the program we want to run automatically.
Finally, we finished with sudo chmod 777 a.py.
But then when I reboot, there was no problem entering id and password, but then there was no place to type the command.
Is there a problem if I do this?
Please let me know what I should do if I want to run my own program automatically.
link : http://files.emlid.com/images/emlid-raspbian-20200922.img.xz
-
I am making my own raspberry pi using raspberry pi cm3+ (compute module 3+).
But I have a question here.
Does the cm3+ module function normally when the GPIO PIN, 5V, 3.3V, and GND are configured with pin map such as raspberry pi 3b+?
The above situation is based on the assumption that GPIO MODE in raspberry pi 3b+ was done the same.
For example, if raspberry pi 3b+ has GPIO 1 as ALT0 and GPIO 2 as IN, then cm3+ has the same GPIO 1 as ALT0 and GPIO 2 as IN. -
Can’t I use it if I run raspberry pi without connecting navio2 later?
Is there only a reboot?
This question assumes raspberry pi says after booting complete and entering both id and password.
I would appreciate it if you let me know if you know how.
Please check it.
Thank you.