Здравствуйте Нужно срочно написать скетч для arduino nano с младшим и старшим битом для вывода данных с потенциометра на LCD дисплей, заранее большое спасибо за помощь.
uint16_t f_m = frequency / 100000L; //целая часть
uint32_t f_k = frequency % 100000L; //остаток
Выводим число f_m, потом точку, потом f_k
написать скетч для arduino nano
Поройся на сайтах Ардуино и дилеров ,там есть библиотеки под разные платы и разработки.
вывода данных с потенциометра
Смотри стандартный пример-AnalogReadSerial, только вместо Serial пропиши данные своего дисплея. 16х2 ?
{"assets_hash":"a8b26fa7f6e768b07a72c8c9aadb9422","page_data":{"users":{"45fa2ae03df9550077785987":{"_id":"45fa2ae03df9550077785987","hid":21428,"name":"appolinari","nick":"appolinari","avatar_id":null,"css":"user__m-banned"},"47e0d3f43df955007777ca60":{"_id":"47e0d3f43df955007777ca60","hid":32639,"name":"Игорь555","nick":"Игорь555","avatar_id":null,"css":""},"4d2c233c3df9550077757a39":{"_id":"4d2c233c3df9550077757a39","hid":78027,"name":"Musgravehill","nick":"Musgravehill","avatar_id":null,"css":""},"59ab24613df9550077703ade":{"_id":"59ab24613df9550077703ade","hid":299946,"name":"СНС","nick":"СНС","avatar_id":null,"css":""},"5a34e5653df9550077701795":{"_id":"5a34e5653df9550077701795","hid":314552,"name":"Artem_M","nick":"Artem_M","avatar_id":null,"css":""}},"settings":{"can_see_ip":false,"can_report_abuse":false,"can_see_hellbanned":false,"forum_can_view":true,"forum_can_reply":false,"forum_edit_max_time":30,"forum_can_close_topic":false,"forum_show_ignored":false,"forum_mod_can_delete_topics":false,"forum_mod_can_hard_delete_topics":false,"forum_mod_can_see_hard_deleted_topics":false,"forum_mod_can_edit_posts":false,"forum_mod_can_pin_topic":false,"forum_mod_can_edit_titles":false,"forum_mod_can_close_topic":false,"can_vote":false,"forum_mod_can_add_infractions":false,"forum_topic_title_min_length":10,"forum_reply_old_post_threshold":30,"votes_add_max_time":168,"forum_show_post_interval":7,"can_see_deleted_users":false},"section":{"_id":"61c9a54c3df9550077bb50ba","hid":8,"title":"Самодельная электроника, компьютерные программы","parent":"61c9a54c3df9550077bb50f3","description":"Софт для моделирования и черчения, самодельные электронные устройства.","is_category":false,"is_votable":true,"is_writable":true,"cache":{"topic_count":2667,"post_count":48274,"last_post":"6757f71af9bb00ab89de832d","last_topic":"6757f71af9bb00ab89de832c","last_topic_hid":572572,"last_topic_title":"DVB-T2 для FPV видео","last_ts":"2024-12-10T08:08:58.227Z","last_user":"5b0062d13df95500776fe377"}},"topic":{"_id":"5aa83d6d3df9550077cb7313","hid":518578,"title":"Помогите с Arduino","views_count":1555,"last_post_counter":5,"cache":{"post_count":5,"first_post":"5aa83d6d3df9550077cb76d3","first_ts":"2018-03-13T21:06:53.000Z","first_user":"5a34e5653df9550077701795","last_post":"5ab387cb3df9550077cb76e0","last_post_hid":5,"last_ts":"2018-03-22T10:39:07.000Z","last_user":"45fa2ae03df9550077785987"},"st":1,"section":"61c9a54c3df9550077bb50ba"},"subscription":null,"pagination":{"total":5,"per_page":25,"chunk_offset":0},"posts_list_before_post":["paginator","datediff"]},"locale":"en-US","user_id":"000000000000000000000000","user_hid":0,"user_name":"","user_nick":"","user_avatar":null,"is_member":false,"settings":{"can_access_acp":false,"can_use_dialogs":false,"hide_heavy_content":false},"unread_dialogs":false,"footer":{"rules":{"to":"common.rules"},"contacts":{"to":"rco-nodeca.contacts"}},"navbar":{"tracker":{"to":"users.tracker","autoselect":false,"priority":10},"forum":{"to":"forum.index"},"blogs":{"to":"blogs.index"},"clubs":{"to":"clubs.index"},"market":{"to":"market.index.buy"}},"recaptcha":{"public_key":"6LcyTs0dAAAAADW_1wxPfl0IHuXxBG7vMSSX26Z4"},"layout":"common.layout"}